<?xml version="1.0" encoding="UTF-8"?>
<queryMap desc="客户特殊要求">

	<query id="ICreateSpecLineDao.saveSpec" desc="保存轧管规格-适用产线">
         <![CDATA[
         INSERT INTO SLM_ORD_DESIGN_MSC_GZ_GG_PL(
        DESGIN_KEY,
        MSC_PLINE,
        SPEC_CODE,
        PLINE_CODE,
        PLINE_NAME,
        PRD_LEN,
        LOSS_RATE)
 VALUES( 
        ?,
        ?,
        ?,
        ?,
        ?,
        ?,
        ?)
         ]]>
	</query>

	<query id="ICreateSpecLineDao.saveBlank" desc="保存轧管坯料断面-适用产线">
         <![CDATA[
       INSERT INTO SLM_ORD_DESIGN_MSC_BILT_PL(
        DESGIN_KEY,
        MSC_PLINE,
        B_SPEC_CODE,
        PLINE_CODE,
        PLINE_NAME)
 VALUES( 
        ?,
        ?,
        ?,
        ?,
        ?)
         ]]>
	</query>

	<query id="ICreateSpecLineDao.saveBlits" desc="保存坯料规格（连铸/模铸）-适用产线">
         <![CDATA[
        INSERT INTO SLM_ORD_DESIGN_MSC_BILT_C_PL(
        DESGIN_KEY,
        MSC_PLINE,
        C_SPEC_CODE,
        PLINE_CODE,
        PLINE_NAME)
 VALUES( 
        ?,
        ?,
        ?,
        ?,
        ?)
         ]]>
	</query>

	<query id="ICreateSpecLineDao.saveProLine" desc="保存 质量设计-适用产线">
         <![CDATA[
        INSERT INTO SLM_ORD_DESIGN_MSC_PL_GX_PRL
  (DESGIN_KEY,
   MSC_PLINE,
   BACKLOG_SEQ,
   PROCESS_CODE,
   PLINE_CODE,
   PLINE_NAME,
   WELL_CODE,
   WELL_NAME,
   WARN_FL,
   WARN_DESC,
   VALIDFLAG,
   IDENT_FLAG)
VALUES
  (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, '1', ?)     
         ]]>
	</query>

	<query id="ICreateSpecLineDao.saveBiltCSpec" desc="保存轧管坯料规格">
         <![CDATA[
        INSERT INTO SLM_ORD_DESIGN_MSC_BILT_C
  (DESGIN_KEY, MSC_PLINE, SPEC_CODE, B_SPEC_CODE, C_SPEC_CODE, C_SPEC_NAME,SPEC_CODE_S)
VALUES
  (?, ?, ?, ?, ?, ?, ?)
         ]]>
	</query>

	<query id="ICreateSpecLineDao.saveBlankSection" desc="保存轧管坯料断面">
         <![CDATA[
       INSERT INTO SLM_ORD_DESIGN_MSC_BILT
  (DESGIN_KEY, MSC_PLINE, SPEC_CODE, B_SPEC_CODE, B_SPEC_NAME)
VALUES
  (?, ?, ?, ?, ?)
         ]]>
	</query>

	<query id="ICreateSpecLineDao.savePipeRoll" desc="保存轧管规格">
         <![CDATA[
       INSERT INTO SLM_ORD_DESIGN_MSC_GZ_GG
  (DESGIN_KEY,
   MSC_PLINE,
   GRADECODE,
   GRADENAME,
   SPEC_CODE,
   SPEC_NAME,
   DIMATER,
   HEIGHT)
VALUES
  (?,
   ?,
   ?,
   ?,
   ?,
   ?,
   ?,
   ?)
         ]]>
	</query>
	
	<query id="ICreateSpecLineDao.saveInnerStd" desc="新增內控标准">
         <![CDATA[
     INSERT INTO SLM_ORD_DESIGN_MSC_PL_PRC(
        DESGIN_KEY,
        MSC_PLINE,
        WHOLE_BACKLOG,
        WHOLE_BACKLOG_DESC,
        BACKLOG_SEQ,
        PROCESS_CODE,
        PROCESS_DESC,
        PROCESS_SEQ,
        PROCESS_CODE_C,
        PROCESS_DESC_C,
        MINUTE_PRODUCT,
        MINUTE_PRODUCT_OUT,
        MINUTE_WAITE,
        MINUTE_WAITE_OUT,
        BATCH_WAITE,
        BATCH_WAITE_OUT,
        CIC,
        PIC,
        SIC,
        DIC,
        WIC,
        GIC,
        MEMO)
 VALUES( 
        '#DESGIN_KEY#',
        '#MSC_PLINE#',
        '#WHOLE_BACKLOG#',
        '#WHOLE_BACKLOG_DESC#',
        '#BACKLOG_SEQ#',
        '#PROCESS_CODE#',
        '#PROCESS_DESC#',
        '#PROCESS_SEQ#',
        '#PROCESS_CODE_C#',
        '#PROCESS_DESC_C#',
        '#MINUTE_PRODUCT#',
        '#MINUTE_PRODUCT_OUT#',
        '#MINUTE_WAITE#',
        '#MINUTE_WAITE_OUT#',
        '#BATCH_WAITE#',
        '#BATCH_WAITE_OUT#',
        '#CIC#',
        '#PIC#',
        '#SIC#',
        '#DIC#',
        '#WIC#',
        '#GIC#',
        '#MEMO#')
         ]]>
	</query>

</queryMap>