diff --git a/cash-service/market-service/src/main/resources/mapper/MkDistributionUserMapper.xml b/cash-service/market-service/src/main/resources/mapper/MkDistributionUserMapper.xml index 9c9a3b662..7d2d9ed66 100644 --- a/cash-service/market-service/src/main/resources/mapper/MkDistributionUserMapper.xml +++ b/cash-service/market-service/src/main/resources/mapper/MkDistributionUserMapper.xml @@ -5,16 +5,24 @@ update mk_distribution_user - set + total_income = total_income + #{pendingIncome}, total_income = total_income + #{receivedIncome}, - pending_income = pending_income + #{pendingIncome}, - received_income = received_income + #{receivedIncome}, - withdrawn_income = withdrawn_income + #{withdrawIncome} + + + pending_income = pending_income + #{pendingIncome}, + + + received_income = received_income + #{receivedIncome}, + + + withdrawn_income = withdrawn_income + #{withdrawIncome} + + where id = #{id} and shop_id = #{shopId}