Browse Source

1.修改单个审核报错的bug

heqinwei 7 years ago
parent
commit
50db0b8b35

+ 1 - 1
applications/money/money-server/src/main/java/com/usoftchina/saas/money/service/impl/OthreceiptsServiceImpl.java

@@ -88,7 +88,7 @@ public class OthreceiptsServiceImpl implements OthreceiptsService {
         if ( othreceipts == null || "".equals(othreceipts)){
             this.insert(othte);
         }else {
-            othreceiptsMapper.updateByPrimaryKey(othreceipts);
+            othreceiptsMapper.updateByPrimaryKeySelective(othreceipts);
         }
     }
 

+ 1 - 1
applications/money/money-server/src/main/java/com/usoftchina/saas/money/service/impl/OthspendingsServiceImpl.java

@@ -120,7 +120,7 @@ public class OthspendingsServiceImpl implements OthspendingsService {
         if ( othspendings == null || "".equals(othspendings)){
             this.insert(othsp);
         }else {
-            othspendingsMapper.updateByPrimaryKey(othspendings);
+            othspendingsMapper.updateByPrimaryKeySelective(othspendings);
         }
     }
 

+ 1 - 1
applications/money/money-server/src/main/java/com/usoftchina/saas/money/service/impl/PaybalanceServiceImpl.java

@@ -102,7 +102,7 @@ public class PaybalanceServiceImpl implements PaybalanceService {
         if ( paybalance == null || "".equals(paybalance)){
             this.insert(pay);
         }else {
-            paybalanceMapper.updateByPrimaryKey(paybalance);
+            paybalanceMapper.updateByPrimaryKeySelective(paybalance);
         }
     }