pos缺失VO

This commit is contained in:
liuyingfang
2023-04-13 09:29:49 +08:00
parent 17ec8176fc
commit 6491ed9c7f
2 changed files with 35 additions and 0 deletions

View File

@@ -402,6 +402,15 @@ public class AccountServiceImpl extends ServiceImpl<AccountMapper, Account> impl
account.setChannelType(Account.CHANNEL_TYPE_D0);
save(account);
}
//TODO
// 如果不存在D1的结算信息则直接将D0的结算信息带过来
// LambdaQueryWrapper<Account> qWrapperAccountD0 = Wrappers.lambdaQuery();
// qWrapperAccountD0.eq(Account::getUserId, accountDTO.getUserId()).eq(Account::getChannelType, Account.CHANNEL_TYPE_D1);
// int countD0 = baseMapper.selectCount(qWrapperAccountD0);
// if (countD0 == 0) {
// account.setChannelType(Account.CHANNEL_TYPE_D1);
// save(account);
// }
}
@Override