java110
2021-06-18 1af4e76f8440b1efbbce3689fdcc16f4a4f2c6c3
service-acct/src/main/java/com/java110/acct/bmo/accountWithdrawalApply/impl/GetAccountWithdrawalApplyBMOImpl.java
@@ -43,4 +43,22 @@
        return responseEntity;
    }
    @Override
    public ResponseEntity<String> listStateWithdrawalApplys(String[] states, int page, int row) {
        int count = accountWithdrawalApplyInnerServiceSMOImpl.listStateWithdrawalApplysCount( states);
        List<AccountWithdrawalApplyDto> accountWithdrawalApplyDtos = null;
        if (count > 0) {
            accountWithdrawalApplyDtos = accountWithdrawalApplyInnerServiceSMOImpl.listStateWithdrawalApplys(states, page, row);
        } else {
            accountWithdrawalApplyDtos = new ArrayList<>();
        }
        ResultVo resultVo = new ResultVo((int) Math.ceil((double) count / (double) page), count, accountWithdrawalApplyDtos);
        ResponseEntity<String> responseEntity = new ResponseEntity<String>(resultVo.toString(), HttpStatus.OK);
        return responseEntity;
    }
}