|
|
|
@ -164,10 +164,16 @@ |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="searchBMUser" resultType="PlmOperatorData"> |
|
|
|
select a.username operator_id,a.user_display operator_name,b.site,b.bu_no as buNo |
|
|
|
from sys_user a left join AccessBu b on a.username=b.username where b.bu_no = #{buNo} and b.site =#{site} |
|
|
|
|
|
|
|
|
|
|
|
select a.username operator_id, a.user_display operator_name, b.site, b.bu_no as buNo |
|
|
|
from sys_user a |
|
|
|
left join AccessBu b on a.username = b.username |
|
|
|
<if test="roleNo != null and roleNo != ''"> |
|
|
|
inner join AccessRole r on r.username = a.username and r.role_no = #{roleNo} |
|
|
|
</if> |
|
|
|
where b.bu_no = #{buNo} |
|
|
|
and b.site = #{site} |
|
|
|
|
|
|
|
order by a.username desc |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="tsdBasicInformationSearch" resultType="PlmTechnicalSpecificationSheetData"> |
|
|
|
|