From 9e946443ec50ecbea72cdb421eb8810f0c24fedf Mon Sep 17 00:00:00 2001 From: wangw <1594593906@qq.com> Date: Fri, 26 Dec 2025 16:18:17 +0800 Subject: [PATCH] =?UTF-8?q?sql=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/MkDistributionUserMapper.xml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) 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}