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