@@ -88,7 +88,7 @@ public class OthreceiptsServiceImpl implements OthreceiptsService {
if ( othreceipts == null || "".equals(othreceipts)){
this.insert(othte);
}else {
- othreceiptsMapper.updateByPrimaryKey(othreceipts);
+ othreceiptsMapper.updateByPrimaryKeySelective(othreceipts);
}
@@ -120,7 +120,7 @@ public class OthspendingsServiceImpl implements OthspendingsService {
if ( othspendings == null || "".equals(othspendings)){
this.insert(othsp);
- othspendingsMapper.updateByPrimaryKey(othspendings);
+ othspendingsMapper.updateByPrimaryKeySelective(othspendings);
@@ -102,7 +102,7 @@ public class PaybalanceServiceImpl implements PaybalanceService {
if ( paybalance == null || "".equals(paybalance)){
this.insert(pay);
- paybalanceMapper.updateByPrimaryKey(paybalance);
+ paybalanceMapper.updateByPrimaryKeySelective(paybalance);