|
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
<result column="waveId" jdbcType="INTEGER" property="waveId" />
<result column="created" jdbcType="TIMESTAMP" property="created" />
<result column="createdBy" jdbcType="VARCHAR" property="createdBy" />
<result column="lastUpdated" jdbcType="TIMESTAMP" property="lastUpdated" />
<result column="lastUpdatedBy" jdbcType="VARCHAR" property="lastUpdatedBy" />
<result column="version" jdbcType="INTEGER" property="version" />
<result column="userDef1" jdbcType="VARCHAR" property="userDef1" />
<result column="userDef2" jdbcType="VARCHAR" property="userDef2" />
<result column="userDef3" jdbcType="VARCHAR" property="userDef3" />
<result column="processStamp" jdbcType="VARCHAR" property="processStamp" />
</resultMap>
<sql id="Base_Column_List">
<!--@mbg.generated-->
id, shipmentId, warehouseCode, companyCode, shipmentCode, referCode, referId, referLineNum,
materialCode, materialName, materialSpec, materialUnit, shipQty, requestQty, allocationRule,
replenishmentRule, pickLocs, attribute1, attribute2, attribute3, attribute4, batch,
lot, projectNo, manufactureDate, expirationDate, agingDate, inventorySts, dockLoc,
packingClass, `enable`, waveId, created, createdBy, lastUpdated, lastUpdatedBy, version,
|
|
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
|
<insert id="insertDetails">
insert into shipment_detail(
shipmentId, warehouseCode, companyCode, shipmentCode, referCode, referId, referLineNum,
materialCode, materialName, materialSpec, materialUnit, shipQty, allocationRule,
replenishmentRule, pickLocs, attribute1, attribute2, attribute3, attribute4, batch,
lot, projectNo, manufactureDate, expirationDate, agingDate, inventorySts, dockLoc,
packingClass, waveId, created, createdBy, lastUpdatedBy
)
values
<foreach collection="shipmentDetails" item="item" index="index" separator=",">
(
#{item.shipmentId}, #{item.warehouseCode}, #{item.companyCode}, #{item.shipmentCode}, #{item.referCode},
#{item.referId}, #{item.referLineNum},#{item.materialCode}, #{item.materialName}, #{item.materialSpec},
#{item.materialUnit}, #{item.shipQty}, #{item.allocationRule},#{item.replenishmentRule},
#{item.pickLocs}, #{item.attribute1}, #{item.attribute2}, #{item.attribute3}, #{item.attribute4}, #{item.batch},
#{item.lot}, #{item.projectNo}, #{item.manufactureDate}, #{item.expirationDate}, #{item.agingDate},
#{item.inventorySts}, #{item.dockLoc},#{item.packingClass}, #{item.waveId}, #{item.created}, #{item.createdBy},
#{item.lastUpdatedBy}
)
</foreach>
</insert>
|