|
|
|
@ -2017,11 +2017,11 @@ |
|
|
|
<if test="query.endDate2 != null"> |
|
|
|
AND #{query.endDate2} >= a.task_date |
|
|
|
</if> |
|
|
|
<if test = "query.workCenterDesc != null and query.workCenterDesc != ''"> |
|
|
|
AND w.WorkCenterDesc LIKE #{query.workCenterDesc} |
|
|
|
<if test = "query.workCenterNo != null and query.workCenterNo != ''"> |
|
|
|
AND a.work_center_no LIKE #{query.workCenterNo} |
|
|
|
</if> |
|
|
|
<if test = "query.shiftDesc != null and query.shiftDesc != ''"> |
|
|
|
AND c.shiftdesc LIKE #{query.shiftDesc} |
|
|
|
AND c.shiftdesc = #{query.shiftDesc} |
|
|
|
</if> |
|
|
|
</where> |
|
|
|
ORDER BY |
|
|
|
@ -4391,6 +4391,13 @@ |
|
|
|
SET roll_qty = isnull(roll_qty, 0) + #{rollQty} |
|
|
|
WHERE site = #{site} and BarcodeID = #{seqNo} |
|
|
|
</update> |
|
|
|
|
|
|
|
<select id="getShiftList" parameterType="ShiftData" resultType="ShiftData"> |
|
|
|
SELECT distinct |
|
|
|
shiftdesc |
|
|
|
FROM calendar_datetype_shift |
|
|
|
WHERE site = #{site} |
|
|
|
</select> |
|
|
|
</mapper> |
|
|
|
|
|
|
|
|
|
|
|
|