|
@@ -176,7 +176,8 @@ public class UserServiceImpl extends AbstractService<User> implements UserServic
|
|
|
.aliases(aliases).subjectType(2).beforeDayInitBalance(BigDecimal.ZERO)
|
|
|
.userId(user.getId())
|
|
|
.beforeDayTime(today).createTime(today).freezeAmount(BigDecimal.ZERO).name(user.getName())
|
|
|
- .remark(remark).type(1) .direction("C") .updateTime(today) .build();
|
|
|
+ .remark(remark).type(1) .direction("C") .updateTime(today).totalInamount(BigDecimal.ZERO)
|
|
|
+ .totalOutAmount(BigDecimal.ZERO) .build();
|
|
|
accountService.saveUseGeneratedKeys(account);
|
|
|
|
|
|
return user.getId();
|
|
@@ -192,7 +193,9 @@ public class UserServiceImpl extends AbstractService<User> implements UserServic
|
|
|
.aliases(aliases).subjectType(2).beforeDayInitBalance(BigDecimal.ZERO)
|
|
|
.userId(user.getId()).bizType(1)
|
|
|
.beforeDayTime(today).createTime(today).freezeAmount(BigDecimal.ZERO).name(user.getName())
|
|
|
- .remark(remark).type(1) .direction("C") .updateTime(today) .build();
|
|
|
+ .remark(remark).type(1) .direction("C") .totalInamount(BigDecimal.ZERO)
|
|
|
+ .totalOutAmount(BigDecimal.ZERO).updateTime(today) .totalInamount(BigDecimal.ZERO)
|
|
|
+ .totalOutAmount(BigDecimal.ZERO).build();
|
|
|
//钱包账户
|
|
|
accountService.saveUseGeneratedKeys(account);
|
|
|
account.setId(null);
|