|
|
@ -86,14 +86,15 @@ |
|
|
<select id="searchOperatorWithSite" resultType="com.spring.modules.project.data.PlmOperatorData"> |
|
|
<select id="searchOperatorWithSite" resultType="com.spring.modules.project.data.PlmOperatorData"> |
|
|
select operator_id,operator_name from plm_operator u |
|
|
select operator_id,operator_name from plm_operator u |
|
|
<if test="roleNo != null and roleNo != ''"> |
|
|
<if test="roleNo != null and roleNo != ''"> |
|
|
left join AccessRole r on u.site = r.site and u.operator_id = r.username and role_no = #{roleNo} |
|
|
|
|
|
|
|
|
inner join AccessRole r on u.site = r.site and u.operator_id = r.username and role_no = #{roleNo} |
|
|
</if> |
|
|
</if> |
|
|
<where> |
|
|
<where> |
|
|
and u.site=#{site} |
|
|
and u.site=#{site} |
|
|
<if test="operatorId != null and operatorId != ''"> |
|
|
<if test="operatorId != null and operatorId != ''"> |
|
|
AND u.operator_id like #{operatorId} |
|
|
AND u.operator_id like #{operatorId} |
|
|
</if> |
|
|
</if> |
|
|
</where> |
|
|
|
|
|
|
|
|
</where> |
|
|
|
|
|
order by operator_id desc |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|
<select id="searchProjectTeam" resultType="PlmOperatorData"> |
|
|
<select id="searchProjectTeam" resultType="PlmOperatorData"> |
|
|
|