提交 6f2f2f1b authored 作者: huyufan's avatar huyufan

冻结保证金

上级 25ba8c30
...@@ -643,10 +643,11 @@ public class OwnerAccountServiceImpl implements OwnerAccountService { ...@@ -643,10 +643,11 @@ public class OwnerAccountServiceImpl implements OwnerAccountService {
} }
} }
if (flag == 2) { if (flag == 2) {
log.info("冻结账户完毕");
break; break;
} }
} }
log.info("插入保证金冻结流水");
//插入保证金冻结流水 //插入保证金冻结流水
OwnerRunningWaterRecord marginAccount = new OwnerRunningWaterRecord(); OwnerRunningWaterRecord marginAccount = new OwnerRunningWaterRecord();
marginAccount.setOwnerName(ownerName); marginAccount.setOwnerName(ownerName);
...@@ -663,6 +664,7 @@ public class OwnerAccountServiceImpl implements OwnerAccountService { ...@@ -663,6 +664,7 @@ public class OwnerAccountServiceImpl implements OwnerAccountService {
marginAccount.setRunningWaterType(OwnerAccountEnum.RunningWaterStatus.FROZEN.getCode()); marginAccount.setRunningWaterType(OwnerAccountEnum.RunningWaterStatus.FROZEN.getCode());
marginAccount.setRunningWaterNo(idGenerateSnowFlake.nextId(IdTypeEnum.Type.FROZEN.getCode())); marginAccount.setRunningWaterNo(idGenerateSnowFlake.nextId(IdTypeEnum.Type.FROZEN.getCode()));
ownerRunningWaterRecordDao.saveEntity(marginAccount); ownerRunningWaterRecordDao.saveEntity(marginAccount);
log.info("插入预付运费冻结流水");
//插入预付运费冻结流水 //插入预付运费冻结流水
OwnerRunningWaterRecord prepaidFreight = new OwnerRunningWaterRecord(); OwnerRunningWaterRecord prepaidFreight = new OwnerRunningWaterRecord();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论