From 5ffa4ccd62c2f32b5808e0a5f6c9a65142c201ff Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Thu, 25 Nov 2021 10:20:37 +0800 Subject: [PATCH] Merge branch 'fish' of http://120.27.238.55:7000/r/exchange into fish --- src/main/resources/mapper/fish/MemberAccountGoldDao.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/fish/MemberAccountGoldDao.xml b/src/main/resources/mapper/fish/MemberAccountGoldDao.xml index bf8057b..e9ceec9 100644 --- a/src/main/resources/mapper/fish/MemberAccountGoldDao.xml +++ b/src/main/resources/mapper/fish/MemberAccountGoldDao.xml @@ -11,7 +11,7 @@ <set> <if test="availableBalance != null"> available_balance = ( - case when IFNULL(available_balance, 0) + #{available_balance}>0 then IFNULL(available_balance, 0) + #{availableBalance} else 0 end + case when IFNULL(available_balance, 0) + #{availableBalance}>0 then IFNULL(available_balance, 0) + #{availableBalance} else 0 end ), </if> <if test="totalBalance != null"> -- Gitblit v1.9.1