zhangnaisong
2024-01-24 15a51e0af4a4864fcf30ebd927864147e278181a
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>