| | |
| | | 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> |