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/ArdAppApplicationMapper.xml | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/ard-work/src/main/resources/mapper/app/ArdAppApplicationMapper.xml b/ard-work/src/main/resources/mapper/app/ArdAppApplicationMapper.xml
index 4e3790c..1ac4832 100644
--- a/ard-work/src/main/resources/mapper/app/ArdAppApplicationMapper.xml
+++ b/ard-work/src/main/resources/mapper/app/ArdAppApplicationMapper.xml
@@ -144,4 +144,20 @@
update ard_app_application set soilder_check = 'true'
where commander_id = #{commanderId} and soilder_id = #{soilderId} and application_type = #{applicationType}
</update>
+
+ <select id="selectSYCarApplicationByPCIdAndSoilderId" parameterType="java.lang.String" resultType="java.util.Map">
+ select aaa.soilder_id as "soilderId",aaa.commander_id as "commanderId",
+ aaa.reason,aaa.begin,aaa.state,aaa.application_type as "applicationType",
+ su.user_name as "userName",su.nick_name as "nickName" from ard_app_application aaa
+ inner join sys_user su on aaa.soilder_id = su.user_id
+ where commander_id = #{commanderId} and soilder_id = #{usersId} and application_type = 'SYCar'
+ </select>
+
+ <select id="selectArdAppApplicationByCommanderIdNoCheck" parameterType="java.lang.String" resultType="java.util.Map">
+ select aaa.soilder_id as "soilderId",aaa.commander_id as "commanderId",
+ aaa.reason,aaa.begin,aaa.state,aaa.application_type as "applicationType",
+ su.user_name as "userName",su.nick_name as "nickName" from ard_app_application aaa
+ inner join sys_user su on aaa.soilder_id = su.user_id
+ where commander_id = #{commanderId}
+ </select>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.3