APP领用管理

This commit is contained in:
cwchen 2024-08-07 11:10:10 +08:00
parent 5eb16d96ed
commit 0d817ced28
2 changed files with 6 additions and 2 deletions

View File

@ -79,7 +79,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
twt.leader_phone AS leaderPhone,
tpp.power_name AS powerName,
tp.pro_name AS proName,
tpd.depart_name AS departName
tpd.depart_name AS departName,
tp.depart_id AS departId
FROM tb_dev_use tdu
LEFT JOIN t_work_team twt ON tdu.team_id = twt.team_id AND twt.del_flag = 0
LEFT JOIN tb_project_power tpp ON tpp.id = tdu.gt_id AND tpp.del_flag = 0
@ -107,7 +108,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
twt.leader_phone AS leaderPhone,
tpp.power_name AS powerName,
tp.pro_name AS proName,
tpd.depart_name AS departName
tpd.depart_name AS departName,
tp.depart_id AS departId
FROM tb_dev_use tdu
LEFT JOIN t_work_team twt ON tdu.team_id = twt.team_id AND twt.del_flag = 0
LEFT JOIN tb_project_power tpp ON tpp.id = tdu.gt_id AND tpp.del_flag = 0
@ -150,6 +152,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND a.departId = #{departId}
</if>
</where>
ORDER BY a.ghTime ASC,a.lyTime DESC
</select>
<!--判断设备是否已经归还-->

View File

@ -153,6 +153,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND a.departId = #{departId}
</if>
</where>
ORDER BY a.ghTime ASC,a.lyTime DESC
</select>
<!--判断设备是否已经归还-->
<select id="isHasUseDevice" resultType="java.lang.Integer">