|
@@ -4,7 +4,7 @@
|
|
|
<resultMap type="ProdInventoryOrder" id="ProdInventoryOrderResult">
|
|
<resultMap type="ProdInventoryOrder" id="ProdInventoryOrderResult">
|
|
|
<result property="inventoryOrderId" column="inventoryOrderId" />
|
|
<result property="inventoryOrderId" column="inventoryOrderId" />
|
|
|
<result property="ioFlag" column="ioFlag" />
|
|
<result property="ioFlag" column="ioFlag" />
|
|
|
- <result property="iotype" column="iotype" />
|
|
|
|
|
|
|
+ <result property="ioType" column="ioType" />
|
|
|
<result property="inId" column="inId" />
|
|
<result property="inId" column="inId" />
|
|
|
<result property="outId" column="outId" />
|
|
<result property="outId" column="outId" />
|
|
|
<result property="remark" column="remark" />
|
|
<result property="remark" column="remark" />
|
|
@@ -16,14 +16,14 @@
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
|
|
<sql id="selectProdInventoryOrder">
|
|
<sql id="selectProdInventoryOrder">
|
|
|
- select inventoryOrderId, ioFlag, iotype, inId, outId, remark, delFlag, createUser, createTime, updateUser, updateTime from t_prod_inventory_order
|
|
|
|
|
|
|
+ select inventoryOrderId, ioFlag, ioType, inId, outId, remark, delFlag, createUser, createTime, updateUser, updateTime from t_prod_inventory_order
|
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
|
|
<sql id="selectProdInventoryOrderExt">
|
|
<sql id="selectProdInventoryOrderExt">
|
|
|
select
|
|
select
|
|
|
${tableAlias}.inventoryOrderId,
|
|
${tableAlias}.inventoryOrderId,
|
|
|
${tableAlias}.ioFlag,
|
|
${tableAlias}.ioFlag,
|
|
|
- ${tableAlias}.iotype,
|
|
|
|
|
|
|
+ ${tableAlias}.ioType,
|
|
|
${tableAlias}.inId,
|
|
${tableAlias}.inId,
|
|
|
${tableAlias}.outId,
|
|
${tableAlias}.outId,
|
|
|
${tableAlias}.remark,
|
|
${tableAlias}.remark,
|
|
@@ -39,7 +39,7 @@
|
|
|
<include refid="selectProdInventoryOrder"/>
|
|
<include refid="selectProdInventoryOrder"/>
|
|
|
<where>
|
|
<where>
|
|
|
<if test="ioFlag != null and ioFlag != ''"> and ioFlag = #{ioFlag}</if>
|
|
<if test="ioFlag != null and ioFlag != ''"> and ioFlag = #{ioFlag}</if>
|
|
|
- <if test="iotype != null and iotype != ''"> and iotype = #{iotype}</if>
|
|
|
|
|
|
|
+ <if test="ioType != null and ioType != ''"> and ioType = #{ioType}</if>
|
|
|
<if test="inId != null "> and inId = #{inId}</if>
|
|
<if test="inId != null "> and inId = #{inId}</if>
|
|
|
<if test="outId != null "> and outId = #{outId}</if>
|
|
<if test="outId != null "> and outId = #{outId}</if>
|
|
|
<if test="delFlag != null and delFlag != ''"> and delFlag = #{delFlag}</if>
|
|
<if test="delFlag != null and delFlag != ''"> and delFlag = #{delFlag}</if>
|
|
@@ -59,7 +59,7 @@
|
|
|
insert into t_prod_inventory_order
|
|
insert into t_prod_inventory_order
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
<if test="ioFlag != null">ioFlag,</if>
|
|
<if test="ioFlag != null">ioFlag,</if>
|
|
|
- <if test="iotype != null">iotype,</if>
|
|
|
|
|
|
|
+ <if test="ioType != null">ioType,</if>
|
|
|
<if test="inId != null">inId,</if>
|
|
<if test="inId != null">inId,</if>
|
|
|
<if test="outId != null">outId,</if>
|
|
<if test="outId != null">outId,</if>
|
|
|
<if test="remark != null">remark,</if>
|
|
<if test="remark != null">remark,</if>
|
|
@@ -71,7 +71,7 @@
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="ioFlag != null">#{ioFlag},</if>
|
|
<if test="ioFlag != null">#{ioFlag},</if>
|
|
|
- <if test="iotype != null">#{iotype},</if>
|
|
|
|
|
|
|
+ <if test="ioType != null">#{ioType},</if>
|
|
|
<if test="inId != null">#{inId},</if>
|
|
<if test="inId != null">#{inId},</if>
|
|
|
<if test="outId != null">#{outId},</if>
|
|
<if test="outId != null">#{outId},</if>
|
|
|
<if test="remark != null">#{remark},</if>
|
|
<if test="remark != null">#{remark},</if>
|
|
@@ -84,9 +84,9 @@
|
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
|
|
<insert id="batchInsertProdInventoryOrder">
|
|
<insert id="batchInsertProdInventoryOrder">
|
|
|
- insert into t_prod_inventory_order( ioFlag, iotype, inId, outId, remark, delFlag, createUser, createTime, updateUser, updateTime) values
|
|
|
|
|
|
|
+ insert into t_prod_inventory_order( ioFlag, ioType, inId, outId, remark, delFlag, createUser, createTime, updateUser, updateTime) values
|
|
|
<foreach item="item" index="index" collection="list" separator=",">
|
|
<foreach item="item" index="index" collection="list" separator=",">
|
|
|
- ( #{item.ioFlag}, #{item.iotype}, #{item.inId}, #{item.outId}, #{item.remark}, #{item.delFlag}, #{item.createUser}, #{item.createTime}, #{item.updateUser}, #{item.updateTime})
|
|
|
|
|
|
|
+ ( #{item.ioFlag}, #{item.ioType}, #{item.inId}, #{item.outId}, #{item.remark}, #{item.delFlag}, #{item.createUser}, #{item.createTime}, #{item.updateUser}, #{item.updateTime})
|
|
|
</foreach>
|
|
</foreach>
|
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
|
@@ -94,7 +94,7 @@
|
|
|
update t_prod_inventory_order
|
|
update t_prod_inventory_order
|
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
|
<if test="ioFlag != null">ioFlag = #{ioFlag},</if>
|
|
<if test="ioFlag != null">ioFlag = #{ioFlag},</if>
|
|
|
- <if test="iotype != null">iotype = #{iotype},</if>
|
|
|
|
|
|
|
+ <if test="ioType != null">ioType = #{ioType},</if>
|
|
|
<if test="inId != null">inId = #{inId},</if>
|
|
<if test="inId != null">inId = #{inId},</if>
|
|
|
<if test="outId != null">outId = #{outId},</if>
|
|
<if test="outId != null">outId = #{outId},</if>
|
|
|
<if test="remark != null">remark = #{remark},</if>
|
|
<if test="remark != null">remark = #{remark},</if>
|
|
@@ -138,7 +138,7 @@
|
|
|
set delFlag = '1'
|
|
set delFlag = '1'
|
|
|
<where>
|
|
<where>
|
|
|
<if test="ioFlag != null and ioFlag != ''"> and ioFlag = #{ioFlag}</if>
|
|
<if test="ioFlag != null and ioFlag != ''"> and ioFlag = #{ioFlag}</if>
|
|
|
- <if test="iotype != null and iotype != ''"> and iotype = #{iotype}</if>
|
|
|
|
|
|
|
+ <if test="ioType != null and ioType != ''"> and ioType = #{ioType}</if>
|
|
|
<if test="inId != null "> and inId = #{inId}</if>
|
|
<if test="inId != null "> and inId = #{inId}</if>
|
|
|
<if test="outId != null "> and outId = #{outId}</if>
|
|
<if test="outId != null "> and outId = #{outId}</if>
|
|
|
<if test="delFlag != null and delFlag != ''"> and delFlag = #{delFlag}</if>
|
|
<if test="delFlag != null and delFlag != ''"> and delFlag = #{delFlag}</if>
|