|
|
|
@ -24,7 +24,7 @@ |
|
|
|
<select id="getOperatorGroupPlanHeader" resultType="com.xujie.sys.modules.production.data.OperatorGroupPlanHeaderData"> |
|
|
|
select a.Site,a.OperatorGroupId,a.WorkDate,a.Shiftno,a.allTime,a.WagesTime,a.id,b.OperatorName ,c.shiftdesc |
|
|
|
from OperatorGroupPlanHeader a left join Operator b on a.OperatorGroupId=b.OperatorID and a.site=b.site |
|
|
|
left join ShiftInfo C on a.Shiftno=c.shiftno |
|
|
|
left join ShiftInfo C on a.Shiftno=c.shiftno and a.site=c.site |
|
|
|
<where> |
|
|
|
<if test = "site != null and site != ''"> |
|
|
|
AND a.Site LIKE #{site} |
|
|
|
|