<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.xisc.pm.infra.mapper.SubMapper">
    <!--测试查询板坯SQL-->
    <!--    <select id="getSlabInfo" resultType="net.xdclass.shopmanager.model.SlabInfoDO">-->
    <!--        SELECT DISTINCT-->
    <!--            PPCB.SLAB_CUT_GAP   &#45;&#45;切缝-->
    <!--            ,ms.*-->
    <!--        FROM XISC_MM.MM_SLAB  MS     &#45;&#45;MM_SLAB      板坯表-->
    <!--        LEFT JOIN  PM_PD_SLAB PPS ON PPS.SLAB_NO = MS.SLAB_NO   &#45;&#45;PM_PD_SLAB   组板板坯表-->
    <!--        LEFT JOIN PM_PD_CONST_BT PPCB ON PPCB.ROLL_LINE_NO = SUBSTR(MS.MSC_LINE_NO,3,2)-->
    <!--        WHERE 1=1-->
    <!--        AND MS.MSC_LINE_NO='1030' &#45;&#45;5米轧线-->
    <!--    </select>-->

    <!--实际的查询板坯SQL-->
    <select id="getSlabInfo" resultType="com.xisc.pm.api.dto.model.SlabInfoDO" parameterType="com.xisc.pm.api.dto.model.SubParams">
        SELECT DISTINCT MS.MSC_LINE_NO                                                                          --产线
        , PPCB.SLAB_CUT_GAP                                                                       --切缝
        , MS.NEXT_WHOLE_BACKLOG_CODE                                                              -- 全程工序代码
        , MS.SLAB_STATUS
        , (MS.SLAB_ACT_LEN - (SELECT SUM(NVL(P1.NEED_SLAB_LEN, 0) + PPCB.SLAB_CUT_GAP)
        FROM PM_PD_SLAB P1
        WHERE P1.SLAB_NO = MS.SLAB_NO) - PPCB.SLAB_CUT_GAP) remain_slab_len --剩余长度
        , MS.*
        FROM XISC_MM.MM_SLAB MS --MM_SLAB      板坯表
        LEFT JOIN PM_PD_SLAB PPS ON PPS.SLAB_NO = MS.SLAB_NO --PM_PD_SLAB   组板板坯表
        LEFT JOIN PM_PD_CONST_BT PPCB ON PPCB.ROLL_LINE_NO = SUBSTR(MS.MSC_LINE_NO, 3, 2)
        WHERE 1 = 1
         AND MS.MSC_LINE_NO LIKE '%30' --5米轧线
        --           AND MS.SLAB_NO = 'C50015130500'
        --           AND MS.SLAB_NO = 'C50015130100'
        <if test="slabNo != null and slabNo != ''">AND MS.SLAB_NO = #{slabNo}</if>
        AND  MS.SLAB_STATUS ='29'  --在制余材
        AND  SUBSTR(MS.SLAB_NO,1,1) NOT IN ('F','E')  --复合/叠轧坯，不能组板
        AND  NVL(MS.PONO,' ') != ' '
        AND  NVL(MS.ST_NO,' ') != ' '
        AND   NVL(MS.SLAB_ACT_THK,0.001) &gt; 0.001
        AND   NVL(MS.SLAB_ACT_WID,0.001) &gt; 0.001
        AND   NVL(MS.SLAB_ACT_LEN,0.001) &gt; 0.001
        AND   (NVL(MS.SLAB_ACT_WGT,0.001) &gt; 0.001 OR NVL(MS.SLAB_GROSS_WGT,0.001) &gt; 0.001)
        AND  SUBSTR(NVL(MS.NEXT_WHOLE_BACKLOG_CODE,'123'),2,1) !='B'  --全程工序代码第二位不能是B，不嫩是火切工序 TODO NEXT_WHOLE_BACKLOG_CODE字段值为null 用nvl处理
        AND NVL(MS.COMPLEX_DECIDE_CODE,' ') !='4'--废品 TODO COMPLEX_DECIDE_CODE字段值为null 用nvl处理
        --         AND ((SELECT SUM(NVL(P1.NEED_SLAB_WT,0)) FROM PM_PD_SLAB P1 WHERE P1.SLAB_NO = MS.SLAB_NO)= MS.SLAB_ACT_WGT
        --         OR (SELECT SUM(NVl(P1.NEED_SLAB_WT,0)) FROM PM_PD_SLAB P1 WHERE P1.SLAB_NO = MS.SLAB_NO) = 0)--重量相同   TODO 此条件加上只能查到一条数据

    </select>

    <select id="getPmPdSlabInfo" resultType="com.xisc.pm.domain.entity.PmPdSlabInfo" parameterType="com.xisc.pm.api.dto.model.SubParams">
        SELECT DISTINCT PPSI.*
        FROM XISC_MM.MM_SLAB MS --MM_SLAB      板坯表
        LEFT JOIN PM_PD_SLAB PPS ON PPS.SLAB_NO = MS.SLAB_NO --PM_PD_SLAB   组板板坯表
        LEFT JOIN PM_PD_SLAB_INFO PPSI ON PPSI.SLAB_NO = MS.SLAB_NO --PM_PD_SLAB   组板板坯表
        LEFT JOIN PM_PD_CONST_BT PPCB ON PPCB.ROLL_LINE_NO = SUBSTR(MS.MSC_LINE_NO, 3, 2)
        WHERE 1 = 1
        AND MS.MSC_LINE_NO LIKE '%30' --5米轧线
        --           AND MS.SLAB_NO = 'C50015130500'
        --           AND MS.SLAB_NO = 'C50015130100'
        <if test="slabNo != null and slabNo != ''">AND MS.SLAB_NO = #{slabNo}</if>
        AND  MS.SLAB_STATUS ='29'  --在制余材
        AND  SUBSTR(MS.SLAB_NO,1,1) NOT IN ('F','E')  --复合/叠轧坯，不能组板
        AND  NVL(MS.PONO,' ') != ' '
        AND  NVL(MS.ST_NO,' ') != ' '
        AND   NVL(MS.SLAB_ACT_THK,0.001) &gt; 0.001
        AND   NVL(MS.SLAB_ACT_WID,0.001) &gt; 0.001
        AND   NVL(MS.SLAB_ACT_LEN,0.001) &gt; 0.001
        AND   (NVL(MS.SLAB_ACT_WGT,0.001) &gt; 0.001 OR NVL(MS.SLAB_GROSS_WGT,0.001) &gt; 0.001)
        AND  SUBSTR(NVL(MS.NEXT_WHOLE_BACKLOG_CODE,'123'),2,1) !='B'  --全程工序代码第二位不能是B，不嫩是火切工序 TODO NEXT_WHOLE_BACKLOG_CODE字段值为null 用nvl处理
        AND NVL(MS.COMPLEX_DECIDE_CODE,' ') !='4'--废品 TODO COMPLEX_DECIDE_CODE字段值为null 用nvl处理
        --         AND ((SELECT SUM(NVL(P1.NEED_SLAB_WT,0)) FROM PM_PD_SLAB P1 WHERE P1.SLAB_NO = MS.SLAB_NO)= MS.SLAB_ACT_WGT
        --         OR (SELECT SUM(NVl(P1.NEED_SLAB_WT,0)) FROM PM_PD_SLAB P1 WHERE P1.SLAB_NO = MS.SLAB_NO) = 0)--重量相同  TODO 此条件加上只能查到一条数据

    </select>

    <select id="getOrderInfo" resultType="com.xisc.pm.domain.entity.PmProCont">

        SELECT distinct ppc.* FROM PM_PRO_CONT ppc
                              LEFT JOIN XISC_CT.CT_MAIN CM ON PPC.ORDER_NO = CM.ORDER_NO
                              LEFT JOIN PM_PRO_CONT_PROD_ATTR ppcpa ON ppcpa.ORDER_NO = ppc.ORDER_NO
                              LEFT JOIN PM_CONT_MSC_TECH PCMT ON PCMT.ORDER_NO = ppc.ORDER_NO
--             AND ppc.PRO_CONT_ID = pcmt.PRO_CONT_ID
--         AND cm.MSC_LINE_NO = pcmt.MSC_LINE_NO --PM_PRO_CONT没有MSC_LINE_NO
        WHERE 1=1
      AND pcmt.MSC_LINE_NO LIKE '%30' --5米轧线
--         AND ppc.ORDER_NO IN ('J2502001208')
--           AND ppc.ORDER_NO IN ('52500095215','52500096023')
          AND  PCMT.FUR_TYPE ='C'  --加热炉类型  C   没有注解，C和S 都代表什么
          AND  ppcpa.ORDER_TYPE_CODE != 'QFH'
        AND  PPC.ON_PD_FLAG != 1 --不用验证操作者
        AND  PPC.PD_HOLD_FLAG != 1 -- 不能封锁状态
        AND  pcmt.ROLL_DIRECT_CODE ='L' --轧制方向代码
        AND NVL(cm.ORDER_STATUS,0) &gt;= 40 AND NVL(cm.ORDER_STATUS,0) &lt; 67  --TODO 添加nvl处理 表中无效数字
--      AND  PPC.PD_LACK_QTY &gt; 0  --欠量大于0 TODO 存在欠量小于0的数据
    </select>

    <select id="getQdToPoOrder" resultType="com.xisc.pm.domain.entity.QdToPoOrder">

        SELECT distinct  QTPO.* FROM XISC_QD.QD_TO_PO_ORDER QTPO
                               LEFT JOIN PM_PRO_CONT ppc ON QTPO.ORDER_NO = PPC.ORDER_NO
                               LEFT JOIN XISC_CT.CT_MAIN CM ON PPC.ORDER_NO = CM.ORDER_NO
                               LEFT JOIN PM_PRO_CONT_PROD_ATTR ppcpa ON ppcpa.ORDER_NO = ppc.ORDER_NO
                               LEFT JOIN PM_CONT_MSC_TECH PCMT ON PCMT.ORDER_NO = ppc.ORDER_NO
--             AND ppc.PRO_CONT_ID = pcmt.PRO_CONT_ID
--         AND cm.MSC_LINE_NO = pcmt.MSC_LINE_NO --PM_PRO_CONT没有MSC_LINE_NO
        WHERE 1=1
          AND pcmt.MSC_LINE_NO LIKE '%30' --5米轧线
--            AND ppc.ORDER_NO IN ('52500095215','52500096023')
          AND  PCMT.FUR_TYPE ='C'  --加热炉类型  C   没有注解，C和S 都代表什么
          AND  ppcpa.ORDER_TYPE_CODE != 'QFH'
        AND  PPC.ON_PD_FLAG != 1 --不用验证操作者
        AND  PPC.PD_HOLD_FLAG != 1 -- 不能封锁状态
        AND  pcmt.ROLL_DIRECT_CODE ='L'--轧制方向代码
         AND NVL(cm.ORDER_STATUS,0) &gt;= 40 AND NVL(cm.ORDER_STATUS,0) &lt; 67  --TODO 添加nvl处理 表中无效数字
--         AND  PPC.PD_LACK_QTY &gt; 0  --欠量大于0 TODO 存在欠量小于0的数据

    </select>

    <!--生产合同产品属性表-->
    <select id="getPmProCountProdAttr" resultType="com.xisc.pm.domain.entity.PmProContProdTtr">

        SELECT distinct ppcpa.* FROM PM_PRO_CONT ppc
                                       LEFT JOIN XISC_CT.CT_MAIN CM ON PPC.ORDER_NO = CM.ORDER_NO
                                       LEFT JOIN PM_PRO_CONT_PROD_ATTR ppcpa ON ppcpa.ORDER_NO = ppc.ORDER_NO
                                       LEFT JOIN PM_CONT_MSC_TECH PCMT ON PCMT.ORDER_NO = ppc.ORDER_NO

        --             AND ppc.PRO_CONT_ID = pcmt.PRO_CONT_ID
--         AND cm.MSC_LINE_NO = pcmt.MSC_LINE_NO --PM_PRO_CONT没有MSC_LINE_NO
        WHERE 1=1
          AND nvl(ppcpa.ORDER_NO,' ') !=' '
          AND pcmt.MSC_LINE_NO LIKE '%30' --5米轧线
--            AND ppc.ORDER_NO IN ('52500095215','52500096023')
          AND  PCMT.FUR_TYPE ='C'  --加热炉类型  C   没有注解，C和S 都代表什么
          AND  ppcpa.ORDER_TYPE_CODE != 'QFH'
        AND  PPC.ON_PD_FLAG != 1 --不用验证操作者
        AND  PPC.PD_HOLD_FLAG != 1 -- 不能封锁状态
        AND  pcmt.ROLL_DIRECT_CODE ='L'--轧制方向代码
         AND NVL(cm.ORDER_STATUS,0) &gt;= 40 AND NVL(cm.ORDER_STATUS,0) &lt; 67  --TODO 添加nvl处理 表中无效数字
--         AND  PPC.PD_LACK_QTY &gt; 0  --欠量大于0 TODO 存在欠量小于0的数据

--
--         SELECT *
--         FROM PM_PRO_CONT_PROD_ATTR
-- --         WHERE ORDER_NO ='522484Q020'

    </select>

    <!--合同产线工艺参数表-->
    <select id="getPmContMscTech" resultType="com.xisc.pm.domain.entity.PmContMscTech">


        SELECT distinct PCMT.* FROM PM_PRO_CONT ppc
                                         LEFT JOIN XISC_CT.CT_MAIN CM ON PPC.ORDER_NO = CM.ORDER_NO
                                         LEFT JOIN PM_PRO_CONT_PROD_ATTR ppcpa ON ppcpa.ORDER_NO = ppc.ORDER_NO
                                         LEFT JOIN PM_CONT_MSC_TECH PCMT ON PCMT.ORDER_NO = ppc.ORDER_NO

        --             AND ppc.PRO_CONT_ID = pcmt.PRO_CONT_ID
--         AND cm.MSC_LINE_NO = pcmt.MSC_LINE_NO --PM_PRO_CONT没有MSC_LINE_NO
        WHERE 1=1
          AND nvl(pcmt.ORDER_NO,' ') !=' '
          AND pcmt.MSC_LINE_NO LIKE '%30' --5米轧线
--            AND ppc.ORDER_NO IN ('52500095215','52500096023')
          AND  PCMT.FUR_TYPE ='C'  --加热炉类型  C   没有注解，C和S 都代表什么
          AND  ppcpa.ORDER_TYPE_CODE != 'QFH'
        AND  PPC.ON_PD_FLAG != 1 --不用验证操作者
        AND  PPC.PD_HOLD_FLAG != 1 -- 不能封锁状态
        AND  pcmt.ROLL_DIRECT_CODE ='L'--轧制方向代码
         AND NVL(cm.ORDER_STATUS,0) &gt;= 40 AND NVL(cm.ORDER_STATUS,0) &lt; 67  --TODO 添加nvl处理 表中无效数字
--         AND  PPC.PD_LACK_QTY &gt; 0  --欠量大于0 TODO 存在欠量小于0的数据

