|
|
|
@ -275,7 +275,7 @@
|
|
|
|
|
<!--每日生产状态报表-->
|
|
|
|
|
<select id="findProductStateInfo" resultType="java.util.HashMap" parameterType="java.util.HashMap" >
|
|
|
|
|
SELECT CFB.VALUE ITEM_NUMBER , ZSD.SHOP_ORDER , I.ITEM , IT.DESCRIPTION ITEM_DESCRIPTION , S.QTY PLAN_QTY ,CFA.VALUE WORK_ORDER ,
|
|
|
|
|
ZSD.SFC , ZSD.WORK_CENTER , WCT.DESCRIPTION WORK_CENTER_DESCRIPTION , RU.ROUTER_TYPE , ZSD.STEP_ID , ZSD.OPERATION ,
|
|
|
|
|
ZSD.SFC , ZSD.WORK_CENTER , WCT.DESCRIPTION WORK_CENTER_DESCRIPTION , RU.ROUTER_TYPE , ZSD.STEP_ID , ZSD.OPERATION ,CF.VALUE CHECK_USR,
|
|
|
|
|
OT.DESCRIPTION OPERATION_DESCRIPTION, ZSD.RESRCE , R.DESCRIPTION RESOURCE_DESCRIPTION , ZSD.DISPATCH_STATUS OPERATION_STATUS ,
|
|
|
|
|
ZSD.PROD_HOURS ,ZSD.ACTUAL_PROD_HOURS , ZSD.PLANNED_START_DATE , ZSD.PLANNED_COMP_DATE , ZSD.ACTUAL_START_DATE , ZSD.ACTUAL_COMPLETE_DATE
|
|
|
|
|
FROM Z_SFC_DISPATCH ZSD
|
|
|
|
@ -353,6 +353,7 @@
|
|
|
|
|
<if test="actualStartToDate != null and actualStartToDate != ''" >
|
|
|
|
|
AND ZSD.ACTUAL_COMPLETE_DATE <= TO_DATE(#{actualStartToDate}|| '15:59:59', 'YYYY-MM-DD HH24:MI:SS')
|
|
|
|
|
</if>
|
|
|
|
|
ORDER BY CFA.VALUE, CFB.VALUE, ZSD.SHOP_ORDER, I.ITEM
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|