From 15a51e0af4a4864fcf30ebd927864147e278181a Mon Sep 17 00:00:00 2001 From: zhangnaisong <2434969829@qq.com> Date: 星期三, 24 一月 2024 16:29:54 +0800 Subject: [PATCH] 指挥端查看通过的位置共享审批提交 --- ard-work/src/main/resources/mapper/app/ArdAppApplicationMapper.xml | 8 ++++++++ 1 files changed, 8 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 1348a19..37c1dfb 100644 --- a/ard-work/src/main/resources/mapper/app/ArdAppApplicationMapper.xml +++ b/ard-work/src/main/resources/mapper/app/ArdAppApplicationMapper.xml @@ -109,4 +109,12 @@ update ard_app_application set begin = #{begin},state = #{state} where commander_id = #{commanderId} and soilder_id = #{soilderId} and application_type = #{applicationType} </update> + + <select id="selectArdAppApplicationByCommanderIdTrue" 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 = #{usersId} and state = '1' + </select> </mapper> \ No newline at end of file -- Gitblit v1.9.3