|
|
|
@ -369,6 +369,9 @@ |
|
|
|
<where> |
|
|
|
qsip.site in (select site from AccessSite where userID = #{query.userName}) |
|
|
|
and qsip.bu_no in (select bu_no from AccessBu where username = #{query.userName}) |
|
|
|
<if test="query.site != null and query.site != ''"> |
|
|
|
AND qsip.site = #{query.site} |
|
|
|
</if> |
|
|
|
<if test="query.buNo != null and query.buNo != ''"> |
|
|
|
AND qsip.bu_no = #{query.buNo} |
|
|
|
</if> |
|
|
|
|