|
@@ -92,8 +92,8 @@ public class WithdrawRecordApiController {
|
|
|
if (user == null){
|
|
|
return ResultGenerator.genFailResult(ResultCode.USER_IS_NULL);
|
|
|
}
|
|
|
- if(StrUtil.isNotBlank(user.getBank()) ){
|
|
|
- if (StrUtil.isNotBlank(param.getBank()) || StrUtil.isNotBlank(param.getBankAccount()) ||StrUtil.isNotBlank(param.getBankAccountName()) ) {
|
|
|
+ if(StrUtil.isBlank(user.getBank()) ){
|
|
|
+ if (StrUtil.isBlank(param.getBank()) || StrUtil.isBlank(param.getBankAccount()) ||StrUtil.isBlank(param.getBankAccountName()) ) {
|
|
|
return ResultGenerator.genFailResult(ResultCode.BANK_IS_NULL);
|
|
|
}
|
|
|
userService.update(User.builder().
|