<?xml version="1.0" encoding="UTF-8"?>
<queryMap desc="保存产线与规格">

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

	<query id="ProDucSaveDao.saveBlank" desc="保存锻造-适用产线">
         <![CDATA[
       INSERT INTO CRAFT_ORD_DESIGN_MSC_BILT_PL(
        DESGIN_KEY,
        MSC_PLINE,
        B_SPEC_CODE,
        PLINE_CODE,
        PLINE_NAME)
 VALUES( 
        ?,
        ?,
        ?,
        ?,
        ?)
         ]]>
	</query>

	<query id="ProDucSaveDao.saveBlits" desc="保存铸造-适用产线">
         <![CDATA[
        INSERT INTO CRAFT_ORD_DESIGN_MSC_BILT_C_PL(
        DESGIN_KEY,
        MSC_PLINE,
        C_SPEC_CODE,
        PLINE_CODE,
        PLINE_NAME)
 VALUES( 
        ?,
        ?,
        ?,
        ?,
        ?)
         ]]>
	</query>

	<query id="ProDucSaveDao.saveProLine" desc="保存 -适用产线">
         <![CDATA[
        INSERT INTO CRAFT_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="ProDucSaveDao.saveBiltCSpec" desc="保存铸造规格">
         <![CDATA[
        INSERT INTO CRAFT_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="ProDucSaveDao.saveBlankSection" desc="保存锻造规格">
         <![CDATA[
       INSERT INTO CRAFT_ORD_DESIGN_MSC_BILT
  (DESGIN_KEY, MSC_PLINE, SPEC_CODE, B_SPEC_CODE, B_SPEC_NAME)
VALUES
  (?, ?, ?, ?, ?)
         ]]>
	</query>

	<query id="ProDucSaveDao.savePipeRoll" desc="保存轧管规格">
         <![CDATA[
       INSERT INTO CRAFT_ORD_DESIGN_MSC_GZ_GG
  (DESGIN_KEY,
   MSC_PLINE,
   GRADECODE,
   GRADENAME,
   SPEC_CODE,
   SPEC_NAME,
   DIMATER,
   HEIGHT)
VALUES
  (?,
   ?,
   ?,
   ?,
   ?,
   ?,
   ?,
   ?)
         ]]>
	</query>

</queryMap>