diff --git a/src/main/java/au/com/royalpay/payment/manage/application/web/SimpleClientApplyController.java b/src/main/java/au/com/royalpay/payment/manage/application/web/SimpleClientApplyController.java index a64092c93..339c1fd20 100644 --- a/src/main/java/au/com/royalpay/payment/manage/application/web/SimpleClientApplyController.java +++ b/src/main/java/au/com/royalpay/payment/manage/application/web/SimpleClientApplyController.java @@ -7,6 +7,7 @@ import au.com.royalpay.payment.tools.env.SysConfigManager; import com.alibaba.fastjson.JSONObject; +import org.apache.commons.lang3.StringUtils; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; @@ -70,6 +71,9 @@ public class SimpleClientApplyController { @RequestMapping(value = "/info/update/{username}", method = RequestMethod.POST) public void registerCompanyInfo(@PathVariable String username, @RequestBody @Valid ClientPreApplyBean applyBean) { simpleClientApplyService.checkOrGenerateRegisterProcessKey(username,applyBean.getCodeKey()); + if(StringUtils.isNotEmpty(applyBean.getBsb_no().trim())){ + simpleClientApplyService.getBankInfo(applyBean.getBsb_no()); + } simpleClientApplyService.saveOrUpdateApplyInfo(applyBean.insertObject(), username); }