|
|
@ -251,8 +251,11 @@ |
|
|
a.confirm_username, |
|
|
a.confirm_username, |
|
|
a.confirm_user_display, |
|
|
a.confirm_user_display, |
|
|
a.confirm_date, |
|
|
a.confirm_date, |
|
|
a.bu |
|
|
|
|
|
|
|
|
a.bu, |
|
|
|
|
|
a.work_center_no, |
|
|
|
|
|
w.WorkCenterDesc as workCenterDesc |
|
|
from SOIssueNotifyHeader a |
|
|
from SOIssueNotifyHeader a |
|
|
|
|
|
left join workcenter w on a.site = w.site and a.bu = a.bu_no and a.work_center_no = w.WorkCenterNo |
|
|
<where> |
|
|
<where> |
|
|
a.site in (select site from AccessSite where userID = #{query.loginUserName}) |
|
|
a.site in (select site from AccessSite where userID = #{query.loginUserName}) |
|
|
and bu in (select bu_no from AccessBu where username = #{query.loginUserName}) |
|
|
and bu in (select bu_no from AccessBu where username = #{query.loginUserName}) |
|
|
|