吊车监控下拉选修改
This commit is contained in:
parent
e821f77062
commit
d6a1f0fe56
|
|
@ -89,7 +89,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<select id="getAppDzProList" resultType="java.util.Map">
|
||||
SELECT DISTINCT tp.id,tp.pro_name AS name
|
||||
FROM tb_project tp
|
||||
LEFT JOIN t_work_team twt ON tp.team_id = twt.team_id AND twt.del_flag = 0
|
||||
LEFT JOIN t_work_team twt ON tp.id = twt.pro_id AND twt.del_flag = 0
|
||||
WHERE tp.del_flag = 0
|
||||
<if test="roleCode=='depart'">
|
||||
AND tp.depart_id = #{departId}
|
||||
|
|
@ -102,7 +102,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<select id="getAppDzTowerList" resultType="java.util.Map">
|
||||
SELECT DISTINCT tpp.id,tpp.power_name AS name
|
||||
FROM tb_project_power tpp
|
||||
LEFT JOIN tb_dev_ly tdl ON tpp.id = tdl.power_id
|
||||
LEFT JOIN tb_dev_ly tdl ON tpp.id = tdl.gt_id
|
||||
WHERE tpp.pro_id = #{id} AND tpp.del_flag = 0
|
||||
<if test="roleCode=='team'">
|
||||
AND tdl.team_id = #{teamId}
|
||||
|
|
|
|||
Loading…
Reference in New Issue