From cbca933c49053ccb6471fec7f4adae05936fe2ea Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期五, 02 六月 2023 18:46:16 +0800 Subject: [PATCH] 提交代码 --- driver/guns-admin/src/main/java/com/agentdriving/driver/modular/system/dao/mapping/AccountChangeDetailMapper.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/driver/guns-admin/src/main/java/com/agentdriving/driver/modular/system/dao/mapping/AccountChangeDetailMapper.xml b/driver/guns-admin/src/main/java/com/agentdriving/driver/modular/system/dao/mapping/AccountChangeDetailMapper.xml index 6e308a9..8ec0e62 100644 --- a/driver/guns-admin/src/main/java/com/agentdriving/driver/modular/system/dao/mapping/AccountChangeDetailMapper.xml +++ b/driver/guns-admin/src/main/java/com/agentdriving/driver/modular/system/dao/mapping/AccountChangeDetailMapper.xml @@ -43,7 +43,7 @@ UNIX_TIMESTAMP(createTime) * 1000 as createTime, (newData - oldData) as money, newData as balance - from t_account_change_detail where userType = 2 and userId = #{driverId} + from t_account_change_detail where changeType = 5 and userType = 2 and userId = #{driverId} <if test="null != time and '' != time"> and DATE_FORMAT(createTime, '%Y年%m月') = #{time} </if> @@ -57,7 +57,7 @@ from ( select (newData - oldData) as money - from t_account_change_detail where userType = 2 and userId = #{driverId} + from t_account_change_detail where changeType = 5 and userType = 2 and userId = #{driverId} <if test="null != time and '' != time"> and DATE_FORMAT(createTime, '%Y年%m月') = #{time} </if> -- Gitblit v1.7.1