<?xml version="1.0" encoding="UTF-8"?>
<queryMap desc="质量设计长度">
	<query id="CoreDesignLength.getLength" desc="查询长度数据">
		<![CDATA[
		SELECT DESIGN_KEY,
       MSC,
       MSC_PLINE,
       ROLL_PLINE_CODE,
       ROLL_PLINE_DESC,
       FIT_BILT_SPECS,
       DIMATER,
       HEIGHT,
       HEIGHT_MAX,
       HEIGHT_MIN,
       DECODE(SHRT_STOVE, '1', '有', '无') SHRT_STOVE,
       SIGL_LEN,
       SHORT_TEST,
       LEN_MAX,
       LEN_MIN,
       CUT_HEAD_TAIL,
       BURN_OUT_RATE,
       LENGTH_COLD_BED,
       LENGTH_MAX_RING,
       DECODE(IS_OUTPUT, '1', '是', '否') IS_OUTPUT,
       BEST_BILT_SPEC,
       LOSS_PRCENT,
       AIM_LENGHT,
       CUT_NUM,
       ROLL_LENGHT,
       LENGHT_LIMIT,
       REASON,
       DECODE(COMMIT_FLAG, '1', '通过', '0', '不通过', '') COMMIT_FLAG,
       ROLL_SPEC_CODE,
       (SELECT A.SPEC_NAME
          FROM COM_BASE_SPEC A
         WHERE A.SPEC_CODE = ROLL_SPEC_CODE) ROLL_SPEC_DESC
  FROM SLM_ORD_DESIGN_LENGTH T
 WHERE T.DESIGN_KEY = ?
		]]>
	</query>


</queryMap>