提交 dbcd1879 authored 作者: huyufan's avatar huyufan

冻结保证金

上级 d5b0c8b1
......@@ -21,7 +21,7 @@ import java.time.LocalDateTime;
@Getter
@Setter
@Accessors(chain = true)
@TableName("Owner_running_water_record")
@TableName("owner_running_water_record")
public class OwnerRunningWaterRecord implements HasKey<Integer> {
/**
* id
......
......@@ -698,6 +698,10 @@ public class OwnerAccountServiceImpl implements OwnerAccountService {
ownerAccount.setOwnerUserName(param.getName());
ownerAccount.setOwnerUserNo(param.getUserNo());
ownerAccount.setMobile(param.getMobile());
ownerAccount.setAccountBalance(BigDecimal.ZERO);
ownerAccount.setUsableBalance(BigDecimal.ZERO);
ownerAccount.setFrozenBalance(BigDecimal.ZERO);
ownerAccountDao.saveEntity(ownerAccount);
ownerAccount.setAccountType(OwnerAccountEnum.AccountTypeStatus.MARGIN_ACCOUNT.getCode());
ownerAccountDao.saveEntity(ownerAccount);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论