<?xml version="1.0" encoding="UTF-8"?>
<queryMap desc="镦拔扩墩粗实绩">
<query id="FrmPierCoSurInspeReport.GetQuery" desc="墩粗实绩">
        <![CDATA[
 SELECT T.RESULT_NO,
       T.HEAT_PLAN_NO,
       T.ZY_BATCH_ID,
       T.PRO_PLAN_ID,
       M.JUDGE_STOVE_NO,
       M.FEED_HEAT_NO,
       T.GX_PLAN_NO,
       T.PLINE_CODE,
       T.PLINE_NAME,
       NVL(T.PRO_NUM, 0) PRO_NUM,
       NVL(T.PRO_WT, 0) PRO_WT,
       NVL(T.ACC_NUM, 0) ACC_NUM,
       NVL(T.ACC_WT, 0) ACC_WT,
       NVL(T.FAIL_NUM, 0) FAIL_NUM,
       NVL(T.FAIL_WT, 0) FAIL_WT,
       NVL(T.LEU_NUM, 0) LEU_NUM,
       NVL(T.D4_NUM, 0) D4_NUM,
       NVL(T.ELLIP_NUM, 0) ELLIP_NUM,
       NVL(T.UPSETTING_NUM, 0) UPSETTING_NUM,
       NVL(T.CRACK_NUM, 0) CRACK_NUM,
       NVL(T.AIR_NUM, 0) AIR_NUM,
       NVL(T.NOTCH, 0) NOTCH,
       NVL(T.OTHER, 0) OTHER,
       NVL(T.OFFLINE_NUM, 0) OFFLINE_NUM,
       NVL(T.OFFLINE_WT, 0) OFFLINE_WT,
       NVL(T.RE_NUM, 0) RE_NUM,
       NVL(T.RE_WT, 0) RE_WT,
       T.MONITORDEMAND,
       DECODE(T.IF_MONITOR_DBK, '1', '是', '0', '否') IF_MONITOR_DBK,
       T.PRODUCER,
       T.PRDCR_NO,
       TO_CHAR(T.PRODUCER_TIME, 'YYYY-MM-DD HH24:MI:SS') PRODUCER_TIME,
       TO_CHAR(T.LOAD_TIME, 'YYYY-MM-DD HH24:MI:SS') LOAD_TIME,
       T.LOAD_SHIFT,
       T.LOAD_GROUP,
       T.LOAD_USER,
       T.COL_MODE,
       TO_CHAR(T.CREATE_TIME, 'YYYY-MM-DD HH24:MI:SS') CREATE_TIME,
       TO_CHAR(T.UPDATE_TIME, 'YYYY-MM-DD HH24:MI:SS') UPDATE_TIME,
       T.UPDATE_NAME,
       DECODE(B.STATION_STATUS, '1', '生产中', '2', '生产完成') STATION_STATUS,
       T.DEF_SERIAL_ITEM
  FROM VRP_JUMPINGUP_FACE_M T INNER JOIN VRP_COM_INFO B ON T.RESULT_NO=B.RESULT_NO,PLN_ZY_DBK_M M
 WHERE T.HEAT_PLAN_NO = B.HEAT_PLAN_NO AND T.PLINE_CODE = M.PLINE_CODE
 AND T.HEAT_PLAN_NO = M.HEAT_PLAN_NO AND T.ZY_BATCH_ID = M.ZY_BATCH_ID
        ]]>
	</query>
	</queryMap>