id, orderId, invStorageCode, invWarehouseCode, invSpaceCode, `createUser`, createTime,
updateTime, auditUser, auditTime, `status`, remark
delete from inv_count_order
where id = #{id,jdbcType=INTEGER}
insert into inv_count_order (id, orderId, invStorageCode,
invWarehouseCode, invSpaceCode, `createUser`,
createTime, updateTime, auditUser,
auditTime, `status`, remark
)
values (#{id,jdbcType=INTEGER}, #{orderid,jdbcType=VARCHAR}, #{invstoragecode,jdbcType=VARCHAR},
#{invwarehousecode,jdbcType=VARCHAR}, #{invspacecode,jdbcType=VARCHAR}, #{createuser,jdbcType=VARCHAR},
#{createtime,jdbcType=TIMESTAMP}, #{updatetime,jdbcType=TIMESTAMP}, #{audituser,jdbcType=VARCHAR},
#{audittime,jdbcType=TIMESTAMP}, #{status,jdbcType=BOOLEAN}, #{remark,jdbcType=VARCHAR}
)
insert into inv_count_order
id,
orderId,
invStorageCode,
invWarehouseCode,
invSpaceCode,
`createUser`,
createTime,
updateTime,
auditUser,
auditTime,
`status`,
remark,
#{id,jdbcType=INTEGER},
#{orderid,jdbcType=VARCHAR},
#{invstoragecode,jdbcType=VARCHAR},
#{invwarehousecode,jdbcType=VARCHAR},
#{invspacecode,jdbcType=VARCHAR},
#{createuser,jdbcType=VARCHAR},
#{createtime,jdbcType=TIMESTAMP},
#{updatetime,jdbcType=TIMESTAMP},
#{audituser,jdbcType=VARCHAR},
#{audittime,jdbcType=TIMESTAMP},
#{status,jdbcType=BOOLEAN},
#{remark,jdbcType=VARCHAR},
update inv_count_order
orderId = #{orderid,jdbcType=VARCHAR},
invStorageCode = #{invstoragecode,jdbcType=VARCHAR},
invWarehouseCode = #{invwarehousecode,jdbcType=VARCHAR},
invSpaceCode = #{invspacecode,jdbcType=VARCHAR},
`createUser` = #{createuser,jdbcType=VARCHAR},
createTime = #{createtime,jdbcType=TIMESTAMP},
updateTime = #{updatetime,jdbcType=TIMESTAMP},
auditUser = #{audituser,jdbcType=VARCHAR},
auditTime = #{audittime,jdbcType=TIMESTAMP},
`status` = #{status,jdbcType=BOOLEAN},
remark = #{remark,jdbcType=VARCHAR},
where id = #{id,jdbcType=INTEGER}
update inv_count_order
set orderId = #{orderid,jdbcType=VARCHAR},
invStorageCode = #{invstoragecode,jdbcType=VARCHAR},
invWarehouseCode = #{invwarehousecode,jdbcType=VARCHAR},
invSpaceCode = #{invspacecode,jdbcType=VARCHAR},
`createUser` = #{createuser,jdbcType=VARCHAR},
createTime = #{createtime,jdbcType=TIMESTAMP},
updateTime = #{updatetime,jdbcType=TIMESTAMP},
auditUser = #{audituser,jdbcType=VARCHAR},
auditTime = #{audittime,jdbcType=TIMESTAMP},
`status` = #{status,jdbcType=BOOLEAN},
remark = #{remark,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
update inv_count_order
when id = #{item.id,jdbcType=INTEGER} then #{item.orderid,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=INTEGER} then #{item.invstoragecode,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=INTEGER} then #{item.invwarehousecode,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=INTEGER} then #{item.invspacecode,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=INTEGER} then #{item.createuser,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=INTEGER} then #{item.createtime,jdbcType=TIMESTAMP}
when id = #{item.id,jdbcType=INTEGER} then #{item.updatetime,jdbcType=TIMESTAMP}
when id = #{item.id,jdbcType=INTEGER} then #{item.audituser,jdbcType=VARCHAR}
when id = #{item.id,jdbcType=INTEGER} then #{item.audittime,jdbcType=TIMESTAMP}
when id = #{item.id,jdbcType=INTEGER} then #{item.status,jdbcType=BOOLEAN}
when id = #{item.id,jdbcType=INTEGER} then #{item.remark,jdbcType=VARCHAR}
where id in
#{item.id,jdbcType=INTEGER}
insert into inv_count_order
(id, orderId, invStorageCode, invWarehouseCode, invSpaceCode, `createUser`, createTime,
updateTime, auditUser, auditTime, `status`, remark)
values
(#{item.id,jdbcType=INTEGER}, #{item.orderid,jdbcType=VARCHAR}, #{item.invstoragecode,jdbcType=VARCHAR},
#{item.invwarehousecode,jdbcType=VARCHAR}, #{item.invspacecode,jdbcType=VARCHAR},
#{item.createuser,jdbcType=VARCHAR}, #{item.createtime,jdbcType=TIMESTAMP}, #{item.updatetime,jdbcType=TIMESTAMP},
#{item.audituser,jdbcType=VARCHAR}, #{item.audittime,jdbcType=TIMESTAMP}, #{item.status,jdbcType=BOOLEAN},
#{item.remark,jdbcType=VARCHAR})