Compare commits

..

2 Commits

Author SHA1 Message Date
ljw 4b3d77b152 Merge branch 'master' of https://git.njzscloud.com/lzq/njzscloud 2025-10-15 09:27:44 +08:00
ljw fec1bdc479 个人不新增账户 2025-10-15 09:27:37 +08:00
1 changed files with 9 additions and 7 deletions

View File

@ -188,11 +188,11 @@ public class UserService extends ServiceImpl<UserMapper, UserEntity> implements
addUserParam.setAccount(BeanUtil.copyProperties(account, AddUserAccountParam.class));
Long userId = this.add(addUserParam);
MoneyAccountEntity entity = new MoneyAccountEntity();
if (bizObj == BizObj.GeRen) {
entity.setUserId(userId);
moneyAccountService.add(entity);
return;
}
// if (bizObj == BizObj.GeRen) {
// entity.setUserId(userId);
// moneyAccountService.add(entity);
// return;
// }
UserRegisterParam.Company company = userRegisterParam.getCompany();
Assert.notNull(company, "公司信息不能为空");
@ -201,9 +201,11 @@ public class UserService extends ServiceImpl<UserMapper, UserEntity> implements
.setUserId(userId);
Long companyId = bizCompanyService.add(addBizCompanyParam);
// 添加账户信息
if (bizObj.isTrans()) {
entity.setStationId(companyId);
moneyAccountService.add(entity);
}
}
/**
*