From 41bde40651227c35433eeb6a7910c06794dc9659 Mon Sep 17 00:00:00 2001
From: zhangnaisong <2434969829@qq.com>
Date: 星期三, 28 二月 2024 16:03:00 +0800
Subject: [PATCH] 三一车辆类型查询加入报错打印提交
---
ard-work/src/main/resources/mapper/app/ArdAppPositionMapper.xml | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/ard-work/src/main/resources/mapper/app/ArdAppPositionMapper.xml b/ard-work/src/main/resources/mapper/app/ArdAppPositionMapper.xml
index 6c7916d..0517147 100644
--- a/ard-work/src/main/resources/mapper/app/ArdAppPositionMapper.xml
+++ b/ard-work/src/main/resources/mapper/app/ArdAppPositionMapper.xml
@@ -103,4 +103,10 @@
where aap.user_id = #{userId} and aap.create_time >= #{beginTime}
and aap.create_time <= #{endTime} order by aap.create_time asc
</select>
+
+ <select id="getLastAPPPositionByUserId" parameterType="java.lang.String" resultMap="ArdAppPositionResult">
+ select * from ard_app_position aap
+ where aap.user_id = #{userId}
+ order by aap.create_time desc limit 1 offset 0
+ </select>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.3