|
|
|
@ -78,6 +78,8 @@
|
|
|
|
|
<result column="DUTY_TYPE" property="dutyType"/>
|
|
|
|
|
<result column="DUTY_CAUSE_TYPE" property="dutyCauseType"/>
|
|
|
|
|
<result column="ROUTER_DESCRIPTION" property="routerDescription"/>
|
|
|
|
|
<result column="PRODUCT_CATEGORY" property="productCategory"/>
|
|
|
|
|
<result column="STEP_ID" property="stepId"/>
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -722,7 +724,8 @@
|
|
|
|
|
listagg(ZANC.NC_CODE_GROUP || '/'||ZANC.NC_CODE || ',') within GROUP(ORDER BY zab.ABNORMAL_NO) NC_CODE,
|
|
|
|
|
ZABD.ROUTER_BO ROUTER_BO,ZAB.OPERATION OPERATION,I.HANDLE ITEM_BO,ZAB.REPORT_SEND_USER_GROUP REPORT_SEND_USER_GROUP,
|
|
|
|
|
ZAB.CORRECTION CORRECTION,ZAB.PROGRAM PROGRAM,WCT.DESCRIPTION WORK_CENTER_DESCRIPTION,ZAB.SHUT_DOWN SHUT_DOWN,
|
|
|
|
|
RS.DESCRIPTION RESRCE_DESCRIPTION,OT.DESCRIPTION OPERATION_DESCRIPTION,R.DESCRIPTION ROUTER_DESCRIPTION
|
|
|
|
|
RS.DESCRIPTION RESRCE_DESCRIPTION,OT.DESCRIPTION OPERATION_DESCRIPTION,R.DESCRIPTION ROUTER_DESCRIPTION,
|
|
|
|
|
ZAB.PRODUCT_CATEGORY PRODUCT_CATEGORY,ZAB.STEP_ID STEP_ID
|
|
|
|
|
FROM Z_ABNORMAL_BILL ZAB
|
|
|
|
|
LEFT JOIN Z_ABNORMAL_BILL_DISPOSE ZABD ON ZAB.HANDLE = ZABD.ABNORMAL_BILL_BO
|
|
|
|
|
LEFT JOIN ITEM I ON I.HANDLE = ZAB.ITEM_BO
|
|
|
|
@ -766,7 +769,7 @@
|
|
|
|
|
R.ROUTER ,ZABD.RESOLVE_SHOP_ORDER ,ZABD.RESOLVE_REMARK ,ZABD.RESOLVE_SEND_USER_GROUP ,
|
|
|
|
|
ZABD.ABNORMAL_REASON ,ZABD.BEFORE_MEASURE ,"MAP".VALUE,ZABD.ROUTER_BO,ZAB.OPERATION,I.HANDLE,
|
|
|
|
|
ZAB.REPORT_SEND_USER_GROUP,ZAB.CORRECTION,ZAB.PROGRAM,WCT.DESCRIPTION,ZAB.SHUT_DOWN,RS.DESCRIPTION,
|
|
|
|
|
OT.DESCRIPTION,R.DESCRIPTION
|
|
|
|
|
OT.DESCRIPTION,R.DESCRIPTION, ZAB.PRODUCT_CATEGORY ,ZAB.STEP_ID
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|