|
|
|
@ -367,7 +367,7 @@
|
|
|
|
|
|
|
|
|
|
<insert id="insertPmPdSlab" parameterType="net.xdclass.shopmanager.model.PmPdSlabDO">
|
|
|
|
|
INSERT INTO PM_PD_SLAB (
|
|
|
|
|
<if test="pmPdSlabId != null">PM_PD_SLAB_ID,</if>
|
|
|
|
|
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>
|
|
|
|
@ -503,7 +503,7 @@
|
|
|
|
|
<if test="transFlag != null">TRANS_FLAG,</if>
|
|
|
|
|
CREATION_DATE
|
|
|
|
|
) VALUES (
|
|
|
|
|
<if test="pmPdSlabId != null">#{pmPdSlabId},</if>
|
|
|
|
|
PM_PD_SLAB_S.NEXTVAL,
|
|
|
|
|
<if test="virtualSlabNo != null">#{virtualSlabNo},</if>
|
|
|
|
|
<if test="matDesignKind != null">#{matDesignKind},</if>
|
|
|
|
|
<if test="slabNo != null">#{slabNo},</if>
|
|
|
|
@ -894,7 +894,7 @@
|
|
|
|
|
|
|
|
|
|
<insert id="insertPmCmdSlab" parameterType="net.xdclass.shopmanager.model.PmCmdSlabDO">
|
|
|
|
|
INSERT INTO PM_CMD_SLAB (
|
|
|
|
|
<if test="pmCmdSlabId != null">PM_CMD_SLAB_ID,</if>
|
|
|
|
|
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>
|
|
|
|
@ -986,7 +986,7 @@
|
|
|
|
|
<if test="isMerge != null">IS_MERGE,</if>
|
|
|
|
|
CREATION_DATE
|
|
|
|
|
)VALUES(
|
|
|
|
|
<if test="pmCmdSlabId != null">#{pmCmdSlabId},</if>
|
|
|
|
|
PM_CMD_SLAB_S.NEXTVAL,
|
|
|
|
|
<if test="ponoSlabNo != null">#{ponoSlabNo},</if>
|
|
|
|
|
<if test="tmpSlabNo != null">#{tmpSlabNo},</if>
|
|
|
|
|
<if test="pdBacklogSeq != null">#{pdBacklogSeq},</if>
|
|
|
|
@ -1086,7 +1086,7 @@
|
|
|
|
|
</select>
|
|
|
|
|
<insert id="insertPmCmdLargePlt" parameterType="net.xdclass.shopmanager.model.PmCmdLargePltDO">
|
|
|
|
|
INSERT INTO PM_CMD_LARGE_PLT (
|
|
|
|
|
<if test="pmCmdLargePltId != null">PM_CMD_LARGE_PLT_ID,</if>
|
|
|
|
|
PM_CMD_LARGE_PLT_ID,
|
|
|
|
|
<if test="ponoSlabNo != null">PONO_SLAB_NO,</if>
|
|
|
|
|
<if test="tmpSlabNo != null">TMP_SLAB_NO,</if>
|
|
|
|
|
<if test="adTypeCode != null">AD_TYPE_CODE,</if>
|
|
|
|
@ -1291,7 +1291,7 @@
|
|
|
|
|
CREATION_DATE
|
|
|
|
|
)
|
|
|
|
|
VALUES (
|
|
|
|
|
<if test="pmCmdLargePltId != null">#{pmCmdLargePltId},</if>
|
|
|
|
|
PM_CMD_LARGE_PLT_S.NEXTVAL,
|
|
|
|
|
<if test="ponoSlabNo != null">#{ponoSlabNo},</if>
|
|
|
|
|
<if test="tmpSlabNo != null">#{tmpSlabNo},</if>
|
|
|
|
|
<if test="adTypeCode != null">#{adTypeCode},</if>
|
|
|
|
@ -1504,7 +1504,7 @@
|
|
|
|
|
</select>
|
|
|
|
|
<insert id="insertPmPdPlateCut" parameterType="net.xdclass.shopmanager.model.PmPdPlateCutDO">
|
|
|
|
|
INSERT INTO PM_PD_PLATE_CUT (
|
|
|
|
|
<if test="cutId != null">CUT_ID,</if>
|
|
|
|
|
CUT_ID,
|
|
|
|
|
<if test="pdMatNo != null">PD_MAT_NO,</if>
|
|
|
|
|
<if test="cutType != null">CUT_TYPE,</if>
|
|
|
|
|
<if test="positionType != null">POSITION_TYPE,</if>
|
|
|
|
@ -1523,7 +1523,7 @@
|
|
|
|
|
CREATION_DATE
|
|
|
|
|
)
|
|
|
|
|
VALUES (
|
|
|
|
|
<if test="cutId != null">#{cutId},</if>
|
|
|
|
|
PM_PD_PLATE_CUT_S.NEXTVAL,
|
|
|
|
|
<if test="pdMatNo != null">#{pdMatNo},</if>
|
|
|
|
|
<if test="cutType != null">#{cutType},</if>
|
|
|
|
|
<if test="positionType != null">#{positionType},</if>
|
|
|
|
@ -1549,7 +1549,7 @@
|
|
|
|
|
</select>
|
|
|
|
|
<insert id="insertPmPdBlockPos" parameterType="net.xdclass.shopmanager.model.PmPdBlockPosDO">
|
|
|
|
|
INSERT INTO PM_PD_BLOCK_POS (
|
|
|
|
|
<if test="pdBlockPosId != null">PD_BLOCK_POS_ID,</if>
|
|
|
|
|
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>
|
|
|
|
@ -1571,7 +1571,7 @@
|
|
|
|
|
CREATION_DATE
|
|
|
|
|
)
|
|
|
|
|
VALUES (
|
|
|
|
|
<if test="pdBlockPosId != null">#{pdBlockPosId},</if>
|
|
|
|
|
PM_PD_BLOCK_POS_S.NEXTVAL,
|
|
|
|
|
<if test="pdMatNo != null">#{pdMatNo},</if>
|
|
|
|
|
<if test="orderBlockNo != null">#{orderBlockNo},</if>
|
|
|
|
|
<if test="orderNo != null">#{orderNo},</if>
|
|
|
|
@ -1601,7 +1601,7 @@
|
|
|
|
|
|
|
|
|
|
<insert id="insertPmPdContSum" parameterType="net.xdclass.shopmanager.model.PmPdContSumDO">
|
|
|
|
|
INSERT INTO PM_PD_CONT_SUM (
|
|
|
|
|
<if test="ppcsId != null">PPCS_ID,</if>
|
|
|
|
|
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>
|
|
|
|
@ -1633,7 +1633,7 @@
|
|
|
|
|
CREATION_DATE
|
|
|
|
|
)
|
|
|
|
|
VALUES (
|
|
|
|
|
<if test="ppcsId != null">#{ppcsId},</if>
|
|
|
|
|
PM_PD_CONT_SUM_S.NEXTVAL,
|
|
|
|
|
<if test="proContId != null">#{proContId},</if>
|
|
|
|
|
<if test="pdMatNo != null">#{pdMatNo},</if>
|
|
|
|
|
<if test="orderNo != null">#{orderNo},</if>
|
|
|
|
@ -1672,7 +1672,7 @@
|
|
|
|
|
</select>
|
|
|
|
|
<insert id="insertPmSmallPltPos" parameterType="net.xdclass.shopmanager.model.PmSmallPltPosDO">
|
|
|
|
|
INSERT INTO PM_SMALL_PLT_POS (
|
|
|
|
|
<if test="psppId != null">PSPP_ID,</if>
|
|
|
|
|
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>
|
|
|
|
@ -1703,7 +1703,7 @@
|
|
|
|
|
CREATION_DATE
|
|
|
|
|
)
|
|
|
|
|
VALUES (
|
|
|
|
|
<if test="psppId != null">#{psppId},</if>
|
|
|
|
|
PM_SMALL_PLT_POS_S.NEXTVAL,
|
|
|
|
|
<if test="pdMatNo != null">#{pdMatNo},</if>
|
|
|
|
|
<if test="smallPlateDivNo != null">#{smallPlateDivNo},</if>
|
|
|
|
|
<if test="orderNo != null">#{orderNo},</if>
|
|
|
|
@ -1741,7 +1741,7 @@
|
|
|
|
|
</select>
|
|
|
|
|
<insert id="insertPmCmdSmallPlt" parameterType="net.xdclass.shopmanager.model.PmCmdSmallPltDO">
|
|
|
|
|
INSERT INTO PM_CMD_SMALL_PLT (
|
|
|
|
|
<if test="pmCmdSmallPltId != null">PM_CMD_SMALL_PLT_ID,</if>
|
|
|
|
|
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>
|
|
|
|
@ -1782,7 +1782,7 @@
|
|
|
|
|
CREATION_DATE
|
|
|
|
|
)
|
|
|
|
|
VALUES (
|
|
|
|
|
<if test="pmCmdSmallPltId != null">#{pmCmdSmallPltId},</if>
|
|
|
|
|
PM_CMD_SMALL_PLT_S.NEXTVAL,
|
|
|
|
|
<if test="ponoSlabNo != null">#{ponoSlabNo},</if>
|
|
|
|
|
<if test="tmpSlabNo != null">#{tmpSlabNo},</if>
|
|
|
|
|
<if test="smallPlateDivNo != null">#{smallPlateDivNo},</if>
|
|
|
|
@ -1830,7 +1830,7 @@
|
|
|
|
|
</select>
|
|
|
|
|
<insert id="insertPmCmdCont" parameterType="net.xdclass.shopmanager.model.PmCmdContDO">
|
|
|
|
|
INSERT INTO PM_CMD_CONT (
|
|
|
|
|
<if test="pmCmdContId != null">PM_CMD_CONT_ID,</if>
|
|
|
|
|
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>
|
|
|
|
@ -2003,7 +2003,7 @@
|
|
|
|
|
CREATION_DATE
|
|
|
|
|
)
|
|
|
|
|
VALUES (
|
|
|
|
|
<if test="pmCmdContId != null">#{pmCmdContId},</if>
|
|
|
|
|
PM_CMD_CONT_S.NEXTVAL,
|
|
|
|
|
<if test="ponoSlabNo != null">#{ponoSlabNo},</if>
|
|
|
|
|
<if test="tmpSlabNo != null">#{tmpSlabNo},</if>
|
|
|
|
|
<if test="orderNo != null">#{orderNo},</if>
|
|
|
|
|