|
|
@ -129,6 +129,7 @@ |
|
|
and s.PartNo=p.PartNo and R.Site=W.Site and R.WorkCenterNo=W.WorkCenterNo and T.Site=O.Site and T.OperatorID=O.OperatorID |
|
|
and s.PartNo=p.PartNo and R.Site=W.Site and R.WorkCenterNo=W.WorkCenterNo and T.Site=O.Site and T.OperatorID=O.OperatorID |
|
|
and T.Site=R.Site and T.OrderNo=R.OrderNo and T.ItemNo=R.ItemNo |
|
|
and T.Site=R.Site and T.OrderNo=R.OrderNo and T.ItemNo=R.ItemNo |
|
|
and T.Site in (Select Site from AccessSite where upper(UserID)=#{user}) |
|
|
and T.Site in (Select Site from AccessSite where upper(UserID)=#{user}) |
|
|
|
|
|
AND T.Reverseflag = 'N' |
|
|
<if test=" site != null and site != ''"> |
|
|
<if test=" site != null and site != ''"> |
|
|
AND T.Site = #{site} |
|
|
AND T.Site = #{site} |
|
|
</if> |
|
|
</if> |
|
|
|