提交 125a1bf7 作者: 刘明祎-运维用途

Merge branch 'develop'

流水线 #7827 已通过 于阶段
in 2 分 20 秒
...@@ -45,7 +45,11 @@ public class PayWalletServiceImpl implements PayWalletService { ...@@ -45,7 +45,11 @@ public class PayWalletServiceImpl implements PayWalletService {
public ResultBody getPayWalletInfo(Integer userAccountId) { public ResultBody getPayWalletInfo(Integer userAccountId) {
PayWalletDO wallet = payWalletDao.getPayWalletByUser(userAccountId); PayWalletDO wallet = payWalletDao.getPayWalletByUser(userAccountId);
if (wallet == null) { if (wallet == null) {
return null; PayWalletDO payWalletDO = new PayWalletDO();
payWalletDO.defaultValue();
payWalletDO.setUserAccountId(userAccountId);
payWalletDao.insertPayWalletInfo(payWalletDO);
wallet = payWalletDao.getPayWalletByUser(userAccountId);
} }
PayWalletDTO pd = wallet.buildPayWalletDTO(); PayWalletDTO pd = wallet.buildPayWalletDTO();
pd.mathTotal(); pd.mathTotal();
......
...@@ -18,4 +18,4 @@ patches: ...@@ -18,4 +18,4 @@ patches:
images: images:
- name: REGISTRY/NAMESPACE/IMAGE:TAG - name: REGISTRY/NAMESPACE/IMAGE:TAG
newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/cms newName: mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/cms
newTag: abede97e3dd959f96fe23f7b94f04fd729416abf newTag: bcbb780e01ea45e7995837afec4ad62c87babdd1
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论