From 899a2d18a38619ae2f3a60d704258da694a84bb5 Mon Sep 17 00:00:00 2001
From: liujie <liujie>
Date: 星期四, 10 八月 2023 09:34:12 +0800
Subject: [PATCH] 超省2.0
---
driver/guns-admin/src/main/java/com/supersavedriving/driver/modular/system/dao/mapping/AccountChangeDetailMapper.xml | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/driver/guns-admin/src/main/java/com/supersavedriving/driver/modular/system/dao/mapping/AccountChangeDetailMapper.xml b/driver/guns-admin/src/main/java/com/supersavedriving/driver/modular/system/dao/mapping/AccountChangeDetailMapper.xml
index 08fdf80..711b5dc 100644
--- a/driver/guns-admin/src/main/java/com/supersavedriving/driver/modular/system/dao/mapping/AccountChangeDetailMapper.xml
+++ b/driver/guns-admin/src/main/java/com/supersavedriving/driver/modular/system/dao/mapping/AccountChangeDetailMapper.xml
@@ -12,6 +12,7 @@
<result column="changeType" property="changeType"/>
<result column="oldData" property="oldData"/>
<result column="newData" property="newData"/>
+ <result column="orderId" property="orderId"/>
<result column="explain" property="explain"/>
<result column="createTime" property="createTime"/>
</resultMap>
@@ -21,7 +22,7 @@
<select id="queryDriverIntegralIncomeAndExpenses" resultType="com.supersavedriving.driver.modular.system.warpper.IntegralIncomeAndExpensesWarpper">
select * from (
select
- explain as description,
+ `explain` as description,
UNIX_TIMESTAMP(createTime) * 1000 as createTime,
(newData - oldData) as integral
from t_account_change_detail where `type` = 2 and userType = 2 and userId = #{driverId}
@@ -69,7 +70,7 @@
code,
changeType as `type`,
UNIX_TIMESTAMP(createTime) * 1000 as createTime,
- (newData - oldData) as money,
+ (newData - oldData) as amount,
newData as balance
from t_account_change_detail where userType = 2 and userId = #{driverId} and changeType in (1, 3, 4, 7, 8)
<if test="null != time and '' != time">
--
Gitblit v1.7.1