--
--         SELECT *
--         FROM PM_CONT_MSC_TECH
-- --         WHERE ORDER_NO ='522484Q020'

    </select>

    <!--组板设计规则集-->
    <select id="getPmPdRuleSet" resultType="com.xisc.pm.domain.entity.PmPdRuleSet">
        SELECT *
        FROM PM_PD_RULE_SET
    </select>

    <!--组板设计规则集-->
    <select id="getPmPdRuleItem" resultType="com.xisc.pm.domain.entity.PmPdRuleItem">
        SELECT *
        FROM PM_PD_RULE_ITEM
    </select>

    <!--最小轧制厚度公差范围基准表-->
    <select id="getPmMinThickTolBt" resultType="com.xisc.pm.domain.entity.PmMinThickTolBt">

        SELECT *
        FROM PM_MIN_THICK_TOL_BT

    </select>

    <!--钢板轧制规格对应收得率基准表-->
    <select id="getPmPlateSpecYieldBt" resultType="com.xisc.pm.domain.entity.PmPlateSpecYieldBt">

        SELECT *
        FROM PM_PLATE_SPEC_YIELD_BT
    </select>

    <!--强度级别对照基准表-->
    <select id="getPmStCodeBt" resultType="com.xisc.pm.domain.entity.PmStCodeBt">
        SELECT *
        FROM PM_ST_CODE_BT
    </select>

    <!--粗切位置决定基准表-->
    <select id="getPmCutPlaceBt" resultType="com.xisc.pm.domain.entity.PmCutPlaceBt">
        SELECT *
        FROM PM_CUT_PLACE_BT
    </select>

    <!-- 组板常数基准表-->
    <select id="getPmPdConstBt" resultType="com.xisc.pm.domain.entity.PmPdConstBt">
        SELECT *
        FROM PM_PD_CONST_BT
    </select>

    <!--钢板切缝切头尾范围基准表-->
    <select id="getPmPlateCutLenBt" resultType="com.xisc.pm.domain.entity.PmPlateCutLenBt">
        SELECT *
        FROM PM_PLATE_CUT_LEN_BT
    </select>

    <!--组板临时收得率基准表-->
    <select id="getPmPdTmpYieldBt" resultType="com.xisc.pm.domain.entity.PmPdTmpYieldBt">
        SELECT *
        FROM PM_PD_TMP_YIELD_BT
    </select>

    <!--钢板切边量基准表-->
    <select id="getPmPlateTrimBt" resultType="com.xisc.pm.domain.entity.PmPlateTrimBt">
        SELECT *
        FROM PM_PLATE_TRIM_BT
    </select>

    <!--余材组板内部钢种以优充次对照表-->
    <select id="getPmSlabReplBt" resultType="com.xisc.pm.domain.entity.PmSlabReplBt">
        SELECT *
        FROM PM_SLAB_REPL_BT
    </select>

    <!--热处理炉基准规格表-->
    <select id="getPmHeatTreatFurnaceBt" resultType="com.xisc.pm.domain.entity.PmHeatTreatFurnaceBt">
        SELECT *
        FROM PM_HEAT_TREAT_FURNACE_BT
    </select>

    <!--特殊钢种余量增加表-->
    <select id="getPmSpeStAddvBt" resultType="com.xisc.pm.domain.entity.PmSpeStAddvBt">
        SELECT *
        FROM PM_SPE_ST_ADDV_BT
    </select>

    <!--合同处理成分结果数据-->
    <select id="getQdToLineupResultChe" resultType="com.xisc.pm.api.dto.model.QdToLineupResultCheDO">
        SELECT *
        FROM XISC_QD.QD_TO_LINEUP_RESULT_CHE
    </select>

    <!--合同处理坯料性能要求-->
    <select id="getQdToLineupResultSlabphy" resultType="com.xisc.pm.api.dto.model.QdToLineupResultSlabphyDO">
        SELECT *
        FROM XISC_QD.QD_TO_LINEUP_RESULT_SLABPHY
    </select>

    <!--炉次工序成分代表实绩表-->
    <select id="getQeTqHeatcheStandResult" resultType="com.xisc.pm.api.dto.model.QeTqHeatcheStandResultDO">
        SELECT *
        FROM XISC_QE.QE_TQ_HEATCHE_STAND_RESULT
    </select>

    <!--炉次待委托表-->
    <select id="getQeTqPonoWaitTest" resultType="com.xisc.pm.api.dto.model.QeTqPonoWaitTestDO">
        SELECT *
        FROM XISC_QE.QE_TQ_PONO_WAIT_TEST
    </select>

    <!--坯料低倍委托实绩表-->
    <select id="getQeTqSlabMacroResult" resultType="com.xisc.pm.api.dto.model.QeTqSlabMacroResultDO">
        SELECT *
        FROM XISC_QE.QE_TQ_SLAB_MACRO_RESULT
    </select>

    <!--连铸板坯生产规格基准表-->
    <select id="getPmSlabSpecBt" resultType="com.xisc.pm.domain.entity.PmSlabSpecBt">
        SELECT *
        FROM PM_SLAB_SPEC_BT
    </select>

    <!--不可自动组板订单信息-->
    <select id="getPmIrsubableCont" resultType="com.xisc.pm.domain.entity.PmIrsubableCont">
        SELECT *
        FROM PM_IRSUBABLE_CONT
    </select>

    <!--不可自动组板板坯信息-->
    <select id="getPmIrsubableSlab" resultType="com.xisc.pm.domain.entity.PmIrsubableSlab">
        SELECT *
        FROM Pm_Irsubable_Slab
    </select>

    <select id="getPmAutoSubSetting" resultType="com.xisc.pm.domain.entity.PmAutoSubSetting">
        SELECT *
        FROM PM_AUTO_SUB_SETTING

    </select>

    <select id="getPmRetainSt" resultType="com.xisc.pm.domain.entity.PmRetainSt">
        SELECT *
        FROM PM_RETAIN_ST

    </select>

    <select id="getPmRetainStack" resultType="com.xisc.pm.domain.entity.PmRetainStack">
        SELECT *
        FROM PM_RETAIN_STACK

    </select>

    <select id="getPmThickAddvBt" resultType="com.xisc.pm.domain.entity.PmThickAddvBt">
        SELECT *
        FROM PM_THICK_ADDV_BT

    </select>

    <select id="GetMaxSeq" resultType="java.lang.String" parameterType="java.lang.String">
        SELECT NVL(MAX(VIRTUAL_SLAB_NO), 0)
        FROM PM_PD_SLAB
        WHERE PONO=#{pono}
    </select>

    <insert id="InsertPmSubOrdDO" parameterType="com.xisc.pm.domain.entity.PmSubOrd" keyProperty="id">
        INSERT INTO PM_SUB_ORD (ID,ORDER_NO, VIRTUAL_SLAB_NO, SG_SIGN, ST_NO, ORDER_THICK, ORDER_WIDTH,
                                LEN_AIM, POS_X, POS_Y, DELIVY_DATE, AXIS_ORD, LACK_NUM, OVER_NUM,
                                CREATION_DATE, CREATED_BY, LAST_UPDATED_BY, LAST_UPDATE_DATE, TENANT_ID,
                                OBJECT_VERSION_NUMBER, ATTRIBUTE1, ATTRIBUTE2, ATTRIBUTE3, ATTRIBUTE4,
                                ATTRIBUTE5, ORDER_SEQ_NO,REL_KEY,SLAB_NO)
        VALUES (PM_SUB_ORD_S.NEXTVAL,#{orderNo}, #{virtualSlabNo}, #{sgSign}, #{stNo}, #{orderThick}, #{orderWidth},
                #{lenAim}, #{posX}, #{posY}, #{delivyDate}, #{axisOrd}, #{lackNum}, #{overNum},
                #{creationDate}, #{createdBy}, #{lastUpdatedBy}, #{lastUpdateDate}, #{tenantId},
                #{objectVersionNumber}, #{attribute1}, #{attribute2}, #{attribute3}, #{attribute4},
                #{attribute5}, #{orderSeqNo},#{relKey},#{slabNo})
    </insert>

    <insert id="InsertPmSubHisDO" parameterType="com.xisc.pm.domain.entity.PmSubHis" keyProperty="id">

        INSERT INTO PM_SUB_HIS (ID,SLAB_NO, SUB_YIELD, REL_YIELD, SUB_RESULT, SUB_INFO, PROCESS_CODE,
                                FORM_PLATE_MODE, ST_NO, SLAB_THICK, SLAB_WID, SLAB_LEN, SLAB_WT, SUB_TIME,
                                CREATION_DATE, CREATED_BY, LAST_UPDATED_BY, LAST_UPDATE_DATE, ATTRIBUTE1, ATTRIBUTE2,
                                ATTRIBUTE3, ATTRIBUTE4,
                                ATTRIBUTE5, VIRTUAL_SLAB_NO, ROLL_THK, ROLL_WID, ROLL_LEN, HEAD_CUT,
                                TAIL_CUT, WID_CUT, SLIT_LEN, NEED_SLAB_LEN, NEED_SLAB_WT,REL_KEY)
        VALUES (PM_SUB_HIS_S.NEXTVAL,#{slabNo}, #{subYield}, #{relYield}, #{subResult}, #{subInfo}, #{processCode},
                #{formPlateMode}, #{stNo}, #{slabThick}, #{slabWid}, #{slabLen}, #{slabWt}, #{subTime},
                #{creationDate}, #{createdBy}, #{lastUpdatedBy}, #{lastUpdateDate}, #{attribute1}, #{attribute2},
                #{attribute3}, #{attribute4},
                #{attribute5}, #{virtualSlabNo}, #{rollThk}, #{rollWid}, #{rollLen}, #{headCut},
                #{tailCut}, #{widCut}, #{slitLen}, #{needSlabLen}, #{needSlabWt},#{relKey})
    </insert>

    <!--    TENANT_ID,-->
    <!--    OBJECT_VERSION_NUMBER,-->
    <!--    , #{item.tenantId},-->
    <!--    #{item.objectVersionNumber}-->
    <!-- 批量插入记录 -->
    <insert id="batchInsertPmSubHisDO" parameterType="java.util.List" useGeneratedKeys="true" keyProperty="id">
        INSERT INTO PM_SUB_HIS (
        SLAB_NO, SUB_YIELD, REL_YIELD, SUB_RESULT, SUB_INFO, PROCESS_CODE,
        FORM_PLATE_MODE, ST_NO, SLAB_THICK, SLAB_WID, SLAB_LEN, SLAB_WT, SUB_TIME,
        CREATION_DATE, CREATED_BY, LAST_UPDATED_BY, LAST_UPDATE_DATE, ATTRIBUTE1, ATTRIBUTE2, ATTRIBUTE3, ATTRIBUTE4,
        ATTRIBUTE5, VIRTUAL_SLAB_NO, ROLL_THK, ROLL_WID, ROLL_LEN, HEAD_CUT,
        TAIL_CUT, WID_CUT, SLIT_LEN, NEED_SLAB_LEN, NEED_SLAB_WT,REL_KEY
        )
        VALUES
        <foreach collection="list" item="item" separator=",">
            (
            #{item.slabNo}, #{item.subYield}, #{item.relYield}, #{item.subResult}, #{item.subInfo}, #{item.processCode},
            #{item.formPlateMode}, #{item.stNo}, #{item.slabThick}, #{item.slabWid}, #{item.slabLen}, #{item.slabWt},
            #{item.subTime},
            #{item.creationDate}, #{item.createdBy}, #{item.lastUpdatedBy}, #{item.lastUpdateDate}, #{item.attribute1},
            #{item.attribute2}, #{item.attribute3}, #{item.attribute4},
            #{item.attribute5}, #{item.virtualSlabNo}, #{item.rollThk}, #{item.rollWid}, #{item.rollLen},
            #{item.headCut},
            #{item.tailCut}, #{item.widCut}, #{item.slitLen}, #{item.needSlabLen}, #{item.needSlabWt},#{item.relKey}
            )
        </foreach>
    </insert>


    <!-- 批量插入 PmSubOrdDO 对象 -->
    <insert id="batchInsert" parameterType="java.util.List" useGeneratedKeys="true" keyProperty="id">
        INSERT INTO PM_SUB_ORD (
        ORDER_NO, VIRTUAL_SLAB_NO, SG_SIGN, ST_NO, ORDER_THICK, ORDER_WIDTH,
        LEN_AIM, POS_X, POS_Y, DELIVY_DATE, AXIS_ORD, LACK_NUM, OVER_NUM,
        CREATION_DATE, CREATED_BY, LAST_UPDATED_BY, LAST_UPDATE_DATE, TENANT_ID,
        OBJECT_VERSION_NUMBER, ATTRIBUTE1, ATTRIBUTE2, ATTRIBUTE3, ATTRIBUTE4,
        ATTRIBUTE5, ORDER_SEQ_NO
        )
        VALUES
        <foreach collection="list" item="item" separator=",">
            (
            #{item.orderNo}, #{item.virtualSlabNo}, #{item.sgSign}, #{item.stNo}, #{item.orderThick},
            #{item.orderWidth},
            #{item.lenAim}, #{item.posX}, #{item.posY}, #{item.delivyDate}, #{item.axisOrd}, #{item.lackNum},
            #{item.overNum},
            #{item.creationDate}, #{item.createdBy}, #{item.lastUpdatedBy}, #{item.lastUpdateDate}, #{item.tenantId},
            #{item.objectVersionNumber}, #{item.attribute1}, #{item.attribute2}, #{item.attribute3}, #{item.attribute4},
            #{item.attribute5}, #{item.orderSeqNo}
            )
        </foreach>
    </insert>

<!--    <insert id="insertPmPdSlab" parameterType="net.xdclass.shopmanager.model.PmPdSlabDO">-->
<!--        INSERT INTO PM_PD_SLAB (-->
<!--        PM_PD_SLAB_ID,-->
<!--        <if test="virtualSlabNo != null">VIRTUAL_SLAB_NO,</if>-->
<!--        <if test="matDesignKind != null">MAT_DESIGN_KIND,</if>-->
<!--        <if test="slabNo != null">SLAB_NO,</if>-->
<!--        <if test="pono != null">PONO,</if>-->
<!--        <if test="slabDivNo != null">SLAB_DIV_NO,</if>-->
<!--        <if test="formPlateMode != null">FORM_PLATE_MODE,</if>-->
<!--        <if test="pickModeLenDir != null">PICK_MODE_LEN_DIR,</if>-->
<!--        <if test="pickModeWidDir != null">PICK_MODE_WID_DIR,</if>-->
<!--        <if test="furType != null">FUR_TYPE,</if>-->
<!--        <if test="autoManualFlag != null">AUTO_MANUAL_FLAG,</if>-->
<!--        <if test="orderRemainDiv != null">ORDER_REMAIN_DIV,</if>-->
<!--        <if test="canDelFlag != null">CAN_DEL_FLAG,</if>-->
<!--        <if test="orderNumInPlate != null">ORDER_NUM_IN_PLATE,</if>-->
<!--        <if test="totSmallPlateNum != null">TOT_SMALL_PLATE_NUM,</if>-->
<!--        <if test="adTypeCode != null">AD_TYPE_CODE,</if>-->
<!--        <if test="adModeCode != null">AD_MODE_CODE,</if>-->
<!--        <if test="ultCode != null">ULT_CODE,</if>-->
<!--        <if test="coolCode != null">COOL_CODE,</if>-->
<!--        <if test="ctrlRollCode != null">CTRL_ROLL_CODE,</if>-->
<!--        <if test="withSideFlag != null">WITH_SIDE_FLAG,</if>-->
<!--        <if test="cutModeCode != null">CUT_MODE_CODE,</if>-->
<!--        <if test="headCut != null">HEAD_CUT,</if>-->
<!--        <if test="tailCut != null">TAIL_CUT,</if>-->
<!--        <if test="urgOrderFlag != null">URG_ORDER_FLAG,</if>-->
<!--        <if test="sgSign != null">SG_SIGN,</if>-->
<!--        <if test="stNo != null">ST_NO,</if>-->
<!--        <if test="stNo1 != null">ST_NO1,</if>-->
<!--        <if test="stNo2 != null">ST_NO2,</if>-->
<!--        <if test="stNo3 != null">ST_NO3,</if>-->
<!--        <if test="stNo4 != null">ST_NO4,</if>-->
<!--        <if test="stNo5 != null">ST_NO5,</if>-->
<!--        <if test="stNo6 != null">ST_NO6,</if>-->
<!--        <if test="stNo7 != null">ST_NO7,</if>-->
<!--        <if test="stNo8 != null">ST_NO8,</if>-->
<!--        <if test="stNo9 != null">ST_NO9,</if>-->
<!--        <if test="outSgNo != null">OUT_SG_NO,</if>-->
<!--        <if test="sgDecideTime != null">SG_DECIDE_TIME,</if>-->
<!--        <if test="preCleanSlabThick != null">PRE_CLEAN_SLAB_THICK,</if>-->
<!--        <if test="preCleanSlabWidth != null">PRE_CLEAN_SLAB_WIDTH,</if>-->
<!--        <if test="preCleanSlabLen != null">PRE_CLEAN_SLAB_LEN,</if>-->
<!--        <if test="preCleanSlabMaxLen != null">PRE_CLEAN_SLAB_MAX_LEN,</if>-->
<!--        <if test="preCleanSlabMinLen != null">PRE_CLEAN_SLAB_MIN_LEN,</if>-->
<!--        <if test="preCleanSlabWt != null">PRE_CLEAN_SLAB_WT,</if>-->
<!--        <if test="preCleanSlabMaxWt != null">PRE_CLEAN_SLAB_MAX_WT,</if>-->
<!--        <if test="preCleanSlabMinWt != null">PRE_CLEAN_SLAB_MIN_WT,</if>-->
<!--        <if test="infurSlabThick != null">INFUR_SLAB_THICK,</if>-->
<!--        <if test="infurSlabWid != null">INFUR_SLAB_WID,</if>-->
<!--        <if test="infurSlabLen != null">INFUR_SLAB_LEN,</if>-->
<!--        <if test="infurSlabMaxLen != null">INFUR_SLAB_MAX_LEN,</if>-->
<!--        <if test="infurSlabMinLen != null">INFUR_SLAB_MIN_LEN,</if>-->
<!--        <if test="infurSlabWt != null">INFUR_SLAB_WT,</if>-->
<!--        <if test="infurSlabMaxWt != null">INFUR_SLAB_MAX_WT,</if>-->
<!--        <if test="infurSlabMinWt != null">INFUR_SLAB_MIN_WT,</if>-->
<!--        <if test="needSlabLen != null">NEED_SLAB_LEN,</if>-->
<!--        <if test="needSlabWt != null">NEED_SLAB_WT,</if>-->
<!--        <if test="fixSlabLenFlag != null">FIX_SLAB_LEN_FLAG,</if>-->
<!--        <if test="fixSlabLen != null">FIX_SLAB_LEN,</if>-->
<!--        <if test="slabCleanWtLossRateSt != null">SLAB_CLEAN_WT_LOSS_RATE_ST,</if>-->
<!--        <if test="slabCleanWtLossRateFr != null">SLAB_CLEAN_WT_LOSS_RATE_FR,</if>-->
<!--        <if test="hpFlameCleanDiv != null">HP_FLAME_CLEAN_DIV,</if>-->
<!--        <if test="slabFinishCode != null">SLAB_FINISH_CODE,</if>-->
<!--        <if test="slabPlaceCode != null">SLAB_PLACE_CODE,</if>-->
<!--        <if test="rollAimThick != null">ROLL_AIM_THICK,</if>-->
<!--        <if test="rollAimWidth != null">ROLL_AIM_WIDTH,</if>-->
<!--        <if test="rollAimLen != null">ROLL_AIM_LEN,</if>-->
<!--        <if test="orderThickAxis != null">ORDER_THICK_AXIS,</if>-->
<!--        <if test="combinePlateWidth != null">COMBINE_PLATE_WIDTH,</if>-->
<!--        <if test="combinePlateLen != null">COMBINE_PLATE_LEN,</if>-->
<!--        <if test="rollWtHp != null">ROLL_WT_HP,</if>-->
<!--        <if test="rollThickTolMax != null">ROLL_THICK_TOL_MAX,</if>-->
<!--        <if test="rollThickTolMin != null">ROLL_THICK_TOL_MIN,</if>-->
<!--        <if test="normYield != null">NORM_YIELD,</if>-->
<!--        <if test="commandYield != null">COMMAND_YIELD,</if>-->
<!--        <if test="rollYield != null">ROLL_YIELD,</if>-->
<!--        <if test="edgerUseFlag != null">EDGER_USE_FLAG,</if>-->
<!--        <if test="broadMasUseFlag != null">BROAD_MAS_USE_FLAG,</if>-->
<!--        <if test="formMasUseFlag != null">FORM_MAS_USE_FLAG,</if>-->
<!--        <if test="rollDirectCode != null">ROLL_DIRECT_CODE,</if>-->
<!--        <if test="sampleLenHead != null">SAMPLE_LEN_HEAD,</if>-->
<!--        <if test="sampleLenTail != null">SAMPLE_LEN_TAIL,</if>-->
<!--        <if test="sampleLenMid != null">SAMPLE_LEN_MID,</if>-->
<!--        <if test="rsCode != null">RS_CODE,</if>-->
<!--        <if test="broadFlag != null">BROAD_FLAG,</if>-->
<!--        <if test="taperRollThick1 != null">TAPER_ROLL_THICK1,</if>-->
<!--        <if test="taperRollThickMax1 != null">TAPER_ROLL_THICK_MAX1,</if>-->
<!--        <if test="taperRollThickMin1 != null">TAPER_ROLL_THICK_MIN1,</if>-->
<!--        <if test="taperRollThick2 != null">TAPER_ROLL_THICK2,</if>-->
<!--        <if test="taperRollThickMax2 != null">TAPER_ROLL_THICK_MAX2,</if>-->
<!--        <if test="taperRollThickMin2 != null">TAPER_ROLL_THICK_MIN2,</if>-->
<!--        <if test="taperRollThick3 != null">TAPER_ROLL_THICK3,</if>-->
<!--        <if test="taperRollThickMax3 != null">TAPER_ROLL_THICK_MAX3,</if>-->
<!--        <if test="taperRollThickMin3 != null">TAPER_ROLL_THICK_MIN3,</if>-->
<!--        <if test="taperRollWidth != null">TAPER_ROLL_WIDTH,</if>-->
<!--        <if test="taperRollLen1 != null">TAPER_ROLL_LEN1,</if>-->
<!--        <if test="taperRollLen2 != null">TAPER_ROLL_LEN2,</if>-->
<!--        <if test="taperRollLen3 != null">TAPER_ROLL_LEN3,</if>-->
<!--        <if test="taperRollLen4 != null">TAPER_ROLL_LEN4,</if>-->
<!--        <if test="lastSlabFlag != null">LAST_SLAB_FLAG,</if>-->
<!--        <if test="addSlabFlag != null">ADD_SLAB_FLAG,</if>-->
<!--        <if test="shpCode != null">SHP_CODE,</if>-->
<!--        <if test="ultDetectMethodCode != null">ULT_DETECT_METHOD_CODE,</if>-->
<!--        <if test="taperRollThick4 != null">TAPER_ROLL_THICK4,</if>-->
<!--        <if test="taperRollThickMax4 != null">TAPER_ROLL_THICK_MAX4,</if>-->
<!--        <if test="taperRollThickMin4 != null">TAPER_ROLL_THICK_MIN4,</if>-->
<!--        <if test="taperRollThick5 != null">TAPER_ROLL_THICK5,</if>-->
<!--        <if test="taperRollThickMax5 != null">TAPER_ROLL_THICK_MAX5,</if>-->
<!--        <if test="taperRollThickMin5 != null">TAPER_ROLL_THICK_MIN5,</if>-->
<!--        <if test="taperRollThick6 != null">TAPER_ROLL_THICK6,</if>-->
<!--        <if test="taperRollThickMax6 != null">TAPER_ROLL_THICK_MAX6,</if>-->
<!--        <if test="taperRollThickMin6 != null">TAPER_ROLL_THICK_MIN6,</if>-->
<!--        <if test="taperRollThick7 != null">TAPER_ROLL_THICK7,</if>-->
<!--        <if test="taperRollThickMax7 != null">TAPER_ROLL_THICK_MAX7,</if>-->
<!--        <if test="taperRollThickMin7 != null">TAPER_ROLL_THICK_MIN7,</if>-->
<!--        <if test="taperRollLen6 != null">TAPER_ROLL_LEN6,</if>-->
<!--        <if test="taperRollLen7 != null">TAPER_ROLL_LEN7,</if>-->
<!--        <if test="tenantId != null">TENANT_ID,</if>-->
<!--        <if test="objectVersionNumber != null">OBJECT_VERSION_NUMBER,</if>-->
<!--        <if test="createdBy != null">CREATED_BY,</if>-->
<!--        <if test="lastUpdatedBy != null">LAST_UPDATED_BY,</if>-->
<!--        <if test="lastUpdateDate != null">LAST_UPDATE_DATE,</if>-->
<!--        <if test="attribute1 != null">ATTRIBUTE1,</if>-->
<!--        <if test="attribute2 != null">ATTRIBUTE2,</if>-->
<!--        <if test="attribute3 != null">ATTRIBUTE3,</if>-->
<!--        <if test="attribute4 != null">ATTRIBUTE4,</if>-->
<!--        <if test="attribute5 != null">ATTRIBUTE5,</if>-->
<!--        <if test="pdStatusHp != null">PD_STATUS_HP,</if>-->
<!--        <if test="pdResp != null">PD_RESP,</if>-->
<!--        <if test="igMatDesignKind != null">IG_MAT_DESIGN_KIND,</if>-->
<!--        <if test="ingotType != null">INGOT_TYPE,</if>-->
<!--        <if test="twoRollInterimFlag != null">TWO_ROLL_INTERIM_FLAG,</if>-->
<!--        <if test="orderNoAxis != null">ORDER_NO_AXIS,</if>-->
<!--        <if test="mscLineNo != null">MSC_LINE_NO,</if>-->
<!--        <if test="transFlag != null">TRANS_FLAG,</if>-->
<!--        CREATION_DATE-->
<!--        ) VALUES (-->
<!--        PM_PD_SLAB_S.NEXTVAL,-->
<!--        <if test="virtualSlabNo != null">#{virtualSlabNo},</if>-->
<!--        <if test="matDesignKind != null">#{matDesignKind},</if>-->
<!--        <if test="slabNo != null">#{slabNo},</if>-->
<!--        <if test="pono != null">#{pono},</if>-->
<!--        <if test="slabDivNo != null">#{slabDivNo},</if>-->
<!--        <if test="formPlateMode != null">#{formPlateMode},</if>-->
<!--        <if test="pickModeLenDir != null">#{pickModeLenDir},</if>-->
<!--        <if test="pickModeWidDir != null">#{pickModeWidDir},</if>-->
<!--        <if test="furType != null">#{furType},</if>-->
<!--        <if test="autoManualFlag != null">#{autoManualFlag},</if>-->
<!--        <if test="orderRemainDiv != null">#{orderRemainDiv},</if>-->
<!--        <if test="canDelFlag != null">#{canDelFlag},</if>-->
<!--        <if test="orderNumInPlate != null">#{orderNumInPlate},</if>-->
<!--        <if test="totSmallPlateNum != null">#{totSmallPlateNum},</if>-->
<!--        <if test="adTypeCode != null">#{adTypeCode},</if>-->
<!--        <if test="adModeCode != null">#{adModeCode},</if>-->
<!--        <if test="ultCode != null">#{ultCode},</if>-->
<!--        <if test="coolCode != null">#{coolCode},</if>-->
<!--        <if test="ctrlRollCode != null">#{ctrlRollCode},</if>-->
<!--        <if test="withSideFlag != null">#{withSideFlag},</if>-->
<!--        <if test="cutModeCode != null">#{cutModeCode},</if>-->
<!--        <if test="headCut != null">#{headCut},</if>-->
<!--        <if test="tailCut != null">#{tailCut},</if>-->
<!--        <if test="urgOrderFlag != null">#{urgOrderFlag},</if>-->
<!--        <if test="sgSign != null">#{sgSign},</if>-->
<!--        <if test="stNo != null">#{stNo},</if>-->
<!--        <if test="stNo1 != null">#{stNo1},</if>-->
<!--        <if test="stNo2 != null">#{stNo2},</if>-->
<!--        <if test="stNo3 != null">#{stNo3},</if>-->
<!--        <if test="stNo4 != null">#{stNo4},</if>-->
<!--        <if test="stNo5 != null">#{stNo5},</if>-->
<!--        <if test="stNo6 != null">#{stNo6},</if>-->
<!--        <if test="stNo7 != null">#{stNo7},</if>-->
<!--        <if test="stNo8 != null">#{stNo8},</if>-->
<!--        <if test="stNo9 != null">#{stNo9},</if>-->
<!--        <if test="outSgNo != null">#{outSgNo},</if>-->
<!--        <if test="sgDecideTime != null">#{sgDecideTime},</if>-->
<!--        <if test="preCleanSlabThick != null">#{preCleanSlabThick},</if>-->
<!--        <if test="preCleanSlabWidth != null">#{preCleanSlabWidth},</if>-->
<!--        <if test="preCleanSlabLen != null">#{preCleanSlabLen},</if>-->
<!--        <if test="preCleanSlabMaxLen != null">#{preCleanSlabMaxLen},</if>-->
<!--        <if test="preCleanSlabMinLen != null">#{preCleanSlabMinLen},</if>-->
<!--        <if test="preCleanSlabWt != null">#{preCleanSlabWt},</if>-->
<!--        <if test="preCleanSlabMaxWt != null">#{preCleanSlabMaxWt},</if>-->
<!--        <if test="preCleanSlabMinWt != null">#{preCleanSlabMinWt},</if>-->
<!--        <if test="infurSlabThick != null">#{infurSlabThick},</if>-->
<!--        <if test="infurSlabWid != null">#{infurSlabWid},</if>-->
<!--        <if test="infurSlabLen != null">#{infurSlabLen},</if>-->
<!--        <if test="infurSlabMaxLen != null">#{infurSlabMaxLen},</if>-->
<!--        <if test="infurSlabMinLen != null">#{infurSlabMinLen},</if>-->
<!--        <if test="infurSlabWt != null">#{infurSlabWt},</if>-->
<!--        <if test="infurSlabMaxWt != null">#{infurSlabMaxWt},</if>-->
<!--        <if test="infurSlabMinWt != null">#{infurSlabMinWt},</if>-->
<!--        <if test="needSlabLen != null">#{needSlabLen},</if>-->
<!--        <if test="needSlabWt != null">#{needSlabWt},</if>-->
<!--        <if test="fixSlabLenFlag != null">#{fixSlabLenFlag},</if>-->
<!--        <if test="fixSlabLen != null">#{fixSlabLen},</if>-->
<!--        <if test="slabCleanWtLossRateSt != null">#{slabCleanWtLossRateSt},</if>-->
<!--        <if test="slabCleanWtLossRateFr != null">#{slabCleanWtLossRateFr},</if>-->
<!--        <if test="hpFlameCleanDiv != null">#{hpFlameCleanDiv},</if>-->
<!--        <if test="slabFinishCode != null">#{slabFinishCode},</if>-->
<!--        <if test="slabPlaceCode != null">#{slabPlaceCode},</if>-->
<!--        <if test="rollAimThick != null">#{rollAimThick},</if>-->
<!--        <if test="rollAimWidth != null">#{rollAimWidth},</if>-->
<!--        <if test="rollAimLen != null">#{rollAimLen},</if>-->
<!--        <if test="orderThickAxis != null">#{orderThickAxis},</if>-->
<!--        <if test="combinePlateWidth != null">#{combinePlateWidth},</if>-->
<!--        <if test="combinePlateLen != null">#{combinePlateLen},</if>-->
<!--        <if test="rollWtHp != null">#{rollWtHp},</if>-->
<!--        <if test="rollThickTolMax != null">#{rollThickTolMax},</if>-->
<!--        <if test="rollThickTolMin != null">#{rollThickTolMin},</if>-->
<!--        <if test="normYield != null">#{normYield},</if>-->
<!--        <if test="commandYield != null">#{commandYield},</if>-->
<!--        <if test="rollYield != null">#{rollYield},</if>-->
<!--        <if test="edgerUseFlag != null">#{edgerUseFlag},</if>-->
<!--        <if test="broadMasUseFlag != null">#{broadMasUseFlag},</if>-->
<!--        <if test="formMasUseFlag != null">#{formMasUseFlag},</if>-->
<!--        <if test="rollDirectCode != null">#{rollDirectCode},</if>-->
<!--        <if test="sampleLenHead != null">#{sampleLenHead},</if>-->
<!--        <if test="sampleLenTail != null">#{sampleLenTail},</if>-->
<!--        <if test="sampleLenMid != null">#{sampleLenMid},</if>-->
<!--        <if test="rsCode != null">#{rsCode},</if>-->
<!--        <if test="broadFlag != null">#{broadFlag},</if>-->
<!--        <if test="taperRollThick1 != null">#{taperRollThick1},</if>-->
<!--        <if test="taperRollThickMax1 != null">#{taperRollThickMax1},</if>-->
<!--        <if test="taperRollThickMin1 != null">#{taperRollThickMin1},</if>-->
<!--        <if test="taperRollThick2 != null">#{taperRollThick2},</if>-->
<!--        <if test="taperRollThickMax2 != null">#{taperRollThickMax2},</if>-->
<!--        <if test="taperRollThickMin2 != null">#{taperRollThickMin2},</if>-->
<!--        <if test="taperRollThick3 != null">#{taperRollThick3},</if>-->
<!--        <if test="taperRollThickMax3 != null">#{taperRollThickMax3},</if>-->
<!--        <if test="taperRollThickMin3 != null">#{taperRollThickMin3},</if>-->
<!--        <if test="taperRollWidth != null">#{taperRollWidth},</if>-->
<!--        <if test="taperRollLen1 != null">#{taperRollLen1},</if>-->
<!--        <if test="taperRollLen2 != null">#{taperRollLen2},</if>-->
<!--        <if test="taperRollLen3 != null">#{taperRollLen3},</if>-->
<!--        <if test="taperRollLen4 != null">#{taperRollLen4},</if>-->
<!--        <if test="lastSlabFlag != null">#{lastSlabFlag},</if>-->
<!--        <if test="addSlabFlag != null">#{addSlabFlag},</if>-->
<!--        <if test="shpCode != null">#{shpCode},</if>-->
<!--        <if test="ultDetectMethodCode != null">#{ultDetectMethodCode},</if>-->
<!--        <if test="taperRollThick4 != null">#{taperRollThick4},</if>-->
<!--        <if test="taperRollThickMax4 != null">#{taperRollThickMax4},</if>-->
<!--        <if test="taperRollThickMin4 != null">#{taperRollThickMin4},</if>-->
<!--        <if test="taperRollThick5 != null">#{taperRollThick5},</if>-->
<!--        <if test="taperRollThickMax5 != null">#{taperRollThickMax5},</if>-->
<!--        <if test="taperRollThickMin5 != null">#{taperRollThickMin5},</if>-->
<!--        <if test="taperRollThick6 != null">#{taperRollThick6},</if>-->
<!--        <if test="taperRollThickMax6 != null">#{taperRollThickMax6},</if>-->
<!--        <if test="taperRollThickMin6 != null">#{taperRollThickMin6},</if>-->
<!--        <if test="taperRollThick7 != null">#{taperRollThick7},</if>-->
<!--        <if test="taperRollThickMax7 != null">#{taperRollThickMax7},</if>-->
<!--        <if test="taperRollThickMin7 != null">#{taperRollThickMin7},</if>-->
<!--        <if test="taperRollLen6 != null">#{taperRollLen6},</if>-->
<!--        <if test="taperRollLen7 != null">#{taperRollLen7},</if>-->
<!--        <if test="tenantId != null">#{tenantId},</if>-->
<!--        <if test="objectVersionNumber != null">#{objectVersionNumber},</if>-->
<!--        <if test="createdBy != null">#{createdBy},</if>-->
<!--        <if test="lastUpdatedBy != null">#{lastUpdatedBy},</if>-->
<!--        <if test="lastUpdateDate != null">#{lastUpdateDate},</if>-->
<!--        <if test="attribute1 != null">#{attribute1},</if>-->
<!--        <if test="attribute2 != null">#{attribute2},</if>-->
<!--        <if test="attribute3 != null">#{attribute3},</if>-->
<!--        <if test="attribute4 != null">#{attribute4},</if>-->
<!--        <if test="attribute5 != null">#{attribute5},</if>-->
<!--        <if test="pdStatusHp != null">#{pdStatusHp},</if>-->
<!--        <if test="pdResp != null">#{pdResp},</if>-->
<!--        <if test="igMatDesignKind != null">#{igMatDesignKind},</if>-->
<!--        <if test="ingotType != null">#{ingotType},</if>-->
<!--        <if test="twoRollInterimFlag != null">#{twoRollInterimFlag},</if>-->
<!--        <if test="orderNoAxis != null">#{orderNoAxis},</if>-->
<!--        <if test="mscLineNo != null">#{mscLineNo},</if>-->
<!--        <if test="transFlag != null">#{transFlag},</if>-->
<!--        #{creationDate})-->
<!--    </insert>-->

<!--    <select id="getMaxPmPdSlabId" resultType="java.math.BigDecimal">-->
<!--        SELECT NVL(MAX(PM_PD_SLAB_ID), 0)-->
<!--        FROM PM_PD_SLAB-->
<!--    </select>-->

<!--    <insert id="batchInsertPmPdSlab" parameterType="java.util.List">-->
<!--        INSERT INTO PM_PD_SLAB (-->
<!--        PM_PD_SLAB_ID,-->
<!--        VIRTUAL_SLAB_NO,-->
<!--        MAT_DESIGN_KIND,-->
<!--        SLAB_NO,-->
<!--        PONO,-->
<!--        SLAB_DIV_NO,-->
<!--        FORM_PLATE_MODE,-->
<!--        PICK_MODE_LEN_DIR,-->
<!--        PICK_MODE_WID_DIR,-->
<!--        FUR_TYPE,-->
<!--        AUTO_MANUAL_FLAG,-->
<!--        ORDER_REMAIN_DIV,-->
<!--        CAN_DEL_FLAG,-->
<!--        ORDER_NUM_IN_PLATE,-->
<!--        TOT_SMALL_PLATE_NUM,-->
<!--        AD_TYPE_CODE,-->
<!--        AD_MODE_CODE,-->
<!--        ULT_CODE,-->
<!--        COOL_CODE,-->
<!--        CTRL_ROLL_CODE,-->
<!--        WITH_SIDE_FLAG,-->
<!--        CUT_MODE_CODE,-->
<!--        HEAD_CUT,-->
<!--        TAIL_CUT,-->
<!--        URG_ORDER_FLAG,-->
<!--        SG_SIGN,-->
<!--        ST_NO,-->
<!--        OUT_SG_NO,-->
<!--        PRE_CLEAN_SLAB_THICK,-->
<!--        PRE_CLEAN_SLAB_WIDTH,-->
<!--        PRE_CLEAN_SLAB_LEN,-->
<!--        PRE_CLEAN_SLAB_MAX_LEN,-->
<!--        PRE_CLEAN_SLAB_MIN_LEN,-->
<!--        PRE_CLEAN_SLAB_WT,-->
<!--        PRE_CLEAN_SLAB_MAX_WT,-->
<!--        PRE_CLEAN_SLAB_MIN_WT,-->
<!--        INFUR_SLAB_THICK,-->
<!--        INFUR_SLAB_WID,-->
<!--        INFUR_SLAB_LEN,-->
<!--        INFUR_SLAB_MAX_LEN,-->
<!--        INFUR_SLAB_MIN_LEN,-->
<!--        INFUR_SLAB_WT,-->
<!--        INFUR_SLAB_MAX_WT,-->
<!--        INFUR_SLAB_MIN_WT,-->
<!--        FIX_SLAB_LEN_FLAG,-->
<!--        FIX_SLAB_LEN,-->
<!--        HP_FLAME_CLEAN_DIV,-->
<!--        SLAB_FINISH_CODE,-->
<!--        SLAB_PLACE_CODE,-->
<!--        ROLL_AIM_THICK,-->
<!--        ROLL_AIM_WIDTH,-->
<!--        ROLL_AIM_LEN,-->
<!--        ORDER_THICK_AXIS,-->
<!--        COMBINE_PLATE_WIDTH,-->
<!--        COMBINE_PLATE_LEN,-->
<!--        ROLL_WT_HP,-->
<!--        ROLL_THICK_TOL_MAX,-->
<!--        ROLL_THICK_TOL_MIN,-->
<!--        NORM_YIELD,-->
<!--        COMMAND_YIELD,-->
<!--        ROLL_YIELD,-->
<!--        EDGER_USE_FLAG,-->
<!--        BROAD_MAS_USE_FLAG,-->
<!--        FORM_MAS_USE_FLAG,-->
<!--        ROLL_DIRECT_CODE,-->
<!--        SAMPLE_LEN_HEAD,-->
<!--        SAMPLE_LEN_TAIL,-->
<!--        SAMPLE_LEN_MID,-->
<!--        RS_CODE,-->
<!--        BROAD_FLAG,-->
<!--        ULT_DETECT_METHOD_CODE,-->
<!--        TENANT_ID,-->
<!--        OBJECT_VERSION_NUMBER,-->
<!--        CREATION_DATE,-->
<!--        CREATED_BY,-->
<!--        LAST_UPDATED_BY,-->
<!--        LAST_UPDATE_DATE,-->
<!--        ATTRIBUTE1,-->
<!--        ATTRIBUTE2,-->
<!--        ATTRIBUTE3,-->
<!--        ATTRIBUTE4,-->
<!--        ATTRIBUTE5,-->
<!--        PD_STATUS_HP,-->
<!--        PD_RESP,-->
<!--        ORDER_NO_AXIS,-->
<!--        MSC_LINE_NO,-->
<!--        TRANS_FLAG-->
<!--        ) VALUES-->
<!--        <foreach collection="list" item="item" separator=",">-->
<!--            (-->
<!--            #{item.pmPdSlabId},-->
<!--            #{item.virtualSlabNo},-->
<!--            #{item.matDesignKind},-->
<!--            #{item.slabNo},-->
<!--            #{item.pono},-->
<!--            #{item.slabDivNo},-->
<!--            #{item.formPlateMode},-->
<!--            #{item.pickModeLenDir},-->
<!--            #{item.pickModeWidDir},-->
<!--            #{item.furType},-->
<!--            #{item.autoManualFlag},-->
<!--            #{item.orderRemainDiv},-->
<!--            #{item.canDelFlag},-->
<!--            #{item.orderNumInPlate},-->
<!--            #{item.totSmallPlateNum},-->
<!--            #{item.adTypeCode},-->
<!--            #{item.adModeCode},-->
<!--            #{item.ultCode},-->
<!--            #{item.coolCode},-->
<!--            #{item.ctrlRollCode},-->
<!--            #{item.withSideFlag},-->
<!--            #{item.cutModeCode},-->
<!--            #{item.headCut},-->
<!--            #{item.tailCut},-->
<!--            #{item.urgOrderFlag},-->
<!--            #{item.sgSign},-->
<!--            #{item.stNo},-->
<!--            #{item.outSgNo},-->
<!--            #{item.preCleanSlabThick},-->
<!--            #{item.preCleanSlabWidth},-->
<!--            #{item.preCleanSlabLen},-->
<!--            #{item.preCleanSlabMaxLen},-->
<!--            #{item.preCleanSlabMinLen},-->
<!--            #{item.preCleanSlabWt},-->
<!--            #{item.preCleanSlabMaxWt},-->
<!--            #{item.preCleanSlabMinWt},-->
<!--            #{item.infurSlabThick},-->
<!--            #{item.infurSlabWid},-->
<!--            #{item.infurSlabLen},-->
<!--            #{item.infurSlabMaxLen},-->
<!--            #{item.infurSlabMinLen},-->
<!--            #{item.infurSlabWt},-->
<!--            #{item.infurSlabMaxWt},-->
<!--            #{item.infurSlabMinWt},-->
<!--            #{item.fixSlabLenFlag},-->
<!--            #{item.fixSlabLen},-->
<!--            #{item.hpFlameCleanDiv},-->
<!--            #{item.slabFinishCode},-->
<!--            #{item.slabPlaceCode},-->
<!--            #{item.rollAimThick},-->
<!--            #{item.rollAimWidth},-->
<!--            #{item.rollAimLen},-->
<!--            #{item.orderThickAxis},-->
<!--            #{item.combinePlateWidth},-->
<!--            #{item.combinePlateLen},-->
<!--            #{item.rollWtHp},-->
<!--            #{item.rollThickTolMax},-->
<!--            #{item.rollThickTolMin},-->
<!--            #{item.normYield},-->
<!--            #{item.commandYield},-->
<!--            #{item.rollYield},-->
<!--            #{item.edgerUseFlag},-->
<!--            #{item.broadMasUseFlag},-->
<!--            #{item.formMasUseFlag},-->
<!--            #{item.rollDirectCode},-->
<!--            #{item.sampleLenHead},-->
<!--            #{item.sampleLenTail},-->
<!--            #{item.sampleLenMid},-->
<!--            #{item.rsCode},-->
<!--            #{item.broadFlag},-->
<!--            #{item.ultDetectMethodCode},-->
<!--            #{item.tenantId},-->
<!--            #{item.objectVersionNumber},-->
<!--            #{item.creationDate},-->
<!--            #{item.createdBy},-->
<!--            #{item.lastUpdatedBy},-->
<!--            #{item.lastUpdateDate},-->
<!--            #{item.attribute1},-->
<!--            #{item.attribute2},-->
<!--            #{item.attribute3},-->
<!--            #{item.attribute4},-->
<!--            #{item.attribute5},-->
<!--            #{item.pdStatusHp},-->
<!--            #{item.pdResp},-->
<!--            #{item.orderNoAxis},-->
<!--            #{item.mscLineNo},-->
<!--            #{item.transFlag}-->
<!--            )-->
<!--        </foreach>-->
<!--    </insert>-->

<!--    <select id="getMaxPmCmdSlabId" resultType="java.math.BigDecimal">-->
<!--        SELECT NVL(MAX(PM_CMD_SLAB_ID), 0)-->
<!--        FROM PM_CMD_SLAB-->
<!--    </select>-->
<!--    <insert id="batchInsertPmCmdSlab" parameterType="java.util.List">-->
<!--        INSERT INTO pm_cmd_slab (-->
<!--        PM_CMD_SLAB_ID, PONO_SLAB_NO, TMP_SLAB_NO, PD_BACKLOG_SEQ, PD_BACKLOG_CODE, SLAB_NO, VIRTUAL_SLAB_NO,-->
<!--        PD_STATUS_HP,-->
<!--        SHORT_SLAB_NUM_IN_LONG, BIG_PLATE_NUM, SLAB_DIV_NO, ORDER_NUM_IN_PLATE, ORDER_REMAIN_DIV, MAT_DESIGN_KIND,-->
<!--        PROD_CODE_HP,-->
<!--        SG_SIGN, ST_NO, SLAB_HT_FLAG, PRE_CLEAN_SLAB_THICK, PRE_CLEAN_SLAB_WIDTH, PRE_CLEAN_SLAB_LEN,-->
<!--        PRE_CLEAN_SLAB_MAX_LEN,-->
<!--        PRE_CLEAN_SLAB_MIN_LEN, PRE_CLEAN_SLAB_WT, PRE_CLEAN_SLAB_MAX_WT, PRE_CLEAN_SLAB_MIN_WT, MOLD_THICK, MOLD_WID,-->
<!--        INFUR_SLAB_THICK, INFUR_SLAB_WID, INFUR_SLAB_LEN, INFUR_SLAB_MAX_LEN, INFUR_SLAB_MIN_LEN, INFUR_SLAB_WT,-->
<!--        INFUR_SLAB_MAX_WT, INFUR_SLAB_MIN_WT, NEED_SLAB_LEN, NEED_SLAB_WT, FIX_SLAB_LEN_FLAG, FIX_SLAB_LEN,-->
<!--        ROLL_MAX_PRE_CLEAN_SLAB_LEN, ROLL_MAX_PRE_CLEAN_SLAB_WT, SLAB_PLACE_CODE, HP_FLAME_CLEAN_DIV, SLAB_FINISH_CODE,-->
<!--        SLAB_CLEAN_WT_LOSS_RATE_ST, SLAB_CLEAN_WT_LOSS_RATE_FR, COOL_CODE, LAST_SLAB_FLAG, ADD_SLAB_FLAG,-->
<!--        SLAB_PRE_PROC1,-->
<!--        SLAB_PRE_PROC2, SLAB_PRE_PROC3, SLAB_PRE_PROC4, SLAB_PRE_PROC5, SLAB_PRE_PROC6, SLAB_PRE_PROC7, SLAB_PRE_PROC8,-->
<!--        SLAB_PRE_PROC9, SLAB_PRE_PROC10, SLAB_PRE_PROC11, SLAB_PRE_PROC12, SLAB_PRE_PROC13, SLAB_PRE_PROC14,-->
<!--        SLAB_PRE_PROC15,-->
<!--        SLAB_STACK_INDICATE, HOT_SEND_DIV, FUR_TYPE, HOT_CHARGE_FLAG, ROLL_PLAN_NO, NEW_TEST_NO, FORM_PLATE_TIME,-->
<!--        SHP_CODE,-->
<!--        PONO, MSC_LINE_NO, TENANT_ID, OBJECT_VERSION_NUMBER, CREATION_DATE, CREATED_BY, LAST_UPDATED_BY,-->
<!--        LAST_UPDATE_DATE,-->
<!--        ATTRIBUTE1, ATTRIBUTE2, ATTRIBUTE3, ATTRIBUTE4, ATTRIBUTE5, ORDER_NO_AXIS, TRANS_FLAG, IG_MAT_DESIGN_KIND,-->
<!--        INGOT_TYPE,-->
<!--        IS_MERGE-->
<!--        )-->
<!--        VALUES-->
<!--        <foreach collection="list" item="item" separator=",">-->
<!--            (-->
<!--            #{item.pmCmdSlabId}, #{item.ponoSlabNo}, #{item.tmpSlabNo}, #{item.pdBacklogSeq}, #{item.pdBacklogCode},-->
<!--            #{item.slabNo},-->
<!--            #{item.virtualSlabNo}, #{item.pdStatusHp}, #{item.shortSlabNumInLong}, #{item.bigPlateNum},-->
<!--            #{item.slabDivNo},-->
<!--            #{item.orderNumInPlate}, #{item.orderRemainDiv}, #{item.matDesignKind}, #{item.prodCodeHp}, #{item.sgSign},-->
<!--            #{item.stNo}, #{item.slabHtFlag}, #{item.preCleanSlabThick}, #{item.preCleanSlabWidth},-->
<!--            #{item.preCleanSlabLen},-->
<!--            #{item.preCleanSlabMaxLen}, #{item.preCleanSlabMinLen}, #{item.preCleanSlabWt}, #{item.preCleanSlabMaxWt},-->
<!--            #{item.preCleanSlabMinWt}, #{item.moldThick}, #{item.moldWid}, #{item.infurSlabThick}, #{item.infurSlabWid},-->
<!--            #{item.infurSlabLen}, #{item.infurSlabMaxLen}, #{item.infurSlabMinLen}, #{item.infurSlabWt},-->
<!--            #{item.infurSlabMaxWt},-->
<!--            #{item.infurSlabMinWt}, #{item.needSlabLen}, #{item.needSlabWt}, #{item.fixSlabLenFlag}, #{item.fixSlabLen},-->
<!--            #{item.rollMaxPreCleanSlabLen}, #{item.rollMaxPreCleanSlabWt}, #{item.slabPlaceCode},-->
<!--            #{item.hpFlameCleanDiv},-->
<!--            #{item.slabFinishCode}, #{item.slabCleanWtLossRateSt}, #{item.slabCleanWtLossRateFr}, #{item.coolCode},-->
<!--            #{item.lastSlabFlag}, #{item.addSlabFlag}, #{item.slabPreProc1}, #{item.slabPreProc2}, #{item.slabPreProc3},-->
<!--            #{item.slabPreProc4}, #{item.slabPreProc5}, #{item.slabPreProc6}, #{item.slabPreProc7},-->
<!--            #{item.slabPreProc8},-->
<!--            #{item.slabPreProc9}, #{item.slabPreProc10}, #{item.slabPreProc11}, #{item.slabPreProc12},-->
<!--            #{item.slabPreProc13},-->
<!--            #{item.slabPreProc14}, #{item.slabPreProc15}, #{item.slabStackIndicate}, #{item.hotSendDiv},-->
<!--            #{item.furType},-->
<!--            #{item.hotChargeFlag}, #{item.rollPlanNo}, #{item.newTestNo}, #{item.formPlateTime}, #{item.shpCode},-->
<!--            #{item.pono},-->
<!--            #{item.mscLineNo}, #{item.tenantId}, #{item.objectVersionNumber}, #{item.creationDate}, #{item.createdBy},-->
<!--            #{item.lastUpdatedBy}, #{item.lastUpdateDate}, #{item.attribute1}, #{item.attribute2}, #{item.attribute3},-->
<!--            #{item.attribute4}, #{item.attribute5}, #{item.orderNoAxis}, #{item.transFlag}, #{item.igMatDesignKind},-->
<!--            #{item.ingotType}, #{item.isMerge}-->
<!--            )-->
<!--        </foreach>-->
<!--    </insert>-->

<!--    <insert id="insertPmCmdSlab" parameterType="net.xdclass.shopmanager.model.PmCmdSlabDO">-->
<!--        INSERT INTO PM_CMD_SLAB (-->
<!--        PM_CMD_SLAB_ID,-->
<!--        <if test="ponoSlabNo != null">PONO_SLAB_NO,</if>-->
<!--        <if test="tmpSlabNo != null">TMP_SLAB_NO,</if>-->
<!--        <if test="pdBacklogSeq != null">PD_BACKLOG_SEQ,</if>-->
<!--        <if test="pdBacklogCode != null">PD_BACKLOG_CODE,</if>-->
<!--        <if test="slabNo != null">SLAB_NO,</if>-->
<!--        <if test="virtualSlabNo != null">VIRTUAL_SLAB_NO,</if>-->
<!--        <if test="pdStatusHp != null">PD_STATUS_HP,</if>-->
<!--        <if test="shortSlabNumInLong != null">SHORT_SLAB_NUM_IN_LONG,</if>-->
<!--        <if test="bigPlateNum != null">BIG_PLATE_NUM,</if>-->
<!--        <if test="slabDivNo != null">SLAB_DIV_NO,</if>-->
<!--        <if test="orderNumInPlate != null">ORDER_NUM_IN_PLATE,</if>-->
<!--        <if test="orderRemainDiv != null">ORDER_REMAIN_DIV,</if>-->
<!--        <if test="matDesignKind != null">MAT_DESIGN_KIND,</if>-->
<!--        <if test="prodCodeHp != null">PROD_CODE_HP,</if>-->
<!--        <if test="sgSign != null">SG_SIGN,</if>-->
<!--        <if test="stNo != null">ST_NO,</if>-->
<!--        <if test="slabHtFlag != null">SLAB_HT_FLAG,</if>-->
<!--        <if test="preCleanSlabThick != null">PRE_CLEAN_SLAB_THICK,</if>-->
<!--        <if test="preCleanSlabWidth != null">PRE_CLEAN_SLAB_WIDTH,</if>-->
<!--        <if test="preCleanSlabLen != null">PRE_CLEAN_SLAB_LEN,</if>-->
<!--        <if test="preCleanSlabMaxLen != null">PRE_CLEAN_SLAB_MAX_LEN,</if>-->
<!--        <if test="preCleanSlabMinLen != null">PRE_CLEAN_SLAB_MIN_LEN,</if>-->
<!--        <if test="preCleanSlabWt != null">PRE_CLEAN_SLAB_WT,</if>-->
<!--        <if test="preCleanSlabMaxWt != null">PRE_CLEAN_SLAB_MAX_WT,</if>-->
<!--        <if test="preCleanSlabMinWt != null">PRE_CLEAN_SLAB_MIN_WT,</if>-->
<!--        <if test="moldThick != null">MOLD_THICK,</if>-->
<!--        <if test="moldWid != null">MOLD_WID,</if>-->
<!--        <if test="infurSlabThick != null">INFUR_SLAB_THICK,</if>-->
<!--        <if test="infurSlabWid != null">INFUR_SLAB_WID,</if>-->
<!--        <if test="infurSlabLen != null">INFUR_SLAB_LEN,</if>-->
<!--        <if test="infurSlabMaxLen != null">INFUR_SLAB_MAX_LEN,</if>-->
<!--        <if test="infurSlabMinLen != null">INFUR_SLAB_MIN_LEN,</if>-->
<!--        <if test="infurSlabWt != null">INFUR_SLAB_WT,</if>-->
<!--        <if test="infurSlabMaxWt != null">INFUR_SLAB_MAX_WT,</if>-->
<!--        <if test="infurSlabMinWt != null">INFUR_SLAB_MIN_WT,</if>-->
<!--        <if test="needSlabLen != null">NEED_SLAB_LEN,</if>-->
<!--        <if test="needSlabWt != null">NEED_SLAB_WT,</if>-->
<!--        <if test="fixSlabLenFlag != null">FIX_SLAB_LEN_FLAG,</if>-->
<!--        <if test="fixSlabLen != null">FIX_SLAB_LEN,</if>-->
<!--        <if test="rollMaxPreCleanSlabLen != null">ROLL_MAX_PRE_CLEAN_SLAB_LEN,</if>-->
<!--        <if test="rollMaxPreCleanSlabWt != null">ROLL_MAX_PRE_CLEAN_SLAB_WT,</if>-->
<!--        <if test="slabPlaceCode != null">SLAB_PLACE_CODE,</if>-->
<!--        <if test="hpFlameCleanDiv != null">HP_FLAME_CLEAN_DIV,</if>-->
<!--        <if test="slabFinishCode != null">SLAB_FINISH_CODE,</if>-->
<!--        <if test="slabCleanWtLossRateSt != null">SLAB_CLEAN_WT_LOSS_RATE_ST,</if>-->
<!--        <if test="slabCleanWtLossRateFr != null">SLAB_CLEAN_WT_LOSS_RATE_FR,</if>-->
<!--        <if test="coolCode != null">COOL_CODE,</if>-->
<!--        <if test="lastSlabFlag != null">LAST_SLAB_FLAG,</if>-->
<!--        <if test="addSlabFlag != null">ADD_SLAB_FLAG,</if>-->
<!--        <if test="slabPreProc1 != null">SLAB_PRE_PROC1,</if>-->
<!--        <if test="slabPreProc2 != null">SLAB_PRE_PROC2,</if>-->
<!--        <if test="slabPreProc3 != null">SLAB_PRE_PROC3,</if>-->
<!--        <if test="slabPreProc4 != null">SLAB_PRE_PROC4,</if>-->
<!--        <if test="slabPreProc5 != null">SLAB_PRE_PROC5,</if>-->
<!--        <if test="slabPreProc6 != null">SLAB_PRE_PROC6,</if>-->
<!--        <if test="slabPreProc7 != null">SLAB_PRE_PROC7,</if>-->
<!--        <if test="slabPreProc8 != null">SLAB_PRE_PROC8,</if>-->
<!--        <if test="slabPreProc9 != null">SLAB_PRE_PROC9,</if>-->
<!--        <if test="slabPreProc10 != null">SLAB_PRE_PROC10,</if>-->
<!--        <if test="slabPreProc11 != null">SLAB_PRE_PROC11,</if>-->
<!--        <if test="slabPreProc12 != null">SLAB_PRE_PROC12,</if>-->
<!--        <if test="slabPreProc13 != null">SLAB_PRE_PROC13,</if>-->
<!--        <if test="slabPreProc14 != null">SLAB_PRE_PROC14,</if>-->
<!--        <if test="slabPreProc15 != null">SLAB_PRE_PROC15,</if>-->
<!--        <if test="slabStackIndicate != null">SLAB_STACK_INDICATE,</if>-->
<!--        <if test="hotSendDiv != null">HOT_SEND_DIV,</if>-->
<!--        <if test="furType != null">FUR_TYPE,</if>-->
<!--        <if test="hotChargeFlag != null">HOT_CHARGE_FLAG,</if>-->
<!--        <if test="rollPlanNo != null">ROLL_PLAN_NO,</if>-->
<!--        <if test="newTestNo != null">NEW_TEST_NO,</if>-->
<!--        <if test="formPlateTime != null">FORM_PLATE_TIME,</if>-->
<!--        <if test="shpCode != null">SHP_CODE,</if>-->
<!--        <if test="pono != null">PONO,</if>-->
<!--        <if test="mscLineNo != null">MSC_LINE_NO,</if>-->
<!--        <if test="tenantId != null">TENANT_ID,</if>-->
<!--        <if test="objectVersionNumber != null">OBJECT_VERSION_NUMBER,</if>-->
<!--        <if test="createdBy != null">CREATED_BY,</if>-->
<!--        <if test="lastUpdatedBy != null">LAST_UPDATED_BY,</if>-->
<!--        <if test="lastUpdateDate != null">LAST_UPDATE_DATE,</if>-->
<!--        <if test="attribute1 != null">ATTRIBUTE1,</if>-->
<!--        <if test="attribute2 != null">ATTRIBUTE2,</if>-->
<!--        <if test="attribute3 != null">ATTRIBUTE3,</if>-->
<!--        <if test="attribute4 != null">ATTRIBUTE4,</if>-->
<!--        <if test="attribute5 != null">ATTRIBUTE5,</if>-->
<!--        <if test="orderNoAxis != null">ORDER_NO_AXIS,</if>-->
<!--        <if test="transFlag != null">TRANS_FLAG,</if>-->
<!--        <if test="igMatDesignKind != null">IG_MAT_DESIGN_KIND,</if>-->
<!--        <if test="ingotType != null">INGOT_TYPE,</if>-->
<!--        <if test="isMerge != null">IS_MERGE,</if>-->
<!--        CREATION_DATE-->
<!--        )VALUES(-->
<!--        PM_CMD_SLAB_S.NEXTVAL,-->
<!--        <if test="ponoSlabNo != null">#{ponoSlabNo},</if>-->
<!--        <if test="tmpSlabNo != null">#{tmpSlabNo},</if>-->
<!--        <if test="pdBacklogSeq != null">#{pdBacklogSeq},</if>-->
<!--        <if test="pdBacklogCode != null">#{pdBacklogCode},</if>-->
<!--        <if test="slabNo != null">#{slabNo},</if>-->
<!--        <if test="virtualSlabNo != null">#{virtualSlabNo},</if>-->
<!--        <if test="pdStatusHp != null">#{pdStatusHp},</if>-->
<!--        <if test="shortSlabNumInLong != null">#{shortSlabNumInLong},</if>-->
<!--        <if test="bigPlateNum != null">#{bigPlateNum},</if>-->
<!--        <if test="slabDivNo != null">#{slabDivNo},</if>-->
<!--        <if test="orderNumInPlate != null">#{orderNumInPlate},</if>-->
<!--        <if test="orderRemainDiv != null">#{orderRemainDiv},</if>-->
<!--        <if test="matDesignKind != null">#{matDesignKind},</if>-->
<!--        <if test="prodCodeHp != null">#{prodCodeHp},</if>-->
<!--        <if test="sgSign != null">#{sgSign},</if>-->
<!--        <if test="stNo != null">#{stNo},</if>-->
<!--        <if test="slabHtFlag != null">#{slabHtFlag},</if>-->
<!--        <if test="preCleanSlabThick != null">#{preCleanSlabThick},</if>-->
<!--        <if test="preCleanSlabWidth != null">#{preCleanSlabWidth},</if>-->
<!--        <if test="preCleanSlabLen != null">#{preCleanSlabLen},</if>-->
<!--        <if test="preCleanSlabMaxLen != null">#{preCleanSlabMaxLen},</if>-->
<!--        <if test="preCleanSlabMinLen != null">#{preCleanSlabMinLen},</if>-->
<!--        <if test="preCleanSlabWt != null">#{preCleanSlabWt},</if>-->
<!--        <if test="preCleanSlabMaxWt != null">#{preCleanSlabMaxWt},</if>-->
<!--        <if test="preCleanSlabMinWt != null">#{preCleanSlabMinWt},</if>-->
<!--        <if test="moldThick != null">#{moldThick},</if>-->
<!--        <if test="moldWid != null">#{moldWid},</if>-->
<!--        <if test="infurSlabThick != null">#{infurSlabThick},</if>-->
<!--        <if test="infurSlabWid != null">#{infurSlabWid},</if>-->
<!--        <if test="infurSlabLen != null">#{infurSlabLen},</if>-->
<!--        <if test="infurSlabMaxLen != null">#{infurSlabMaxLen},</if>-->
<!--        <if test="infurSlabMinLen != null">#{infurSlabMinLen},</if>-->
<!--        <if test="infurSlabWt != null">#{infurSlabWt},</if>-->
<!--        <if test="infurSlabMaxWt != null">#{infurSlabMaxWt},</if>-->
<!--        <if test="infurSlabMinWt != null">#{infurSlabMinWt},</if>-->
<!--        <if test="needSlabLen != null">#{needSlabLen},</if>-->
<!--        <if test="needSlabWt != null">#{needSlabWt},</if>-->
<!--        <if test="fixSlabLenFlag != null">#{fixSlabLenFlag},</if>-->
<!--        <if test="fixSlabLen != null">#{fixSlabLen},</if>-->
<!--        <if test="rollMaxPreCleanSlabLen != null">#{rollMaxPreCleanSlabLen},</if>-->
<!--        <if test="rollMaxPreCleanSlabWt != null">#{rollMaxPreCleanSlabWt},</if>-->
<!--        <if test="slabPlaceCode != null">#{slabPlaceCode},</if>-->
<!--        <if test="hpFlameCleanDiv != null">#{hpFlameCleanDiv},</if>-->
<!--        <if test="slabFinishCode != null">#{slabFinishCode},</if>-->
<!--        <if test="slabCleanWtLossRateSt != null">#{slabCleanWtLossRateSt},</if>-->
<!--        <if test="slabCleanWtLossRateFr != null">#{slabCleanWtLossRateFr},</if>-->
<!--        <if test="coolCode != null">#{coolCode},</if>-->
<!--        <if test="lastSlabFlag != null">#{lastSlabFlag},</if>-->
<!--        <if test="addSlabFlag != null">#{addSlabFlag},</if>-->
<!--        <if test="slabPreProc1 != null">#{slabPreProc1},</if>-->
<!--        <if test="slabPreProc2 != null">#{slabPreProc2},</if>-->
<!--        <if test="slabPreProc3 != null">#{slabPreProc3},</if>-->
<!--        <if test="slabPreProc4 != null">#{slabPreProc4},</if>-->
<!--        <if test="slabPreProc5 != null">#{slabPreProc5},</if>-->
<!--        <if test="slabPreProc6 != null">#{slabPreProc6},</if>-->
<!--        <if test="slabPreProc7 != null">#{slabPreProc7},</if>-->
<!--        <if test="slabPreProc8 != null">#{slabPreProc8},</if>-->
<!--        <if test="slabPreProc9 != null">#{slabPreProc9},</if>-->
<!--        <if test="slabPreProc10 != null">#{slabPreProc10},</if>-->
<!--        <if test="slabPreProc11 != null">#{slabPreProc11},</if>-->
<!--        <if test="slabPreProc12 != null">#{slabPreProc12},</if>-->
<!--        <if test="slabPreProc13 != null">#{slabPreProc13},</if>-->
<!--        <if test="slabPreProc14 != null">#{slabPreProc14},</if>-->
<!--        <if test="slabPreProc15 != null">#{slabPreProc15},</if>-->
<!--        <if test="slabStackIndicate != null">#{slabStackIndicate},</if>-->
<!--        <if test="hotSendDiv != null">#{hotSendDiv},</if>-->
<!--        <if test="furType != null">#{furType},</if>-->
<!--        <if test="hotChargeFlag != null">#{hotChargeFlag},</if>-->
<!--        <if test="rollPlanNo != null">#{rollPlanNo},</if>-->
<!--        <if test="newTestNo != null">#{newTestNo},</if>-->
<!--        <if test="formPlateTime != null">#{formPlateTime},</if>-->
<!--        <if test="shpCode != null">#{shpCode},</if>-->
<!--        <if test="pono != null">#{pono},</if>-->
<!--        <if test="mscLineNo != null">#{mscLineNo},</if>-->
<!--        <if test="tenantId != null">#{tenantId},</if>-->
<!--        <if test="objectVersionNumber != null">#{objectVersionNumber},</if>-->
<!--        <if test="createdBy != null">#{createdBy},</if>-->
<!--        <if test="lastUpdatedBy != null">#{lastUpdatedBy},</if>-->
<!--        <if test="lastUpdateDate != null">#{lastUpdateDate},</if>-->
<!--        <if test="attribute1 != null">#{attribute1},</if>-->
<!--        <if test="attribute2 != null">#{attribute2},</if>-->
<!--        <if test="attribute3 != null">#{attribute3},</if>-->
<!--        <if test="attribute4 != null">#{attribute4},</if>-->
<!--        <if test="attribute5 != null">#{attribute5},</if>-->
<!--        <if test="orderNoAxis != null">#{orderNoAxis},</if>-->
<!--        <if test="transFlag != null">#{transFlag},</if>-->
<!--        <if test="igMatDesignKind != null">#{igMatDesignKind},</if>-->
<!--        <if test="ingotType != null">#{ingotType},</if>-->
<!--        <if test="isMerge != null">#{isMerge},</if>-->
<!--        #{creationDate}-->
<!--        )-->
<!--    </insert>-->

<!--    <select id="getMaxPmCmdLargePltId" resultType="java.math.BigDecimal">-->
<!--        SELECT NVL(MAX(PM_CMD_LARGE_PLT_ID), 0)-->
<!--        FROM PM_CMD_LARGE_PLT-->
<!--    </select>-->
<!--    <insert id="insertPmCmdLargePlt" parameterType="net.xdclass.shopmanager.model.PmCmdLargePltDO">-->
<!--        INSERT INTO PM_CMD_LARGE_PLT (-->
<!--        PM_CMD_LARGE_PLT_ID,-->
<!--        <if test="ponoSlabNo != null">PONO_SLAB_NO,</if>-->
<!--        <if test="tmpSlabNo != null">TMP_SLAB_NO,</if>-->
<!--        <if test="pdBacklogCode != null">PD_BACKLOG_CODE,</if>-->
<!--        <if test="plateNo != null">PLATE_NO,</if>-->
<!--        <if test="slabNo != null">SLAB_NO,</if>-->
<!--        <if test="slabDivNo != null">SLAB_DIV_NO,</if>-->
<!--        <if test="pdStatusHp != null">PD_STATUS_HP,</if>-->
<!--        <if test="formPlateMode != null">FORM_PLATE_MODE,</if>-->
<!--        <if test="pickModeLenDir != null">PICK_MODE_LEN_DIR,</if>-->
<!--        <if test="pickModeWidDir != null">PICK_MODE_WID_DIR,</if>-->
<!--        <if test="furType != null">FUR_TYPE,</if>-->
<!--        <if test="autoManualFlag != null">AUTO_MANUAL_FLAG,</if>-->
<!--        <if test="orderRemainDiv != null">ORDER_REMAIN_DIV,</if>-->
<!--        <if test="matDesignKind != null">MAT_DESIGN_KIND,</if>-->
<!--        <if test="orderNumInPlate != null">ORDER_NUM_IN_PLATE,</if>-->
<!--        <if test="totSmallPlateNum != null">TOT_SMALL_PLATE_NUM,</if>-->
<!--        <if test="prodCodeHp != null">PROD_CODE_HP,</if>-->
<!--        <if test="adTypeCode != null">AD_TYPE_CODE,</if>-->
<!--        <if test="adModeCode != null">AD_MODE_CODE,</if>-->
<!--        <if test="ultCode != null">ULT_CODE,</if>-->
<!--        <if test="uoeFlag != null">UOE_FLAG,</if>-->
<!--        <if test="coolCode != null">COOL_CODE,</if>-->
<!--        <if test="ctrlRollCode != null">CTRL_ROLL_CODE,</if>-->
<!--        <if test="withSideFlag != null">WITH_SIDE_FLAG,</if>-->
<!--        <if test="cutModeCode != null">CUT_MODE_CODE,</if>-->
<!--        <if test="headCut != null">HEAD_CUT,</if>-->
<!--        <if test="tailCut != null">TAIL_CUT,</if>-->
<!--        <if test="sgSign != null">SG_SIGN,</if>-->
<!--        <if test="stNo != null">ST_NO,</if>-->
<!--        <if test="twoRollInterimFlag != null">TWO_ROLL_INTERIM_FLAG,</if>-->
<!--        <if test="rollAimThick != null">ROLL_AIM_THICK,</if>-->
<!--        <if test="rollAimWidth != null">ROLL_AIM_WIDTH,</if>-->
<!--        <if test="rollAimLen != null">ROLL_AIM_LEN,</if>-->
<!--        <if test="rollThickTolMax != null">ROLL_THICK_TOL_MAX,</if>-->
<!--        <if test="rollThickTolMin != null">ROLL_THICK_TOL_MIN,</if>-->
<!--        <if test="maxRollThick != null">MAX_ROLL_THICK,</if>-->
<!--        <if test="minRollThick != null">MIN_ROLL_THICK,</if>-->
<!--        <if test="order1Thick != null">ORDER1_THICK,</if>-->
<!--        <if test="combinePlateWidth != null">COMBINE_PLATE_WIDTH,</if>-->
<!--        <if test="combinePlateLen != null">COMBINE_PLATE_LEN,</if>-->
<!--        <if test="rollWtHp != null">ROLL_WT_HP,</if>-->
<!--        <if test="normYield != null">NORM_YIELD,</if>-->
<!--        <if test="commandYield != null">COMMAND_YIELD,</if>-->
<!--        <if test="rollYield != null">ROLL_YIELD,</if>-->
<!--        <if test="edgerUseFlag != null">EDGER_USE_FLAG,</if>-->
<!--        <if test="broadMasUseFlag != null">BROAD_MAS_USE_FLAG,</if>-->
<!--        <if test="formMasUseFlag != null">FORM_MAS_USE_FLAG,</if>-->
<!--        <if test="rollDirectCode != null">ROLL_DIRECT_CODE,</if>-->
<!--        <if test="sampleLenHead != null">SAMPLE_LEN_HEAD,</if>-->
<!--        <if test="sampleLenTail != null">SAMPLE_LEN_TAIL,</if>-->
<!--        <if test="sampleLenMid != null">SAMPLE_LEN_MID,</if>-->
<!--        <if test="sampleLenGive != null">SAMPLE_LEN_GIVE,</if>-->
<!--        <if test="rsCode != null">RS_CODE,</if>-->
<!--        <if test="broadFlag != null">BROAD_FLAG,</if>-->
<!--        <if test="taperRollThick1 != null">TAPER_ROLL_THICK1,</if>-->
<!--        <if test="taperRollThickMax1 != null">TAPER_ROLL_THICK_MAX1,</if>-->
<!--        <if test="taperRollThickMin1 != null">TAPER_ROLL_THICK_MIN1,</if>-->
<!--        <if test="taperRollThick2 != null">TAPER_ROLL_THICK2,</if>-->
<!--        <if test="taperRollThickMax2 != null">TAPER_ROLL_THICK_MAX2,</if>-->
<!--        <if test="taperRollThickMin2 != null">TAPER_ROLL_THICK_MIN2,</if>-->
<!--        <if test="taperRollThick3 != null">TAPER_ROLL_THICK3,</if>-->
<!--        <if test="taperRollThickMax3 != null">TAPER_ROLL_THICK_MAX3,</if>-->
<!--        <if test="taperRollThickMin3 != null">TAPER_ROLL_THICK_MIN3,</if>-->
<!--        <if test="taperRollWidth != null">TAPER_ROLL_WIDTH,</if>-->
<!--        <if test="taperRollLen1 != null">TAPER_ROLL_LEN1,</if>-->
<!--        <if test="taperRollLen2 != null">TAPER_ROLL_LEN2,</if>-->
<!--        <if test="taperRollLen3 != null">TAPER_ROLL_LEN3,</if>-->
<!--        <if test="taperRollLen4 != null">TAPER_ROLL_LEN4,</if>-->
<!--        <if test="taperRollLen5 != null">TAPER_ROLL_LEN5,</if>-->
<!--        <if test="gFlag != null">G_FLAG,</if>-->
<!--        <if test="csFlag != null">CS_FLAG,</if>-->
<!--        <if test="dssFlag != null">DSS_FLAG,</if>-->
<!--        <if test="ssFlag != null">SS_FLAG,</if>-->
<!--        <if test="dsFlag != null">DS_FLAG,</if>-->
<!--        <if test="formPlateTime != null">FORM_PLATE_TIME,</if>-->
<!--        <if test="otherPlateNo1 != null">OTHER_PLATE_NO1,</if>-->
<!--        <if test="otherPlateNo2 != null">OTHER_PLATE_NO2,</if>-->
<!--        <if test="otherPlateNo3 != null">OTHER_PLATE_NO3,</if>-->
<!--        <if test="otherPlateNo4 != null">OTHER_PLATE_NO4,</if>-->
<!--        <if test="platePreProc1 != null">PLATE_PRE_PROC1,</if>-->
<!--        <if test="platePreProc2 != null">PLATE_PRE_PROC2,</if>-->
<!--        <if test="platePreProc3 != null">PLATE_PRE_PROC3,</if>-->
<!--        <if test="platePreProc4 != null">PLATE_PRE_PROC4,</if>-->
<!--        <if test="platePreProc5 != null">PLATE_PRE_PROC5,</if>-->
<!--        <if test="platePreProc6 != null">PLATE_PRE_PROC6,</if>-->
<!--        <if test="platePreProc7 != null">PLATE_PRE_PROC7,</if>-->
<!--        <if test="platePreProc8 != null">PLATE_PRE_PROC8,</if>-->
<!--        <if test="platePreProc9 != null">PLATE_PRE_PROC9,</if>-->
<!--        <if test="platePreProc10 != null">PLATE_PRE_PROC10,</if>-->
<!--        <if test="platePreProc11 != null">PLATE_PRE_PROC11,</if>-->
<!--        <if test="platePreProc12 != null">PLATE_PRE_PROC12,</if>-->
<!--        <if test="platePreProc13 != null">PLATE_PRE_PROC13,</if>-->
<!--        <if test="platePreProc14 != null">PLATE_PRE_PROC14,</if>-->
<!--        <if test="platePreProc15 != null">PLATE_PRE_PROC15,</if>-->
<!--        <if test="platePreProc16 != null">PLATE_PRE_PROC16,</if>-->
<!--        <if test="platePreProc17 != null">PLATE_PRE_PROC17,</if>-->
<!--        <if test="platePreProc18 != null">PLATE_PRE_PROC18,</if>-->
<!--        <if test="platePreProc19 != null">PLATE_PRE_PROC19,</if>-->
<!--        <if test="platePreProc20 != null">PLATE_PRE_PROC20,</if>-->
<!--        <if test="platePreProc21 != null">PLATE_PRE_PROC21,</if>-->
<!--        <if test="platePreProc22 != null">PLATE_PRE_PROC22,</if>-->
<!--        <if test="platePreProc23 != null">PLATE_PRE_PROC23,</if>-->
<!--        <if test="platePreProc24 != null">PLATE_PRE_PROC24,</if>-->
<!--        <if test="platePreProc25 != null">PLATE_PRE_PROC25,</if>-->
<!--        <if test="platePreProc26 != null">PLATE_PRE_PROC26,</if>-->
<!--        <if test="platePreProc27 != null">PLATE_PRE_PROC27,</if>-->
<!--        <if test="platePreProc28 != null">PLATE_PRE_PROC28,</if>-->
<!--        <if test="platePreProc29 != null">PLATE_PRE_PROC29,</if>-->
<!--        <if test="platePreProc30 != null">PLATE_PRE_PROC30,</if>-->
<!--        <if test="prodDensity != null">PROD_DENSITY,</if>-->
<!--        <if test="rollPlateDest != null">ROLL_PLATE_DEST,</if>-->
<!--        <if test="plateDtCode != null">PLATE_DT_CODE,</if>-->
<!--        <if test="traceCode != null">TRACE_CODE,</if>-->
<!--        <if test="minCr1Thick != null">MIN_CR1_THICK,</if>-->
<!--        <if test="cr1TempAim != null">CR1_TEMP_AIM,</if>-->
<!--        <if test="maxCr1Temp != null">MAX_CR1_TEMP,</if>-->
<!--        <if test="minCr1Temp != null">MIN_CR1_TEMP,</if>-->
<!--        <if test="minPressBefcr1 != null">MIN_PRESS_BEF_CR1,</if>-->
<!--        <if test="minCr2Thick != null">MIN_CR2_THICK,</if>-->
<!--        <if test="cr2TempAim != null">CR2_TEMP_AIM,</if>-->
<!--        <if test="minCr2Temp != null">MIN_CR2_TEMP,</if>-->
<!--        <if test="maxCr2Temp != null">MAX_CR2_TEMP,</if>-->
<!--        <if test="minPressBefcr2 != null">MIN_PRESS_BEF_CR2,</if>-->
<!--        <if test="afftTempAim != null">AFFT_TEMP_AIM,</if>-->
<!--        <if test="maxAfftTemp != null">MAX_AFFT_TEMP,</if>-->
<!--        <if test="minAfftTemp != null">MIN_AFFT_TEMP,</if>-->
<!--        <if test="minPressLast != null">MIN_PRESS_LAST,</if>-->
<!--        <if test="middleCoolMode != null">MIDDLE_COOL_MODE,</if>-->
<!--        <if test="maxMiddleCoolSpeed != null">MAX_MIDDLE_COOL_SPEED,</if>-->
<!--        <if test="maxAccWaitTime != null">MAX_ACC_WAIT_TIME,</if>-->
<!--        <if test="minAccWaitTime != null">MIN_ACC_WAIT_TIME,</if>-->
<!--        <if test="fastBgTempAim != null">FAST_BG_TEMP_AIM,</if>-->
<!--        <if test="maxFastBgTemp != null">MAX_FAST_BG_TEMP,</if>-->
<!--        <if test="minFastBgTemp != null">MIN_FAST_BG_TEMP,</if>-->
<!--        <if test="fastSpAim != null">FAST_SP_AIM,</if>-->
<!--        <if test="maxFastSp != null">MAX_FAST_SP,</if>-->
<!--        <if test="minFastSp != null">MIN_FAST_SP,</if>-->
<!--        <if test="fastEndTempAim != null">FAST_END_TEMP_AIM,</if>-->
<!--        <if test="maxFastEndTemp != null">MAX_FAST_END_TEMP,</if>-->
<!--        <if test="minFastEndTemp != null">MIN_FAST_END_TEMP,</if>-->
<!--        <if test="slow1TBgTempAim != null">SLOW1_TB_BG_TEMP_AIM,</if>-->
<!--        <if test="maxSlow1BgTemp != null">MAX_SLOW1_BG_TEMP,</if>-->
<!--        <if test="minSlow1BgTemp != null">MIN_SLOW1_BG_TEMP,</if>-->
<!--        <if test="slow1SpAim != null">SLOW1_SP_AIM,</if>-->
<!--        <if test="maxSlow1Sp != null">MAX_SLOW1_SP,</if>-->
<!--        <if test="minSlow1Sp != null">MIN_SLOW1_SP,</if>-->
<!--        <if test="slow1EndTempAim != null">SLOW1_END_TEMP_AIM,</if>-->
<!--        <if test="maxSlow1EndTemp != null">MAX_SLOW1_END_TEMP,</if>-->
<!--        <if test="minSlow1EndTemp != null">MIN_SLOW1_END_TEMP,</if>-->
<!--        <if test="slow2TBgTempAim != null">SLOW2_TB_BG_TEMP_AIM,</if>-->
<!--        <if test="maxSlow2BgTemp != null">MAX_SLOW2_BG_TEMP,</if>-->
<!--        <if test="minSlow2BgTemp != null">MIN_SLOW2_BG_TEMP,</if>-->
<!--        <if test="slow2SpAim != null">SLOW2_SP_AIM,</if>-->
<!--        <if test="maxSlow2Sp != null">MAX_SLOW2_SP,</if>-->
<!--        <if test="minSlow2Sp != null">MIN_SLOW2_SP,</if>-->
<!--        <if test="slow2EndTempAim != null">SLOW2_END_TEMP_AIM,</if>-->
<!--        <if test="maxSlow2EndTemp != null">MAX_SLOW2_END_TEMP,</if>-->
<!--        <if test="minSlow2EndTemp != null">MIN_SLOW2_END_TEMP,</if>-->
<!--        <if test="standFlag != null">STAND_FLAG,</if>-->
<!--        <if test="expandQuot != null">EXPAND_QUOT,</if>-->
<!--        <if test="plateConvexAim != null">PLATE_CONVEX_AIM,</if>-->
<!--        <if test="hotRectifyFlag != null">HOT_RECTIFY_FLAG,</if>-->
<!--        <if test="hotRectifyMethodCode != null">HOT_RECTIFY_METHOD_CODE,</if>-->
<!--        <if test="tsMax != null">TS_MAX,</if>-->
<!--        <if test="tsMin != null">TS_MIN,</if>-->
<!--        <if test="pressAppoint != null">PRESS_APPOINT,</if>-->
<!--        <if test="finishPlanDate != null">FINISH_PLAN_DATE,</if>-->
<!--        <if test="shpCode != null">SHP_CODE,</if>-->
<!--        <if test="rollPlanType != null">ROLL_PLAN_TYPE,</if>-->
<!--        <if test="ultDetectMethodCode != null">ULT_DETECT_METHOD_CODE,</if>-->
<!--        <if test="sampleHeadLenFree != null">SAMPLE_HEAD_LEN_FREE,</if>-->
<!--        <if test="sampleTailLenFree != null">SAMPLE_TAIL_LEN_FREE,</if>-->
<!--        <if test="sampleHeadLenPlate != null">SAMPLE_HEAD_LEN_PLATE,</if>-->
<!--        <if test="sampleTailLenPlate != null">SAMPLE_TAIL_LEN_PLATE,</if>-->
<!--        <if test="sampleHeadLenMb != null">SAMPLE_HEAD_LEN_MB,</if>-->
<!--        <if test="sampleTailLenMb != null">SAMPLE_TAIL_LEN_MB,</if>-->
<!--        <if test="accTempStart != null">ACC_TEMP_START,</if>-->
<!--        <if test="accTempEnd != null">ACC_TEMP_END,</if>-->
<!--        <if test="accColdV != null">ACC_COLD_V,</if>-->
<!--        <if test="loadFurTemp != null">LOAD_FUR_TEMP,</if>-->
<!--        <if test="heatTemp != null">HEAT_TEMP,</if>-->
<!--        <if test="firstThick != null">FIRST_THICK,</if>-->
<!--        <if test="firstBgTemp != null">FIRST_BG_TEMP,</if>-->
<!--        <if test="firstEndTemp != null">FIRST_END_TEMP,</if>-->
<!--        <if test="scdThick != null">SCD_THICK,</if>-->
<!--        <if test="scdBgTemp != null">SCD_BG_TEMP,</if>-->
<!--        <if test="scdEndTemp != null">SCD_END_TEMP,</if>-->
<!--        <if test="mscLineNo != null">MSC_LINE_NO,</if>-->
<!--        <if test="taperRollThick4 != null">TAPER_ROLL_THICK4,</if>-->
<!--        <if test="taperRollThickMax4 != null">TAPER_ROLL_THICK_MAX4,</if>-->
<!--        <if test="taperRollThickMin4 != null">TAPER_ROLL_THICK_MIN4,</if>-->
<!--        <if test="taperRollThick5 != null">TAPER_ROLL_THICK5,</if>-->
<!--        <if test="taperRollThickMax5 != null">TAPER_ROLL_THICK_MAX5,</if>-->
<!--        <if test="taperRollThickMin5 != null">TAPER_ROLL_THICK_MIN5,</if>-->
<!--        <if test="taperRollThick6 != null">TAPER_ROLL_THICK6,</if>-->
<!--        <if test="taperRollThickMax6 != null">TAPER_ROLL_THICK_MAX6,</if>-->
<!--        <if test="taperRollThickMin6 != null">TAPER_ROLL_THICK_MIN6,</if>-->
<!--        <if test="taperRollThick7 != null">TAPER_ROLL_THICK7,</if>-->
<!--        <if test="taperRollThickMax7 != null">TAPER_ROLL_THICK_MAX7,</if>-->
<!--        <if test="taperRollThickMin7 != null">TAPER_ROLL_THICK_MIN7,</if>-->
<!--        <if test="taperRollLen6 != null">TAPER_ROLL_LEN6,</if>-->
<!--        <if test="taperRollLen7 != null">TAPER_ROLL_LEN7,</if>-->
<!--        <if test="tenantId != null">TENANT_ID,</if>-->
<!--        <if test="objectVersionNumber != null">OBJECT_VERSION_NUMBER,</if>-->
<!--        <if test="createdBy != null">CREATED_BY,</if>-->
<!--        <if test="lastUpdatedBy != null">LAST_UPDATED_BY,</if>-->
<!--        <if test="lastUpdateDate != null">LAST_UPDATE_DATE,</if>-->
<!--        <if test="attribute1 != null">ATTRIBUTE1,</if>-->
<!--        <if test="attribute2 != null">ATTRIBUTE2,</if>-->
<!--        <if test="attribute3 != null">ATTRIBUTE3,</if>-->
<!--        <if test="attribute4 != null">ATTRIBUTE4,</if>-->
<!--        <if test="attribute5 != null">ATTRIBUTE5,</if>-->
<!--        <if test="sampleLen != null">SAMPLE_LEN,</if>-->
<!--        <if test="isMerge != null">IS_MERGE,</if>-->
<!--        <if test="replaceFlag != null">REPLACE_FLAG,</if>-->
<!--        <if test="rollMode != null">ROLL_MODE,</if>-->
<!--        CREATION_DATE-->
<!--        )-->
<!--        VALUES (-->
<!--        PM_CMD_LARGE_PLT_S.NEXTVAL,-->
<!--        <if test="ponoSlabNo != null">#{ponoSlabNo},</if>-->
<!--        <if test="tmpSlabNo != null">#{tmpSlabNo},</if>-->
<!--        <if test="pdBacklogSeq != null">#{pdBacklogSeq},</if>-->
<!--        <if test="pdBacklogCode != null">#{pdBacklogCode},</if>-->
<!--        <if test="plateNo != null">#{plateNo},</if>-->
<!--        <if test="slabNo != null">#{slabNo},</if>-->
<!--        <if test="slabDivNo != null">#{slabDivNo},</if>-->
<!--        <if test="pdStatusHp != null">#{pdStatusHp},</if>-->
<!--        <if test="formPlateMode != null">#{formPlateMode},</if>-->
<!--        <if test="pickModeLenDir != null">#{pickModeLenDir},</if>-->
<!--        <if test="pickModeWidDir != null">#{pickModeWidDir},</if>-->
<!--        <if test="furType != null">#{furType},</if>-->
<!--        <if test="autoManualFlag != null">#{autoManualFlag},</if>-->
<!--        <if test="orderRemainDiv != null">#{orderRemainDiv},</if>-->
<!--        <if test="matDesignKind != null">#{matDesignKind},</if>-->
<!--        <if test="orderNumInPlate != null">#{orderNumInPlate},</if>-->
<!--        <if test="totSmallPlateNum != null">#{totSmallPlateNum},</if>-->
<!--        <if test="prodCodeHp != null">#{prodCodeHp},</if>-->
<!--        <if test="adTypeCode != null">#{adTypeCode},</if>-->
<!--        <if test="adModeCode != null">#{adModeCode},</if>-->
<!--        <if test="ultCode != null">#{ultCode},</if>-->
<!--        <if test="uoeFlag != null">#{uoeFlag},</if>-->
<!--        <if test="coolCode != null">#{coolCode},</if>-->
<!--        <if test="ctrlRollCode != null">#{ctrlRollCode},</if>-->
<!--        <if test="withSideFlag != null">#{withSideFlag},</if>-->
<!--        <if test="cutModeCode != null">#{cutModeCode},</if>-->
<!--        <if test="headCut != null">#{headCut},</if>-->
<!--        <if test="tailCut != null">#{tailCut},</if>-->
<!--        <if test="sgSign != null">#{sgSign},</if>-->
<!--        <if test="stNo != null">#{stNo},</if>-->
<!--        <if test="twoRollInterimFlag != null">#{twoRollInterimFlag},</if>-->
<!--        <if test="rollAimThick != null">#{rollAimThick},</if>-->
<!--        <if test="rollAimWidth != null">#{rollAimWidth},</if>-->
<!--        <if test="rollAimLen != null">#{rollAimLen},</if>-->
<!--        <if test="rollThickTolMax != null">#{rollThickTolMax},</if>-->
<!--        <if test="rollThickTolMin != null">#{rollThickTolMin},</if>-->
<!--        <if test="maxRollThick != null">#{maxRollThick},</if>-->
<!--        <if test="minRollThick != null">#{minRollThick},</if>-->
<!--        <if test="order1Thick != null">#{order1Thick},</if>-->
<!--        <if test="combinePlateWidth != null">#{combinePlateWidth},</if>-->
<!--        <if test="combinePlateLen != null">#{combinePlateLen},</if>-->
<!--        <if test="rollWtHp != null">#{rollWtHp},</if>-->
<!--        <if test="normYield != null">#{normYield},</if>-->
<!--        <if test="commandYield != null">#{commandYield},</if>-->
<!--        <if test="rollYield != null">#{rollYield},</if>-->
<!--        <if test="edgerUseFlag != null">#{edgerUseFlag},</if>-->
<!--        <if test="broadMasUseFlag != null">#{broadMasUseFlag},</if>-->
<!--        <if test="formMasUseFlag != null">#{formMasUseFlag},</if>-->
<!--        <if test="rollDirectCode != null">#{rollDirectCode},</if>-->
<!--        <if test="sampleLenHead != null">#{sampleLenHead},</if>-->
<!--        <if test="sampleLenTail != null">#{sampleLenTail},</if>-->
<!--        <if test="sampleLenMid != null">#{sampleLenMid},</if>-->
<!--        <if test="sampleLenGive != null">#{sampleLenGive},</if>-->
<!--        <if test="rsCode != null">#{rsCode},</if>-->
<!--        <if test="broadFlag != null">#{broadFlag},</if>-->
<!--        <if test="taperRollThick1 != null">#{taperRollThick1},</if>-->
<!--        <if test="taperRollThickMax1 != null">#{taperRollThickMax1},</if>-->
<!--        <if test="taperRollThickMin1 != null">#{taperRollThickMin1},</if>-->
<!--        <if test="taperRollThick2 != null">#{taperRollThick2},</if>-->
<!--        <if test="taperRollThickMax2 != null">#{taperRollThickMax2},</if>-->
<!--        <if test="taperRollThickMin2 != null">#{taperRollThickMin2},</if>-->
<!--        <if test="taperRollThick3 != null">#{taperRollThick3},</if>-->
<!--        <if test="taperRollThickMax3 != null">#{taperRollThickMax3},</if>-->
<!--        <if test="taperRollThickMin3 != null">#{taperRollThickMin3},</if>-->
<!--        <if test="taperRollWidth != null">#{taperRollWidth},</if>-->
<!--        <if test="taperRollLen1 != null">#{taperRollLen1},</if>-->
<!--        <if test="taperRollLen2 != null">#{taperRollLen2},</if>-->
<!--        <if test="taperRollLen3 != null">#{taperRollLen3},</if>-->
<!--        <if test="taperRollLen4 != null">#{taperRollLen4},</if>-->
<!--        <if test="taperRollLen5 != null">#{taperRollLen5},</if>-->
<!--        <if test="gFlag != null">#{gFlag},</if>-->
<!--        <if test="csFlag != null">#{csFlag},</if>-->
<!--        <if test="dssFlag != null">#{dssFlag},</if>-->
<!--        <if test="ssFlag != null">#{ssFlag},</if>-->
<!--        <if test="dsFlag != null">#{dsFlag},</if>-->
<!--        <if test="formPlateTime != null">#{formPlateTime},</if>-->
<!--        <if test="otherPlateNo1 != null">#{otherPlateNo1},</if>-->
<!--        <if test="otherPlateNo2 != null">#{otherPlateNo2},</if>-->
<!--        <if test="otherPlateNo3 != null">#{otherPlateNo3},</if>-->
<!--        <if test="otherPlateNo4 != null">#{otherPlateNo4},</if>-->
<!--        <if test="platePreProc1 != null">#{platePreProc1},</if>-->
<!--        <if test="platePreProc2 != null">#{platePreProc2},</if>-->
<!--        <if test="platePreProc3 != null">#{platePreProc3},</if>-->
<!--        <if test="platePreProc4 != null">#{platePreProc4},</if>-->
<!--        <if test="platePreProc5 != null">#{platePreProc5},</if>-->
<!--        <if test="platePreProc6 != null">#{platePreProc6},</if>-->
<!--        <if test="platePreProc7 != null">#{platePreProc7},</if>-->
<!--        <if test="platePreProc8 != null">#{platePreProc8},</if>-->
<!--        <if test="platePreProc9 != null">#{platePreProc9},</if>-->
<!--        <if test="platePreProc10 != null">#{platePreProc10},</if>-->
<!--        <if test="platePreProc11 != null">#{platePreProc11},</if>-->
<!--        <if test="platePreProc12 != null">#{platePreProc12},</if>-->
<!--        <if test="platePreProc13 != null">#{platePreProc13},</if>-->
<!--        <if test="platePreProc14 != null">#{platePreProc14},</if>-->
<!--        <if test="platePreProc15 != null">#{platePreProc15},</if>-->
<!--        <if test="platePreProc16 != null">#{platePreProc16},</if>-->
<!--        <if test="platePreProc17 != null">#{platePreProc17},</if>-->
<!--        <if test="platePreProc18 != null">#{platePreProc18},</if>-->
<!--        <if test="platePreProc19 != null">#{platePreProc19},</if>-->
<!--        <if test="platePreProc20 != null">#{platePreProc20},</if>-->
<!--        <if test="platePreProc21 != null">#{platePreProc21},</if>-->
<!--        <if test="platePreProc22 != null">#{platePreProc22},</if>-->
<!--        <if test="platePreProc23 != null">#{platePreProc23},</if>-->
<!--        <if test="platePreProc24 != null">#{platePreProc24},</if>-->
<!--        <if test="platePreProc25 != null">#{platePreProc25},</if>-->
<!--        <if test="platePreProc26 != null">#{platePreProc26},</if>-->
<!--        <if test="platePreProc27 != null">#{platePreProc27},</if>-->
<!--        <if test="platePreProc28 != null">#{platePreProc28},</if>-->
<!--        <if test="platePreProc29 != null">#{platePreProc29},</if>-->
<!--        <if test="platePreProc30 != null">#{platePreProc30},</if>-->
<!--        <if test="prodDensity != null">#{prodDensity},</if>-->
<!--        <if test="rollPlateDest != null">#{rollPlateDest},</if>-->
<!--        <if test="plateDtCode != null">#{plateDtCode},</if>-->
<!--        <if test="traceCode != null">#{traceCode},</if>-->
<!--        <if test="minCr1Thick != null">#{minCr1Thick},</if>-->
<!--        <if test="cr1TempAim != null">#{cr1TempAim}</if>-->
<!--        <if test="maxCr1Temp != null">#{maxCr1Temp},</if>-->
<!--        <if test="minCr1Temp != null">#{minCr1Temp},</if>-->
<!--        <if test="minPressBefcr1 != null">#{minPressBefcr1},</if>-->
<!--        <if test="minCr2Thick != null">#{minCr2Thick},</if>-->
<!--        <if test="cr2TempAim != null">#{cr2TempAim},</if>-->
<!--        <if test="minCr2Temp != null">#{minCr2Temp},</if>-->
<!--        <if test="maxCr2Temp != null">#{maxCr2Temp},</if>-->
<!--        <if test="minPressBefcr2 != null">#{minPressBefcr2},</if>-->
<!--        <if test="afftTempAim != null">#{afftTempAim},</if>-->
<!--        <if test="maxAfftTemp != null">#{maxAfftTemp},</if>-->
<!--        <if test="minAfftTemp != null">#{minAfftTemp},</if>-->
<!--        <if test="minPressLast != null">#{minPressLast},</if>-->
<!--        <if test="middleCoolMode != null">#{middleCoolMode},</if>-->
<!--        <if test="maxMiddleCoolSpeed != null">#{maxMiddleCoolSpeed},</if>-->
<!--        <if test="maxAccWaitTime != null">#{maxAccWaitTime},</if>-->
<!--        <if test="minAccWaitTime != null">#{minAccWaitTime},</if>-->
<!--        <if test="fastBgTempAim != null">#{fastBgTempAim},</if>-->
<!--        <if test="maxFastBgTemp != null">#{maxFastBgTemp},</if>-->
<!--        <if test="minFastBgTemp != null">#{minFastBgTemp},</if>-->
<!--        <if test="fastSpAim != null">#{fastSpAim},</if>-->
<!--        <if test="maxFastSp != null">#{maxFastSp},</if>-->
<!--        <if test="minFastSp != null">#{minFastSp},</if>-->
<!--        <if test="fastEndTempAim != null">#{fastEndTempAim},</if>-->
<!--        <if test="maxFastEndTemp != null">#{maxFastEndTemp},</if>-->
<!--        <if test="minFastEndTemp != null">#{minFastEndTemp},</if>-->
<!--        <if test="slow1TBgTempAim != null">#{slow1TBgTempAim},</if>-->
<!--        <if test="maxSlow1BgTemp != null">#{maxSlow1BgTemp},</if>-->
<!--        <if test="minSlow1BgTemp != null">#{minSlow1BgTemp},</if>-->
<!--        <if test="slow1SpAim != null">#{slow1SpAim},</if>-->
<!--        <if test="maxSlow1Sp != null">#{maxSlow1Sp},</if>-->
<!--        <if test="minSlow1Sp != null">#{minSlow1Sp},</if>-->
<!--        <if test="slow1EndTempAim != null">#{slow1EndTempAim},</if>-->
<!--        <if test="maxSlow1EndTemp != null">#{maxSlow1EndTemp},</if>-->
<!--        <if test="minSlow1EndTemp != null">#{minSlow1EndTemp},</if>-->
<!--        <if test="slow2TBgTempAim != null">#{slow2TBgTempAim},</if>-->
<!--        <if test="maxSlow2BgTemp != null">#{maxSlow2BgTemp},</if>-->
<!--        <if test="minSlow2BgTemp != null">#{minSlow2BgTemp},</if>-->
<!--        <if test="slow2SpAim != null">#{slow2SpAim},</if>-->
<!--        <if test="maxSlow2Sp != null">#{maxSlow2Sp},</if>-->
<!--        <if test="minSlow2Sp != null">#{minSlow2Sp},</if>-->
<!--        <if test="slow2EndTempAim != null">#{slow2EndTempAim},</if>-->
<!--        <if test="maxSlow2EndTemp != null">#{maxSlow2EndTemp},</if>-->
<!--        <if test="minSlow2EndTemp != null">#{minSlow2EndTemp},</if>-->
<!--        <if test="standFlag != null">#{standFlag},</if>-->
<!--        <if test="expandQuot != null">#{expandQuot}</if>-->
<!--        <if test="plateConvexAim != null">#{plateConvexAim},</if>-->
<!--        <if test="hotRectifyFlag != null">#{hotRectifyFlag},</if>-->
<!--        <if test="hotRectifyMethodCode != null">#{hotRectifyMethodCode},</if>-->
<!--        <if test="tsMax != null">#{tsMax},</if>-->
<!--        <if test="tsMin != null">#{tsMin},</if>-->
<!--        <if test="pressAppoint != null">#{pressAppoint},</if>-->
<!--        <if test="finishPlanDate != null">#{finishPlanDate},</if>-->
<!--        <if test="shpCode != null">#{shpCode},</if>-->
<!--        <if test="rollPlanType != null">#{rollPlanType},</if>-->
<!--        <if test="ultDetectMethodCode != null">#{ultDetectMethodCode},</if>-->
<!--        <if test="sampleHeadLenFree != null">#{sampleHeadLenFree},</if>-->
<!--        <if test="sampleTailLenFree != null">#{sampleTailLenFree},</if>-->
<!--        <if test="sampleHeadLenPlate != null">#{sampleHeadLenPlate},</if>-->
<!--        <if test="sampleTailLenPlate != null">#{sampleTailLenPlate},</if>-->
<!--        <if test="sampleHeadLenMb != null">#{sampleHeadLenMb},</if>-->
<!--        <if test="sampleTailLenMb != null">#{sampleTailLenMb},</if>-->
<!--        <if test="accTempStart != null">#{accTempStart},</if>-->
<!--        <if test="accTempEnd != null">#{accTempEnd},</if>-->
<!--        <if test="accColdV != null">#{accColdV},</if>-->
<!--        <if test="loadFurTemp != null">#{loadFurTemp},</if>-->
<!--        <if test="heatTemp != null">#{heatTemp},</if>-->
<!--        <if test="firstThick != null">#{firstThick},</if>-->
<!--        <if test="firstBgTemp != null">#{firstBgTemp},</if>-->
<!--        <if test="firstEndTemp != null">#{firstEndTemp},</if>-->
<!--        <if test="scdThick != null">#{scdThick},</if>-->
<!--        <if test="scdBgTemp != null">#{scdBgTemp},</if>-->
<!--        <if test="scdEndTemp != null">#{scdEndTemp},</if>-->
<!--        <if test="mscLineNo != null">#{mscLineNo},</if>-->
<!--        <if test="taperRollThick4 != null">#{taperRollThick4},</if>-->
<!--        <if test="taperRollThickMax4 != null">#{taperRollThickMax4},</if>-->
<!--        <if test="taperRollThickMin4 != null">#{taperRollThickMin4},</if>-->
<!--        <if test="taperRollThick5 != null">#{taperRollThick5},</if>-->
<!--        <if test="taperRollThickMax5 != null">#{taperRollThickMax5},</if>-->
<!--        <if test="taperRollThickMin5 != null">#{taperRollThickMin5},</if>-->
<!--        <if test="taperRollThick6 != null">#{taperRollThick6},</if>-->
<!--        <if test="taperRollThickMax6 != null">#{taperRollThickMax6},</if>-->
<!--        <if test="taperRollThickMin6 != null">#{taperRollThickMin6},</if>-->
<!--        <if test="taperRollThick7 != null">#{taperRollThick7},</if>-->
<!--        <if test="taperRollThickMax7 != null">#{taperRollThickMax7},</if>-->
<!--        <if test="taperRollThickMin7 != null">#{taperRollThickMin7},</if>-->
<!--        <if test="taperRollLen6 != null">#{taperRollLen6},</if>-->
<!--        <if test="taperRollLen7 != null">#{taperRollLen7},</if>-->
<!--        <if test="tenantId != null">#{tenantId},</if>-->
<!--        <if test="objectVersionNumber != null">#{objectVersionNumber},</if>-->
<!--        <if test="createdBy != null">#{createdBy},</if>-->
<!--        <if test="lastUpdatedBy != null">#{lastUpdatedBy},</if>-->
<!--        <if test="lastUpdateDate != null">#{lastUpdateDate},</if>-->
<!--        <if test="attribute1 != null">#{attribute1},</if>-->
<!--        <if test="attribute2 != null">#{attribute2},</if>-->
<!--        <if test="attribute3 != null">#{attribute3},</if>-->
<!--        <if test="attribute4 != null">#{attribute4},</if>-->
<!--        <if test="attribute5 != null">#{attribute5},</if>-->
<!--        <if test="sampleLen != null">#{sampleLen},</if>-->
<!--        <if test="isMerge != null">#{isMerge},</if>-->
<!--        <if test="replaceFlag != null">#{replaceFlag},</if>-->
<!--        <if test="rollMode != null">#{rollMode},</if>-->
<!--        #{creationDate}-->
<!--        )-->
<!--    </insert>-->


<!--    <select id="getMaxPmPdPlateCutId" resultType="java.math.BigDecimal">-->
<!--        SELECT NVL(MAX(CUT_ID), 0)-->
<!--        FROM PM_PD_PLATE_CUT-->
<!--    </select>-->
<!--    <insert id="insertPmPdPlateCut" parameterType="net.xdclass.shopmanager.model.PmPdPlateCutDO">-->
<!--        INSERT INTO PM_PD_PLATE_CUT (-->
<!--        CUT_ID,-->
<!--        <if test="pdMatNo != null">PD_MAT_NO,</if>-->
<!--        <if test="cutType != null">CUT_TYPE,</if>-->
<!--        <if test="positionType != null">POSITION_TYPE,</if>-->
<!--        <if test="positionSeq != null">POSITION_SEQ,</if>-->
<!--        <if test="tenantId != null">TENANT_ID,</if>-->
<!--        <if test="objectVersionNumber != null">OBJECT_VERSION_NUMBER,</if>-->
<!--        <if test="createdBy != null">CREATED_BY,</if>-->
<!--        <if test="lastUpdatedBy != null">LAST_UPDATED_BY,</if>-->
<!--        <if test="lastUpdateDate != null">LAST_UPDATE_DATE,</if>-->
<!--        <if test="attribute1 != null">ATTRIBUTE1,</if>-->
<!--        <if test="attribute2 != null">ATTRIBUTE2,</if>-->
<!--        <if test="attribute3 != null">ATTRIBUTE3,</if>-->
<!--        <if test="attribute4 != null">ATTRIBUTE4,</if>-->
<!--        <if test="attribute5 != null">ATTRIBUTE5,</if>-->
<!--        <if test="cutLength != null">CUT_LENGTH,</if>-->
<!--        CREATION_DATE-->
<!--        )-->
<!--        VALUES (-->
<!--        PM_PD_PLATE_CUT_S.NEXTVAL,-->
<!--        <if test="pdMatNo != null">#{pdMatNo},</if>-->
<!--        <if test="cutType != null">#{cutType},</if>-->
<!--        <if test="positionType != null">#{positionType},</if>-->
<!--        <if test="positionSeq != null">#{positionSeq},</if>-->
<!--        <if test="tenantId != null">#{tenantId},</if>-->
<!--        <if test="objectVersionNumber != null">#{objectVersionNumber},</if>-->
<!--        <if test="createdBy != null">#{createdBy},</if>-->
<!--        <if test="lastUpdatedBy != null">#{lastUpdatedBy},</if>-->
<!--        <if test="lastUpdateDate != null">#{lastUpdateDate},</if>-->
<!--        <if test="attribute1 != null">#{attribute1},</if>-->
<!--        <if test="attribute2 != null">#{attribute2},</if>-->
<!--        <if test="attribute3 != null">#{attribute3},</if>-->
<!--        <if test="attribute4 != null">#{attribute4},</if>-->
<!--        <if test="attribute5 != null">#{attribute5},</if>-->
<!--        <if test="cutLength != null">#{cutLength},</if>-->
<!--        #{creationDate}-->
<!--        )-->
<!--    </insert>-->

<!--    <select id="getMaxPmPdBlockPosId" resultType="java.math.BigDecimal">-->
<!--        SELECT NVL(MAX(PD_BLOCK_POS_ID), 0)-->
<!--        FROM PM_PD_BLOCK_POS-->
<!--    </select>-->
<!--    <insert id="insertPmPdBlockPos" parameterType="net.xdclass.shopmanager.model.PmPdBlockPosDO">-->
<!--        INSERT INTO PM_PD_BLOCK_POS (-->
<!--        PD_BLOCK_POS_ID,-->
<!--        <if test="pdMatNo != null">PD_MAT_NO,</if>-->
<!--        <if test="orderBlockNo != null">ORDER_BLOCK_NO,</if>-->
<!--        <if test="orderNo != null">ORDER_NO,</if>-->
<!--        <if test="proContId != null">PRO_CONT_ID,</if>-->
<!--        <if test="orderSeqNo != null">ORDER_SEQ_NO,</if>-->
<!--        <if test="blockPlateNum != null">BLOCK_PLATE_NUM,</if>-->
<!--        <if test="slabNo != null">SLAB_NO,</if>-->
<!--        <if test="plateNo != null">PLATE_NO,</if>-->
<!--        <if test="tenantId != null">TENANT_ID,</if>-->
<!--        <if test="objectVersionNumber != null">OBJECT_VERSION_NUMBER,</if>-->
<!--        <if test="createdBy != null">CREATED_BY,</if>-->
<!--        <if test="lastUpdatedBy != null">LAST_UPDATED_BY,</if>-->
<!--        <if test="lastUpdateDate != null">LAST_UPDATE_DATE,</if>-->
<!--        <if test="attribute1 != null">ATTRIBUTE1,</if>-->
<!--        <if test="attribute2 != null">ATTRIBUTE2,</if>-->
<!--        <if test="attribute3 != null">ATTRIBUTE3,</if>-->
<!--        <if test="attribute4 != null">ATTRIBUTE4,</if>-->
<!--        <if test="attribute5 != null">ATTRIBUTE5,</if>-->
<!--        CREATION_DATE-->
<!--        )-->
<!--        VALUES (-->
<!--        PM_PD_BLOCK_POS_S.NEXTVAL,-->
<!--        <if test="pdMatNo != null">#{pdMatNo},</if>-->
<!--        <if test="orderBlockNo != null">#{orderBlockNo},</if>-->
<!--        <if test="orderNo != null">#{orderNo},</if>-->
<!--        <if test="proContId != null">#{proContId},</if>-->
<!--        <if test="orderSeqNo != null">#{orderSeqNo},</if>-->
<!--        <if test="blockPlateNum != null">#{blockPlateNum},</if>-->
<!--        <if test="slabNo != null">#{slabNo},</if>-->
<!--        <if test="plateNo != null">#{plateNo},</if>-->
<!--        <if test="tenantId != null">#{tenantId},</if>-->
<!--        <if test="objectVersionNumber != null">#{objectVersionNumber},</if>-->
<!--        <if test="createdBy != null">#{createdBy},</if>-->
<!--        <if test="lastUpdatedBy != null">#{lastUpdatedBy},</if>-->
<!--        <if test="lastUpdateDate != null">#{lastUpdateDate},</if>-->
<!--        <if test="attribute1 != null">#{attribute1},</if>-->
<!--        <if test="attribute2 != null">#{attribute2},</if>-->
<!--        <if test="attribute3 != null">#{attribute3},</if>-->
<!--        <if test="attribute4 != null">#{attribute4},</if>-->
<!--        <if test="attribute5 != null">#{attribute5},</if>-->
<!--        #{creationDate}-->
<!--        )-->
<!--    </insert>-->

<!--    <select id="getMaxPmPdContSumId" resultType="java.math.BigDecimal">-->
<!--        SELECT NVL(MAX(PPCS_ID), 0)-->
<!--        FROM PM_PD_CONT_SUM-->
<!--    </select>-->

<!--    <insert id="insertPmPdContSum" parameterType="net.xdclass.shopmanager.model.PmPdContSumDO">-->
<!--        INSERT INTO PM_PD_CONT_SUM (-->
<!--        PPCS_ID,-->
<!--        <if test="proContId != null">PRO_CONT_ID,</if>-->
<!--        <if test="pdMatNo != null">PD_MAT_NO,</if>-->
<!--        <if test="orderNo != null">ORDER_NO,</if>-->
<!--        <if test="orderSeqNo != null">ORDER_SEQ_NO,</if>-->
<!--        <if test="orderPlateNum != null">ORDER_PLATE_NUM,</if>-->
<!--        <if test="pdMatType != null">PD_MAT_TYPE,</if>-->
<!--        <if test="slabNo != null">SLAB_NO,</if>-->
<!--        <if test="plateNo != null">PLATE_NO,</if>-->
<!--        <if test="pdStatus != null">PD_STATUS,</if>-->
<!--        <if test="axisFlag != null">AXIS_FLAG,</if>-->
<!--        <if test="orderThick != null">ORDER_THICK,</if>-->
<!--        <if test="orderWidth != null">ORDER_WIDTH,</if>-->
<!--        <if test="orderLen != null">ORDER_LEN,</if>-->
<!--        <if test="orderLenMin != null">ORDER_LEN_MIN,</if>-->
<!--        <if test="orderLenMax != null">ORDER_LEN_MAX,</if>-->
<!--        <if test="smallPlateThick != null">SMALL_PLATE_THICK,</if>-->
<!--        <if test="smallPlateWidth != null">SMALL_PLATE_WIDTH,</if>-->
<!--        <if test="smallPlateLen != null">SMALL_PLATE_LEN,</if>-->
<!--        <if test="tenantId != null">TENANT_ID,</if>-->
<!--        <if test="objectVersionNumber != null">OBJECT_VERSION_NUMBER,</if>-->
<!--        <if test="createdBy != null">CREATED_BY,</if>-->
<!--        <if test="lastUpdatedBy != null">LAST_UPDATED_BY,</if>-->
<!--        <if test="lastUpdateDate != null">LAST_UPDATE_DATE,</if>-->
<!--        <if test="attribute1 != null">ATTRIBUTE1,</if>-->
<!--        <if test="attribute2 != null">ATTRIBUTE2,</if>-->
<!--        <if test="attribute3 != null">ATTRIBUTE3,</if>-->
<!--        <if test="attribute4 != null">ATTRIBUTE4,</if>-->
<!--        <if test="attribute5 != null">ATTRIBUTE5,</if>-->
<!--        CREATION_DATE-->
<!--        )-->
<!--        VALUES (-->
<!--        PM_PD_CONT_SUM_S.NEXTVAL,-->
<!--        <if test="proContId != null">#{proContId},</if>-->
<!--        <if test="pdMatNo != null">#{pdMatNo},</if>-->
<!--        <if test="orderNo != null">#{orderNo},</if>-->
<!--        <if test="orderSeqNo != null">#{orderSeqNo},</if>-->
<!--        <if test="orderPlateNum != null">#{orderPlateNum},</if>-->
<!--        <if test="pdMatType != null">#{pdMatType},</if>-->
<!--        <if test="slabNo != null">#{slabNo},</if>-->
<!--        <if test="plateNo != null">#{plateNo},</if>-->
<!--        <if test="pdStatus != null">#{pdStatus},</if>-->
<!--        <if test="axisFlag != null">#{axisFlag},</if>-->
<!--        <if test="orderThick != null">#{orderThick},</if>-->
<!--        <if test="orderWidth != null">#{orderWidth},</if>-->
<!--        <if test="orderLen != null">#{orderLen},</if>-->
<!--        <if test="orderLenMin != null">#{orderLenMin},</if>-->
<!--        <if test="orderLenMax != null">#{orderLenMax},</if>-->
<!--        <if test="smallPlateThick != null">#{smallPlateThick},</if>-->
<!--        <if test="smallPlateWidth != null">#{smallPlateWidth},</if>-->
<!--        <if test="smallPlateLen != null">#{smallPlateLen},</if>-->
<!--        <if test="tenantId != null">#{tenantId},</if>-->
<!--        <if test="objectVersionNumber != null">#{objectVersionNumber},</if>-->
<!--        <if test="createdBy != null">#{createdBy},</if>-->
<!--        <if test="lastUpdatedBy != null">#{lastUpdatedBy},</if>-->
<!--        <if test="lastUpdateDate != null">#{lastUpdateDate},</if>-->
<!--        <if test="attribute1 != null">#{attribute1},</if>-->
<!--        <if test="attribute2 != null">#{attribute2},</if>-->
<!--        <if test="attribute3 != null">#{attribute3},</if>-->
<!--        <if test="attribute4 != null">#{attribute4},</if>-->
<!--        <if test="attribute5 != null">#{attribute5},</if>-->
<!--        #{creationDate}-->
<!--        )-->
<!--    </insert>-->

<!--    <select id="getMaxPmSmallPltPosId" resultType="java.math.BigDecimal">-->
<!--        SELECT NVL(MAX(PSPP_ID), 0)-->
<!--        FROM PM_SMALL_PLT_POS-->
<!--    </select>-->
<!--    <insert id="insertPmSmallPltPos" parameterType="net.xdclass.shopmanager.model.PmSmallPltPosDO">-->
<!--        INSERT INTO PM_SMALL_PLT_POS (-->
<!--        PSPP_ID,-->
<!--        <if test="pdMatNo != null">PD_MAT_NO,</if>-->
<!--        <if test="smallPlateDivNo != null">SMALL_PLATE_DIV_NO,</if>-->
<!--        <if test="orderNo != null">ORDER_NO,</if>-->
<!--        <if test="proContId != null">PRO_CONT_ID,</if>-->
<!--        <if test="orderSeqNo != null">ORDER_SEQ_NO,</if>-->
<!--        <if test="slabNo != null">SLAB_NO,</if>-->
<!--        <if test="plateNo != null">PLATE_NO,</if>-->
<!--        <if test="pickModeWidDir != null">PICK_MODE_WID_DIR,</if>-->
<!--        <if test="pickModeLenDir != null">PICK_MODE_LEN_DIR,</if>-->
<!--        <if test="orderThick != null">ORDER_THICK,</if>-->
<!--        <if test="orderWidth != null">ORDER_WIDTH,</if>-->
<!--        <if test="orderLen != null">ORDER_LEN,</if>-->
<!--        <if test="orderLenMin != null">ORDER_LEN_MIN,</if>-->
<!--        <if test="orderLenMax != null">ORDER_LEN_MAX,</if>-->
<!--        <if test="smallPlateThick != null">SMALL_PLATE_THICK,</if>-->
<!--        <if test="smallPlateWidth != null">SMALL_PLATE_WIDTH,</if>-->
<!--        <if test="smallPlateLen != null">SMALL_PLATE_LEN,</if>-->
<!--        <if test="tenantId != null">TENANT_ID,</if>-->
<!--        <if test="objectVersionNumber != null">OBJECT_VERSION_NUMBER,</if>-->
<!--        <if test="createdBy != null">CREATED_BY,</if>-->
<!--        <if test="lastUpdatedBy != null">LAST_UPDATED_BY,</if>-->
<!--        <if test="lastUpdateDate != null">LAST_UPDATE_DATE,</if>-->
<!--        <if test="attribute1 != null">ATTRIBUTE1,</if>-->
<!--        <if test="attribute2 != null">ATTRIBUTE2,</if>-->
<!--        <if test="attribute3 != null">ATTRIBUTE3,</if>-->
<!--        <if test="attribute4 != null">ATTRIBUTE4,</if>-->
<!--        <if test="attribute5 != null">ATTRIBUTE5,</if>-->
<!--        CREATION_DATE-->
<!--        )-->
<!--        VALUES (-->
<!--        PM_SMALL_PLT_POS_S.NEXTVAL,-->
<!--        <if test="pdMatNo != null">#{pdMatNo},</if>-->
<!--        <if test="smallPlateDivNo != null">#{smallPlateDivNo},</if>-->
<!--        <if test="orderNo != null">#{orderNo},</if>-->
<!--        <if test="proContId != null">#{proContId},</if>-->
<!--        <if test="orderSeqNo != null">#{orderSeqNo},</if>-->
<!--        <if test="slabNo != null">#{slabNo},</if>-->
<!--        <if test="plateNo != null">#{plateNo},</if>-->
<!--        <if test="pickModeWidDir != null">#{pickModeWidDir},</if>-->
<!--        <if test="pickModeLenDir != null">#{pickModeLenDir},</if>-->
<!--        <if test="orderThick != null">#{orderThick},</if>-->
<!--        <if test="orderWidth != null">#{orderWidth},</if>-->
<!--        <if test="orderLen != null">#{orderLen},</if>-->
<!--        <if test="orderLenMin != null">#{orderLenMin},</if>-->
<!--        <if test="orderLenMax != null">#{orderLenMax},</if>-->
<!--        <if test="smallPlateThick != null">#{smallPlateThick},</if>-->
<!--        <if test="smallPlateWidth != null">#{smallPlateWidth},</if>-->
<!--        <if test="smallPlateLen != null">#{smallPlateLen},</if>-->
<!--        <if test="tenantId != null">#{tenantId},</if>-->
<!--        <if test="objectVersionNumber != null">#{objectVersionNumber},</if>-->
<!--        <if test="createdBy != null">#{createdBy},</if>-->
<!--        <if test="lastUpdatedBy != null">#{lastUpdatedBy},</if>-->
<!--        <if test="lastUpdateDate != null">#{lastUpdateDate},</if>-->
<!--        <if test="attribute1 != null">#{attribute1},</if>-->
<!--        <if test="attribute2 != null">#{attribute2},</if>-->
<!--        <if test="attribute3 != null">#{attribute3},</if>-->
<!--        <if test="attribute4 != null">#{attribute4},</if>-->
<!--        <if test="attribute5 != null">#{attribute5},</if>-->
<!--        #{creationDate}-->
<!--        )-->
<!--    </insert>-->

<!--    <select id="getMaxPmCmdSmallPltId" resultType="java.math.BigDecimal">-->
<!--        SELECT NVL(MAX(PM_CMD_SMALL_PLT_ID), 0)-->
<!--        FROM PM_CMD_SMALL_PLT-->
<!--    </select>-->
<!--    <insert id="insertPmCmdSmallPlt" parameterType="net.xdclass.shopmanager.model.PmCmdSmallPltDO">-->
<!--        INSERT INTO PM_CMD_SMALL_PLT (-->
<!--        PM_CMD_SMALL_PLT_ID,-->
<!--        <if test="ponoSlabNo != null">PONO_SLAB_NO,</if>-->
<!--        <if test="tmpSlabNo != null">TMP_SLAB_NO,</if>-->
<!--        <if test="smallPlateDivNo != null">SMALL_PLATE_DIV_NO,</if>-->
<!--        <if test="orderNo != null">ORDER_NO,</if>-->
<!--        <if test="orderSeqNo != null">ORDER_SEQ_NO,</if>-->
<!--        <if test="slabNo != null">SLAB_NO,</if>-->
<!--        <if test="plateNo != null">PLATE_NO,</if>-->
<!--        <if test="pickModeWidDir != null">PICK_MODE_WID_DIR,</if>-->
<!--        <if test="pickModeLenDir != null">PICK_MODE_LEN_DIR,</if>-->
<!--        <if test="orderThick != null">ORDER_THICK,</if>-->
<!--        <if test="orderWidth != null">ORDER_WIDTH,</if>-->
<!--        <if test="orderLen != null">ORDER_LEN,</if>-->
<!--        <if test="orderLenMin != null">ORDER_LEN_MIN,</if>-->
<!--        <if test="orderLenMax != null">ORDER_LEN_MAX,</if>-->
<!--        <if test="smallPlateThick != null">SMALL_PLATE_THICK,</if>-->
<!--        <if test="smallPlateWidth != null">SMALL_PLATE_WIDTH,</if>-->
<!--        <if test="smallPlateLen != null">SMALL_PLATE_LEN,</if>-->
<!--        <if test="sampleLenGive != null">SAMPLE_LEN_GIVE,</if>-->
<!--        <if test="sampleHeadLenFree != null">SAMPLE_HEAD_LEN_FREE,</if>-->
<!--        <if test="sampleTailLenFree != null">SAMPLE_TAIL_LEN_FREE,</if>-->
<!--        <if test="sampleHeadLenPlate != null">SAMPLE_HEAD_LEN_PLATE,</if>-->
<!--        <if test="sampleTailLenPlate != null">SAMPLE_TAIL_LEN_PLATE,</if>-->
<!--        <if test="sampleHeadLenMb != null">SAMPLE_HEAD_LEN_MB,</if>-->
<!--        <if test="sampleTailLenMb != null">SAMPLE_TAIL_LEN_MB,</if>-->
<!--        <if test="mscLineNo != null">MSC_LINE_NO,</if>-->
<!--        <if test="tenantId != null">TENANT_ID,</if>-->
<!--        <if test="objectVersionNumber != null">OBJECT_VERSION_NUMBER,</if>-->
<!--        <if test="createdBy != null">CREATED_BY,</if>-->
<!--        <if test="lastUpdatedBy != null">LAST_UPDATED_BY,</if>-->
<!--        <if test="lastUpdateDate != null">LAST_UPDATE_DATE,</if>-->
<!--        <if test="attribute1 != null">ATTRIBUTE1,</if>-->
<!--        <if test="attribute2 != null">ATTRIBUTE2,</if>-->
<!--        <if test="attribute3 != null">ATTRIBUTE3,</if>-->
<!--        <if test="attribute4 != null">ATTRIBUTE4,</if>-->
<!--        <if test="attribute5 != null">ATTRIBUTE5,</if>-->
<!--        <if test="sampleWidthGive != null">SAMPLE_WIDTH_GIVE,</if>-->
<!--        <if test="sampleGiveShp != null">SAMPLE_GIVE_SHP,</if>-->
<!--        CREATION_DATE-->
<!--        )-->
<!--        VALUES (-->
<!--        PM_CMD_SMALL_PLT_S.NEXTVAL,-->
<!--        <if test="ponoSlabNo != null">#{ponoSlabNo},</if>-->
<!--        <if test="tmpSlabNo != null">#{tmpSlabNo},</if>-->
<!--        <if test="smallPlateDivNo != null">#{smallPlateDivNo},</if>-->
<!--        <if test="orderNo != null">#{orderNo},</if>-->
<!--        <if test="orderSeqNo != null">#{orderSeqNo},</if>-->
<!--        <if test="slabNo != null">#{slabNo},</if>-->
<!--        <if test="plateNo != null">#{plateNo},</if>-->
<!--        <if test="pickModeWidDir != null">#{pickModeWidDir},</if>-->
<!--        <if test="pickModeLenDir != null">#{pickModeLenDir},</if>-->
<!--        <if test="orderThick != null">#{orderThick},</if>-->
<!--        <if test="orderWidth != null">#{orderWidth},</if>-->
<!--        <if test="orderLen != null">#{orderLen},</if>-->
<!--        <if test="orderLenMin != null">#{orderLenMin},</if>-->
<!--        <if test="orderLenMax != null">#{orderLenMax},</if>-->
<!--        <if test="smallPlateThick != null">#{smallPlateThick},</if>-->
<!--        <if test="smallPlateWidth != null">#{smallPlateWidth},</if>-->
<!--        <if test="smallPlateLen != null">#{smallPlateLen},</if>-->
<!--        <if test="sampleLenGive != null">#{sampleLenGive},</if>-->
<!--        <if test="sampleHeadLenFree != null">#{sampleHeadLenFree},</if>-->
<!--        <if test="sampleTailLenFree != null">#{sampleTailLenFree},</if>-->
<!--        <if test="sampleHeadLenPlate != null">#{sampleHeadLenPlate},</if>-->
<!--        <if test="sampleTailLenPlate != null">#{sampleTailLenPlate},</if>-->
<!--        <if test="sampleHeadLenMb != null">#{sampleHeadLenMb},</if>-->
<!--        <if test="sampleTailLenMb != null">#{sampleTailLenMb},</if>-->
<!--        <if test="mscLineNo != null">#{mscLineNo},</if>-->
<!--        <if test="tenantId != null">#{tenantId},</if>-->
<!--        <if test="objectVersionNumber != null">#{objectVersionNumber},</if>-->
<!--        <if test="createdBy != null">#{createdBy},</if>-->
<!--        <if test="lastUpdatedBy != null">#{lastUpdatedBy},</if>-->
<!--        <if test="lastUpdateDate != null">#{lastUpdateDate},</if>-->
<!--        <if test="attribute1 != null">#{attribute1},</if>-->
<!--        <if test="attribute2 != null">#{attribute2},</if>-->
<!--        <if test="attribute3 != null">#{attribute3},</if>-->
<!--        <if test="attribute4 != null">#{attribute4},</if>-->
<!--        <if test="attribute5 != null">#{attribute5},</if>-->
<!--        <if test="sampleWidthGive != null">#{sampleWidthGive},</if>-->
<!--        <if test="sampleGiveShp != null">#{sampleGiveShp},</if>-->
<!--        #{creationDate}-->
<!--        )-->
<!--    </insert>-->

<!--    <select id="getMaxPmCmdContId" resultType="java.math.BigDecimal">-->
<!--        SELECT NVL(MAX(PM_CMD_CONT_ID), 0)-->
<!--        FROM PM_CMD_CONT-->
<!--    </select>-->
<!--    <insert id="insertPmCmdCont" parameterType="net.xdclass.shopmanager.model.PmCmdContDO">-->
<!--        INSERT INTO PM_CMD_CONT (-->
<!--        PM_CMD_CONT_ID,-->
<!--        <if test="ponoSlabNo != null">PONO_SLAB_NO,</if>-->
<!--        <if test="tmpSlabNo != null">TMP_SLAB_NO,</if>-->
<!--        <if test="orderNo != null">ORDER_NO,</if>-->
<!--        <if test="orderSeqNo != null">ORDER_SEQ_NO,</if>-->
<!--        <if test="wholeBacklogNo != null">WHOLE_BACKLOG_NO,</if>-->
<!--        <if test="wholeBacklog != null">WHOLE_BACKLOG,</if>-->
<!--        <if test="plateNo != null">PLATE_NO,</if>-->
<!--        <if test="slabNo != null">SLAB_NO,</if>-->
<!--        <if test="matDesignKind != null">MAT_DESIGN_KIND,</if>-->
<!--        <if test="orderTypeCode != null">ORDER_TYPE_CODE,</if>-->
<!--        <if test="exportFlag != null">EXPORT_FLAG,</if>-->
<!--        <if test="finCustCode != null">FIN_CUST_CODE,</if>-->
<!--        <if test="psc != null">psc,</if>-->
<!--        <if test="apn != null">APN,</if>-->
<!--        <if test="msc != null">MSC,</if>-->
<!--        <if test="prodCodeHp != null">PROD_CODE_HP,</if>-->
<!--        <if test="sgStd != null">SG_STD,</if>-->
<!--        <if test="sgSign != null">SG_SIGN,</if>-->
<!--        <if test="stNo != null">ST_NO,</if>-->
<!--        <if test="uoeFlag != null">UOE_FLAG,</if>-->
<!--        <if test="shpCode != null">SHP_CODE,</if>-->
<!--        <if test="smallPlateNum != null">SMALL_PLATE_NUM,</if>-->
<!--        <if test="prodSrMark != null">PROD_SR_MARK,</if>-->
<!--        <if test="prodSideMark != null">PROD_SIDE_MARK,</if>-->
<!--        <if test="prodShotMark != null">PROD_SHOT_MARK,</if>-->
<!--        <if test="prodNMark != null">PROD_N_MARK,</if>-->
<!--        <if test="prodQMark != null">PROD_Q_MARK,</if>-->
<!--        <if test="prodTMark != null">PROD_T_MARK,</if>-->
<!--        <if test="prodAMark != null">PROD_A_MARK,</if>-->
<!--        <if test="backlogUtMark != null">BACKLOG_UT_MARK,</if>-->
<!--        <if test="backlogNMark != null">BACKLOG_N_MARK,</if>-->
<!--        <if test="backlogQMark != null">BACKLOG_Q_MARK,</if>-->
<!--        <if test="backlogTMark != null">BACKLOG_T_MARK,</if>-->
<!--        <if test="backlogAMark != null">BACKLOG_A_MARK,</if>-->
<!--        <if test="backlogDemagMark != null">BACKLOG_DEMAG_MARK,</if>-->
<!--        <if test="backlogPtMark != null">BACKLOG_PT_MARK,</if>-->
<!--        <if test="backlogMtMark != null">BACKLOG_MT_MARK,</if>-->
<!--        <if test="backlogTmcpMark != null">BACKLOG_TMCP_MARK,</if>-->
<!--        <if test="unitWtMax != null">UNIT_WT_MAX,</if>-->
<!--        <if test="unitWtMin != null">UNIT_WT_MIN,</if>-->
<!--        <if test="unitWtAim != null">UNIT_WT_AIM,</if>-->
<!--        <if test="orderThick != null">ORDER_THICK,</if>-->
<!--        <if test="orderWidth != null">ORDER_WIDTH,</if>-->
<!--        <if test="orderLen != null">ORDER_LEN,</if>-->
<!--        <if test="widthDiv != null">WIDTH_DIV,</if>-->
<!--        <if test="widthMax != null">WIDTH_MAX,</if>-->
<!--        <if test="widthMin != null">WIDTH_MIN,</if>-->
<!--        <if test="lenDiv != null">LEN_DIV,</if>-->
<!--        <if test="orderLenMin != null">ORDER_LEN_MIN,</if>-->
<!--        <if test="orderLenMax != null">ORDER_LEN_MAX,</if>-->
<!--        <if test="smallPlateThick != null">SMALL_PLATE_THICK,</if>-->
<!--        <if test="smallPlateWidth != null">SMALL_PLATE_WIDTH,</if>-->
<!--        <if test="smallPlateLen != null">SMALL_PLATE_LEN,</if>-->
<!--        <if test="thick1 != null">THICK1,</if>-->
<!--        <if test="thick2 != null">THICK2,</if>-->
<!--        <if test="thick3 != null">THICK3,</if>-->
<!--        <if test="len1 != null">LEN1,</if>-->
<!--        <if test="len2 != null">LEN2,</if>-->
<!--        <if test="len3 != null">LEN3,</if>-->
<!--        <if test="len4 != null">LEN4,</if>-->
<!--        <if test="len5 != null">LEN5,</if>-->
<!--        <if test="thickTol1Max != null">THICK_TOL1_MAX,</if>-->
<!--        <if test="thickTol1Min != null">THICK_TOL1_MIN,</if>-->
<!--        <if test="thickTol2Max != null">THICK_TOL2_MAX,</if>-->
<!--        <if test="thickTol2Min != null">THICK_TOL2_MIN,</if>-->
<!--        <if test="thickTol3Max != null">THICK_TOL3_MAX,</if>-->
<!--        <if test="thickTol3Min != null">THICK_TOL3_MIN,</if>-->
<!--        <if test="platePreProc1 != null">PLATE_PRE_PROC1,</if>-->
<!--        <if test="platePreProc2 != null">PLATE_PRE_PROC2,</if>-->
<!--        <if test="platePreProc3 != null">PLATE_PRE_PROC3,</if>-->
<!--        <if test="platePreProc4 != null">PLATE_PRE_PROC4,</if>-->
<!--        <if test="platePreProc5 != null">PLATE_PRE_PROC5,</if>-->
<!--        <if test="platePreProc6 != null">PLATE_PRE_PROC6,</if>-->
<!--        <if test="platePreProc7 != null">PLATE_PRE_PROC7,</if>-->
<!--        <if test="platePreProc8 != null">PLATE_PRE_PROC8,</if>-->
<!--        <if test="platePreProc9 != null">PLATE_PRE_PROC9,</if>-->
<!--        <if test="platePreProc10 != null">PLATE_PRE_PROC10,</if>-->
<!--        <if test="platePreProc11 != null">PLATE_PRE_PROC11,</if>-->
<!--        <if test="platePreProc12 != null">PLATE_PRE_PROC12,</if>-->
<!--        <if test="platePreProc13 != null">PLATE_PRE_PROC13,</if>-->
<!--        <if test="platePreProc14 != null">PLATE_PRE_PROC14,</if>-->
<!--        <if test="platePreProc15 != null">PLATE_PRE_PROC15,</if>-->
<!--        <if test="platePreProc16 != null">PLATE_PRE_PROC16,</if>-->
<!--        <if test="platePreProc17 != null">PLATE_PRE_PROC17,</if>-->
<!--        <if test="platePreProc18 != null">PLATE_PRE_PROC18,</if>-->
<!--        <if test="platePreProc19 != null">PLATE_PRE_PROC19,</if>-->
<!--        <if test="platePreProc20 != null">PLATE_PRE_PROC20,</if>-->
<!--        <if test="platePreProc21 != null">PLATE_PRE_PROC21,</if>-->
<!--        <if test="platePreProc22 != null">PLATE_PRE_PROC22,</if>-->
<!--        <if test="platePreProc23 != null">PLATE_PRE_PROC23,</if>-->
<!--        <if test="platePreProc24 != null">PLATE_PRE_PROC24,</if>-->
<!--        <if test="platePreProc25 != null">PLATE_PRE_PROC25,</if>-->
<!--        <if test="platePreProc26 != null">PLATE_PRE_PROC26,</if>-->
<!--        <if test="platePreProc27 != null">PLATE_PRE_PROC27,</if>-->
<!--        <if test="platePreProc28 != null">PLATE_PRE_PROC28,</if>-->
<!--        <if test="platePreProc29 != null">PLATE_PRE_PROC29,</if>-->
<!--        <if test="platePreProc30 != null">PLATE_PRE_PROC30,</if>-->
<!--        <if test="trimCode != null">TRIM_CODE,</if>-->
<!--        <if test="widenMin != null">WIDEN_MIN,</if>-->
<!--        <if test="compressMin != null">COMPRESS_MIN,</if>-->
<!--        <if test="rollDirectCode != null">ROLL_DIRECT_CODE,</if>-->
<!--        <if test="ctrlRollCode != null">CTRL_ROLL_CODE,</if>-->
<!--        <if test="adTypeCode != null">AD_TYPE_CODE,</if>-->
<!--        <if test="adModeCode != null">AD_MODE_CODE,</if>-->
<!--        <if test="hotRectifyFlag != null">HOT_RECTIFY_FLAG,</if>-->
<!--        <if test="coldRectifyFlag != null">COLD_RECTIFY_FLAG,</if>-->
<!--        <if test="warmRectifyFlag != null">WARM_RECTIFY_FLAG,</if>-->
<!--        <if test="warmPressFlag != null">WARM_PRESS_FLAG,</if>-->
<!--        <if test="canPressFlag != null">CAN_PRESS_FLAG,</if>-->
<!--        <if test="wpTempMin != null">WP_TEMP_MIN,</if>-->
<!--        <if test="headCut != null">HEAD_CUT,</if>-->
<!--        <if test="tailCut != null">TAIL_CUT,</if>-->
<!--        <if test="hardAim != null">HARD_AIM,</if>-->
<!--        <if test="cutModeCode != null">CUT_MODE_CODE,</if>-->
<!--        <if test="gFlag != null">G_FLAG,</if>-->
<!--        <if test="csFlag != null">CS_FLAG,</if>-->
<!--        <if test="dssFlag != null">DSS_FLAG,</if>-->
<!--        <if test="ssFlag != null">SS_FLAG,</if>-->
<!--        <if test="dsFlag != null">DS_FLAG,</if>-->
<!--        <if test="heatTreatMode != null">HEAT_TREAT_MODE,</if>-->
<!--        <if test="keepTempMax1 != null">KEEP_TEMP_MAX1,</if>-->
<!--        <if test="keepTempMin1 != null">KEEP_TEMP_MIN1,</if>-->
<!--        <if test="keepTempMax2 != null">KEEP_TEMP_MAX2,</if>-->
<!--        <if test="keepTempMin2 != null">KEEP_TEMP_MIN2,</if>-->
<!--        <if test="keepTempMax3 != null">KEEP_TEMP_MAX3,</if>-->
<!--        <if test="keepTempMin3 != null">KEEP_TEMP_MIN3,</if>-->
<!--        <if test="keepTempMax4 != null">KEEP_TEMP_MAX4,</if>-->
<!--        <if test="keepTempMin4 != null">KEEP_TEMP_MIN4,</if>-->
<!--        <if test="keepTempMax5 != null">KEEP_TEMP_MAX5,</if>-->
<!--        <if test="keepTempMin5 != null">KEEP_TEMP_MIN5,</if>-->
<!--        <if test="keepTempMax6 != null">KEEP_TEMP_MAX6,</if>-->
<!--        <if test="keepTempMin6 != null">KEEP_TEMP_MIN6,</if>-->
<!--        <if test="backfireMax1 != null">BACKFIRE_MAX1,</if>-->
<!--        <if test="backfireMin1 != null">BACKFIRE_MIN1,</if>-->
<!--        <if test="backfireMax2 != null">BACKFIRE_MAX2,</if>-->
<!--        <if test="backfireMin2 != null">BACKFIRE_MIN2,</if>-->
<!--        <if test="backfireMax3 != null">BACKFIRE_MAX3,</if>-->
<!--        <if test="backfireMin3 != null">BACKFIRE_MIN3,</if>-->
<!--        <if test="backfireMax4 != null">BACKFIRE_MAX4,</if>-->
<!--        <if test="backfireMin4 != null">BACKFIRE_MIN4,</if>-->
<!--        <if test="backfireMax5 != null">BACKFIRE_MAX5,</if>-->
<!--        <if test="backfireMin5 != null">BACKFIRE_MIN5,</if>-->
<!--        <if test="backfireMax6 != null">BACKFIRE_MAX6,</if>-->
<!--        <if test="backfireMin6 != null">BACKFIRE_MIN6,</if>-->
<!--        <if test="widthBeforeQn != null">WIDTH_BEFORE_QN,</if>-->
<!--        <if test="lenBeforeQn != null">LEN_BEFORE_QN,</if>-->
<!--        <if test="cropTypeHp != null">CROP_TYPE_HP,</if>-->
<!--        <if test="betterSurfWardCode != null">BETTER_SURF_WARD_CODE,</if>-->
<!--        <if test="ultDetectMethodCode != null">ULT_DETECT_METHOD_CODE,</if>-->
<!--        <if test="ultCode != null">ULT_CODE,</if>-->
<!--        <if test="urgOrderFlag != null">URG_ORDER_FLAG,</if>-->
<!--        <if test="mscLineNo != null">MSC_LINE_NO,</if>-->
<!--        <if test="tenantId != null">TENANT_ID,</if>-->
<!--        <if test="objectVersionNumber != null">OBJECT_VERSION_NUMBER,</if>-->
<!--        <if test="createdBy != null">CREATED_BY,</if>-->
<!--        <if test="lastUpdatedBy != null">LAST_UPDATED_BY,</if>-->
<!--        <if test="lastUpdateDate != null">LAST_UPDATE_DATE,</if>-->
<!--        <if test="attribute1 != null">ATTRIBUTE1,</if>-->
<!--        <if test="attribute2 != null">ATTRIBUTE2,</if>-->
<!--        <if test="attribute3 != null">ATTRIBUTE3,</if>-->
<!--        <if test="attribute4 != null">ATTRIBUTE4,</if>-->
<!--        <if test="attribute5 != null">ATTRIBUTE5,</if>-->
<!--        <if test="axisFlag != null">AXIS_FLAG,</if>-->
<!--        <if test="pdBacklogSeq != null">PD_BACKLOG_SEQ,</if>-->
<!--        <if test="pdBacklogCode != null">PD_BACKLOG_CODE,</if>-->
<!--        <if test="twoRollInterimFlag != null">TWO_ROLL_INTERIM_FLAG,</if>-->
<!--        <if test="rollMode != null">ROLL_MODE,</if>-->
<!--        <if test="utCheckCode != null">UT_CHECK_CODE,</if>-->
<!--        <if test="utPdCode != null">UT_PD_CODE,</if>-->
<!--        CREATION_DATE-->
<!--        )-->
<!--        VALUES (-->
<!--        PM_CMD_CONT_S.NEXTVAL,-->
<!--        <if test="ponoSlabNo != null">#{ponoSlabNo},</if>-->
<!--        <if test="tmpSlabNo != null">#{tmpSlabNo},</if>-->
<!--        <if test="orderNo != null">#{orderNo},</if>-->
<!--        <if test="orderSeqNo != null">#{orderSeqNo},</if>-->
<!--        <if test="wholeBacklogNo != null">#{wholeBacklogNo},</if>-->
<!--        <if test="wholeBacklog != null">#{wholeBacklog},</if>-->
<!--        <if test="plateNo != null">#{plateNo},</if>-->
<!--        <if test="slabNo != null">#{slabNo},</if>-->
<!--        <if test="matDesignKind != null">#{matDesignKind},</if>-->
<!--        <if test="orderTypeCode != null">#{orderTypeCode},</if>-->
<!--        <if test="exportFlag != null">#{exportFlag},</if>-->
<!--        <if test="finCustCode != null">#{finCustCode},</if>-->
<!--        <if test="psc != null">#{psc},</if>-->
<!--        <if test="apn != null">#{apn},</if>-->
<!--        <if test="msc != null">#{msc},</if>-->
<!--        <if test="prodCodeHp != null">#{prodCodeHp},</if>-->
<!--        <if test="sgStd != null">#{sgStd},</if>-->
<!--        <if test="sgSign != null">#{sgSign},</if>-->
<!--        <if test="stNo != null">#{stNo},</if>-->
<!--        <if test="uoeFlag != null">#{uoeFlag},</if>-->
<!--        <if test="shpCode != null">#{shpCode},</if>-->
<!--        <if test="smallPlateNum != null">#{smallPlateNum},</if>-->
<!--        <if test="prodSrMark != null">#{prodSrMark},</if>-->
<!--        <if test="prodSideMark != null">#{prodSideMark},</if>-->
<!--        <if test="prodShotMark != null">#{prodShotMark},</if>-->
<!--        <if test="prodNMark != null">#{prodNMark},</if>-->
<!--        <if test="prodQMark != null">#{prodQMark},</if>-->
<!--        <if test="prodTMark != null">#{prodTMark},</if>-->
<!--        <if test="prodAMark != null">#{prodAMark},</if>-->
<!--        <if test="backlogUtMark != null">#{backlogUtMark},</if>-->
<!--        <if test="backlogNMark != null">#{backlogNMark},</if>-->
<!--        <if test="backlogQMark != null">#{backlogQMark},</if>-->
<!--        <if test="backlogTMark != null">#{backlogTMark},</if>-->
<!--        <if test="backlogAMark != null">#{backlogAMark},</if>-->
<!--        <if test="backlogDemagMark != null">#{backlogDemagMark},</if>-->
<!--        <if test="backlogPtMark != null">#{backlogPtMark},</if>-->
<!--        <if test="backlogMtMark != null">#{backlogMtMark},</if>-->
<!--        <if test="backlogTmcpMark != null">#{backlogTmcpMark},</if>-->
<!--        <if test="unitWtMax != null">#{unitWtMax},</if>-->
<!--        <if test="unitWtMin != null">#{unitWtMin},</if>-->
<!--        <if test="unitWtAim != null">#{unitWtAim},</if>-->
<!--        <if test="orderThick != null">#{orderThick},</if>-->
<!--        <if test="orderWidth != null">#{orderWidth},</if>-->
<!--        <if test="orderLen != null">#{orderLen},</if>-->
<!--        <if test="widthDiv != null">#{widthDiv},</if>-->
<!--        <if test="widthMax != null">#{widthMax},</if>-->
<!--        <if test="widthMin != null">#{widthMin},</if>-->
<!--        <if test="lenDiv != null">#{lenDiv},</if>-->
<!--        <if test="orderLenMin != null">#{orderLenMin},</if>-->
<!--        <if test="orderLenMax != null">#{orderLenMax},</if>-->
<!--        <if test="smallPlateThick != null">#{smallPlateThick},</if>-->
<!--        <if test="smallPlateWidth != null">#{smallPlateWidth},</if>-->
<!--        <if test="smallPlateLen != null">#{smallPlateLen},</if>-->
<!--        <if test="thick1 != null">#{thick1},</if>-->
<!--        <if test="thick2 != null">#{thick2},</if>-->
<!--        <if test="thick3 != null">#{thick3},</if>-->
<!--        <if test="len1 != null">#{len1},</if>-->
<!--        <if test="len2 != null">#{len2},</if>-->
<!--        <if test="len3 != null">#{len3},</if>-->
<!--        <if test="len4 != null">#{len4},</if>-->
<!--        <if test="len5 != null">#{len5},</if>-->
<!--        <if test="thickTol1Max != null">#{thickTol1Max},</if>-->
<!--        <if test="thickTol1Min != null">#{thickTol1Min},</if>-->
<!--        <if test="thickTol2Max != null">#{thickTol2Max},</if>-->
<!--        <if test="thickTol2Min != null">#{thickTol2Min},</if>-->
<!--        <if test="thickTol3Max != null">#{thickTol3Max},</if>-->
<!--        <if test="thickTol3Min != null">#{thickTol3Min},</if>-->
<!--        <if test="platePreProc1 != null">#{platePreProc1},</if>-->
<!--        <if test="platePreProc2 != null">#{platePreProc2},</if>-->
<!--        <if test="platePreProc3 != null">#{platePreProc3},</if>-->
<!--        <if test="platePreProc4 != null">#{platePreProc4},</if>-->
<!--        <if test="platePreProc5 != null">#{platePreProc5},</if>-->
<!--        <if test="platePreProc6 != null">#{platePreProc6},</if>-->
<!--        <if test="platePreProc7 != null">#{platePreProc7},</if>-->
<!--        <if test="platePreProc8 != null">#{platePreProc8},</if>-->
<!--        <if test="platePreProc9 != null">#{platePreProc9},</if>-->
<!--        <if test="platePreProc10 != null">#{platePreProc10},</if>-->
<!--        <if test="platePreProc11 != null">#{platePreProc11},</if>-->
<!--        <if test="platePreProc12 != null">#{platePreProc12},</if>-->
<!--        <if test="platePreProc13 != null">#{platePreProc13},</if>-->
<!--        <if test="platePreProc14 != null">#{platePreProc14},</if>-->
<!--        <if test="platePreProc15 != null">#{platePreProc15},</if>-->
<!--        <if test="platePreProc16 != null">#{platePreProc16},</if>-->
<!--        <if test="platePreProc17 != null">#{platePreProc17},</if>-->
<!--        <if test="platePreProc18 != null">#{platePreProc18},</if>-->
<!--        <if test="platePreProc19 != null">#{platePreProc19},</if>-->
<!--        <if test="platePreProc20 != null">#{platePreProc20},</if>-->
<!--        <if test="platePreProc21 != null">#{platePreProc21},</if>-->
<!--        <if test="platePreProc22 != null">#{platePreProc22},</if>-->
<!--        <if test="platePreProc23 != null">#{platePreProc23},</if>-->
<!--        <if test="platePreProc24 != null">#{platePreProc24},</if>-->
<!--        <if test="platePreProc25 != null">#{platePreProc25},</if>-->
<!--        <if test="platePreProc26 != null">#{platePreProc26},</if>-->
<!--        <if test="platePreProc27 != null">#{platePreProc27},</if>-->
<!--        <if test="platePreProc28 != null">#{platePreProc28},</if>-->
<!--        <if test="platePreProc29 != null">#{platePreProc29},</if>-->
<!--        <if test="platePreProc30 != null">#{platePreProc30},</if>-->
<!--        <if test="trimCode != null">#{trimCode},</if>-->
<!--        <if test="widenMin != null">#{widenMin},</if>-->
<!--        <if test="compressMin != null">#{compressMin},</if>-->
<!--        <if test="rollDirectCode != null">#{rollDirectCode},</if>-->
<!--        <if test="ctrlRollCode != null">#{ctrlRollCode},</if>-->
<!--        <if test="adTypeCode != null">#{adTypeCode},</if>-->
<!--        <if test="adModeCode != null">#{adModeCode},</if>-->
<!--        <if test="hotRectifyFlag != null">#{hotRectifyFlag},</if>-->
<!--        <if test="coldRectifyFlag != null">#{coldRectifyFlag},</if>-->
<!--        <if test="warmRectifyFlag != null">#{warmRectifyFlag},</if>-->
<!--        <if test="warmPressFlag != null">#{warmPressFlag},</if>-->
<!--        <if test="canPressFlag != null">#{canPressFlag},</if>-->
<!--        <if test="wpTempMin != null">#{wpTempMin},</if>-->
<!--        <if test="headCut != null">#{headCut},</if>-->
<!--        <if test="tailCut != null">#{tailCut},</if>-->
<!--        <if test="hardAim != null">#{hardAim},</if>-->
<!--        <if test="cutModeCode != null">#{cutModeCode},</if>-->
<!--        <if test="gFlag != null">#{gFlag},</if>-->
<!--        <if test="csFlag != null">#{csFlag},</if>-->
<!--        <if test="dssFlag != null">#{dssFlag},</if>-->
<!--        <if test="ssFlag != null">#{ssFlag},</if>-->
<!--        <if test="dsFlag != null">#{dsFlag},</if>-->
<!--        <if test="heatTreatMode != null">#{heatTreatMode},</if>-->
<!--        <if test="keepTempMax1 != null">#{keepTempMax1},</if>-->
<!--        <if test="keepTempMin1 != null">#{keepTempMin1},</if>-->
<!--        <if test="keepTempMax2 != null">#{keepTempMax2},</if>-->
<!--        <if test="keepTempMin2 != null">#{keepTempMin2},</if>-->
<!--        <if test="keepTempMax3 != null">#{keepTempMax3},</if>-->
<!--        <if test="keepTempMin3 != null">#{keepTempMin3},</if>-->
<!--        <if test="keepTempMax4 != null">#{keepTempMax4},</if>-->
<!--        <if test="keepTempMin4 != null">#{keepTempMin4},</if>-->
<!--        <if test="keepTempMax5 != null">#{keepTempMax5},</if>-->
<!--        <if test="keepTempMin5 != null">#{keepTempMin5},</if>-->
<!--        <if test="keepTempMax6 != null">#{keepTempMax6},</if>-->
<!--        <if test="keepTempMin6 != null">#{keepTempMin6},</if>-->
<!--        <if test="backfireMax1 != null">#{backfireMax1},</if>-->
<!--        <if test="backfireMin1 != null">#{backfireMin1},</if>-->
<!--        <if test="backfireMax2 != null">#{backfireMax2},</if>-->
<!--        <if test="backfireMin2 != null">#{backfireMin2},</if>-->
<!--        <if test="backfireMax3 != null">#{backfireMax3},</if>-->
<!--        <if test="backfireMin3 != null">#{backfireMin3},</if>-->
<!--        <if test="backfireMax4 != null">#{backfireMax4},</if>-->
<!--        <if test="backfireMin4 != null">#{backfireMin4},</if>-->
<!--        <if test="backfireMax5 != null">#{backfireMax5},</if>-->
<!--        <if test="backfireMin5 != null">#{backfireMin5},</if>-->
<!--        <if test="backfireMax6 != null">#{backfireMax6},</if>-->
<!--        <if test="backfireMin6 != null">#{backfireMin6},</if>-->
<!--        <if test="widthBeforeQn != null">#{widthBeforeQn},</if>-->
<!--        <if test="lenBeforeQn != null">#{lenBeforeQn},</if>-->
<!--        <if test="cropTypeHp != null">#{cropTypeHp},</if>-->
<!--        <if test="betterSurfWardCode != null">#{betterSurfWardCode},</if>-->
<!--        <if test="ultDetectMethodCode != null">#{ultDetectMethodCode},</if>-->
<!--        <if test="ultCode != null">#{ultCode},</if>-->
<!--        <if test="urgOrderFlag != null">#{urgOrderFlag},</if>-->
<!--        <if test="mscLineNo != null">#{mscLineNo},</if>-->
<!--        <if test="tenantId != null">#{tenantId},</if>-->
<!--        <if test="objectVersionNumber != null">#{objectVersionNumber},</if>-->
<!--        <if test="createdBy != null">#{createdBy},</if>-->
<!--        <if test="lastUpdatedBy != null">#{lastUpdatedBy},</if>-->
<!--        <if test="lastUpdateDate != null">#{lastUpdateDate},</if>-->
<!--        <if test="attribute1 != null">#{attribute1},</if>-->
<!--        <if test="attribute2 != null">#{attribute2},</if>-->
<!--        <if test="attribute3 != null">#{attribute3},</if>-->
<!--        <if test="attribute4 != null">#{attribute4},</if>-->
<!--        <if test="attribute5 != null">#{attribute5},</if>-->
<!--        <if test="axisFlag != null">#{axisFlag},</if>-->
<!--        <if test="pdBacklogSeq != null">#{pdBacklogSeq},</if>-->
<!--        <if test="pdBacklogCode != null">#{pdBacklogCode},</if>-->
<!--        <if test="twoRollInterimFlag != null">#{twoRollInterimFlag},</if>-->
<!--        <if test="rollMode != null">#{rollMode},</if>-->
<!--        <if test="utCheckCode != null">#{utCheckCode},</if>-->
<!--        <if test="utPdCode != null">#{utPdCode,</if>-->
<!--        #{creationDate}-->
<!--        )-->
<!--    </insert>-->

</mapper>
