Your Name
2023-08-26 7958f1dddb8a7f4e70d232b07a7703955ecedae0
service-acct/src/main/java/com/java110/acct/api/AccountWithdrawalApplyApi.java
@@ -5,8 +5,8 @@
import com.java110.acct.bmo.accountWithdrawalApply.IGetAccountWithdrawalApplyBMO;
import com.java110.acct.bmo.accountWithdrawalApply.ISaveAccountWithdrawalApplyBMO;
import com.java110.acct.bmo.accountWithdrawalApply.IUpdateAccountWithdrawalApplyBMO;
import com.java110.dto.accountWithdrawalApply.AccountWithdrawalApplyDto;
import com.java110.po.accountWithdrawalApply.AccountWithdrawalApplyPo;
import com.java110.dto.account.AccountWithdrawalApplyDto;
import com.java110.po.account.AccountWithdrawalApplyPo;
import com.java110.utils.util.Assert;
import com.java110.utils.util.BeanConvertUtil;
import org.springframework.beans.factory.annotation.Autowired;
@@ -40,6 +40,7 @@
        Assert.hasKeyAndValue(reqJson, "acctId", "请求报文中未包含acctId");
        Assert.hasKeyAndValue(reqJson, "amount", "请求报文中未包含amount");
        Assert.hasKeyAndValue(reqJson, "bankId", "请求报文中未包含bankId");
        AccountWithdrawalApplyPo accountWithdrawalApplyPo = BeanConvertUtil.covertBean(reqJson, AccountWithdrawalApplyPo.class);
        return saveAccountWithdrawalApplyBMOImpl.save(accountWithdrawalApplyPo,userId,reqJson);
@@ -94,13 +95,17 @@
    public ResponseEntity<String> queryAccountWithdrawalApply(@RequestParam(value = "page") int page,
                                                              @RequestParam(value = "row") int row,
                                                              @RequestParam(value = "applyUserName",required = false) String applyUserName,
                                                              @RequestParam(value = "bankCode",required = false) String bankCode,
                                                              @RequestParam(value = "applyUserTel",required = false) String applyUserTel,
                                                              @RequestParam(value = "objId",required = false) String objId,
                                                              @RequestParam(value = "state",required = false) String state) {
        AccountWithdrawalApplyDto accountWithdrawalApplyDto = new AccountWithdrawalApplyDto();
        accountWithdrawalApplyDto.setPage(page);
        accountWithdrawalApplyDto.setRow(row);
        accountWithdrawalApplyDto.setApplyUserName(applyUserName);
        accountWithdrawalApplyDto.setApplyUserTel(applyUserTel);
        accountWithdrawalApplyDto.setBankCode(bankCode);
        accountWithdrawalApplyDto.setObjId( objId );
        if(null == state || "".equals( state )){
            state = "";
        }