Bladeren bron

修改了打款的列表

wxf 2 jaren geleden
bovenliggende
commit
ccee26c301

+ 1 - 1
hx-account/src/main/java/com/fjhx/account/service/account/impl/AccountPaymentServiceImpl.java

@@ -152,7 +152,7 @@ public class AccountPaymentServiceImpl extends ServiceImpl<AccountPaymentMapper,
             throw new ServiceException("账户余额不足");
         }
 
-        if (ObjectUtil.isNotEmpty(accountPaymentDto.getId())){
+        if (ObjectUtil.isEmpty(accountPaymentDto.getId())){
             this.save(accountPaymentDto);
         }else {
             this.updateById(accountPaymentDto);