|
|
|
@ -41,7 +41,7 @@
|
|
|
|
|
<insert id="insertWarehouse" keyProperty="id" parameterType="com.glxp.sale.admin.req.inout.WarehouseSaveRequest">
|
|
|
|
|
INSERT INTO io_codes(action, mainAction, code, corpOrderId, actor, actDate,
|
|
|
|
|
fromCorpId, fromCorp, orderId, batchNo, produceDate, expireDate,
|
|
|
|
|
serialNo, count, packageLevel, warehouseCode, nameCode, supId, relId, status,
|
|
|
|
|
serialNo, count, reCount, packageLevel, warehouseCode, nameCode, supId, relId, status,
|
|
|
|
|
invStorageCode, invWarehouseCode, locStorageCode)
|
|
|
|
|
values (#{action},
|
|
|
|
|
#{mainAction},
|
|
|
|
@ -51,7 +51,7 @@
|
|
|
|
|
#{actDate},
|
|
|
|
|
#{fromCorpId},
|
|
|
|
|
#{fromCorp}, #{orderId}, #{batchNo}, #{produceDate}, #{expireDate}, #{serialNo}, #{count},
|
|
|
|
|
#{packageLevel}, #{warehouseCode},
|
|
|
|
|
#{reCount}, #{packageLevel}, #{warehouseCode},
|
|
|
|
|
#{nameCode}, #{supId}, #{relId}, #{status}, #{invStorageCode}, #{invWarehouseCode}, #{locStorageCode})
|
|
|
|
|
</insert>
|
|
|
|
|
|
|
|
|
@ -64,7 +64,7 @@
|
|
|
|
|
actor,
|
|
|
|
|
actDate,
|
|
|
|
|
fromCorpId,fromCorp,orderId,batchNo,produceDate,expireDate,
|
|
|
|
|
serialNo,count,packageLevel,warehouseCode,nameCode,supId,
|
|
|
|
|
serialNo,count, reCount, packageLevel,warehouseCode,nameCode,supId,
|
|
|
|
|
relId,status,invStorageCode,invWarehouseCode,locStorageCode)
|
|
|
|
|
VALUES
|
|
|
|
|
<foreach collection="io_codesEntities" item="item" index="index"
|
|
|
|
@ -77,13 +77,11 @@
|
|
|
|
|
#{item.actor},
|
|
|
|
|
#{item.actDate},
|
|
|
|
|
#{item.fromCorpId},
|
|
|
|
|
#{
|
|
|
|
|
item.fromCorp
|
|
|
|
|
},#{item.orderId},#{item.batchNo}
|
|
|
|
|
#{item.fromCorp},#{item.orderId},#{item.batchNo}
|
|
|
|
|
,#{item.produceDate}
|
|
|
|
|
,#{item.expireDate}
|
|
|
|
|
,#{item.serialNo}
|
|
|
|
|
,#{item.count}
|
|
|
|
|
,#{item.count}, #{item.reCount}
|
|
|
|
|
,#{item.packageLevel} ,#{item.warehouseCode},#{item.nameCode},#{item.supId}
|
|
|
|
|
,#{item.relId},#{item.status},#{item.invStorageCode},#{item.invWarehouseCode},#{item.locStorageCode})
|
|
|
|
|
|
|
|
|
@ -168,6 +166,7 @@
|
|
|
|
|
<if test="fromCorp != null">fromCorp=#{fromCorp},</if>
|
|
|
|
|
<if test="fromCorpId != null">fromCorpId=#{fromCorpId},</if>
|
|
|
|
|
<if test="count != null">`count`=#{count},</if>
|
|
|
|
|
<if test="reCount != null">`reCount`=#{reCount},</if>
|
|
|
|
|
<if test="status != null">status=#{status},</if>
|
|
|
|
|
<if test="serialNo != null">`serialNo`=#{serialNo},</if>
|
|
|
|
|
<if test="supId != null">supId=#{supId},</if>
|
|
|
|
|