|
@@ -90,6 +90,7 @@ public class KxsMerchantTradeService extends ServiceImpl<KxsMerchantTradeMapper,
|
|
|
KxsMerchant kxsMerchant = kxsMerchantMapper.selectById(merchantTrade.getMerchantId());
|
|
KxsMerchant kxsMerchant = kxsMerchantMapper.selectById(merchantTrade.getMerchantId());
|
|
|
if(kxsMerchant != null){
|
|
if(kxsMerchant != null){
|
|
|
kxsMerchant.setTotalAmt(kxsMerchant.getTotalAmt().add(merchantTrade.getTradeAmt()));
|
|
kxsMerchant.setTotalAmt(kxsMerchant.getTotalAmt().add(merchantTrade.getTradeAmt()));
|
|
|
|
|
+ kxsMerchantMapper.updateById(kxsMerchant);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|