|
|
@@ -35,6 +35,7 @@
|
|
|
<result column="pi_auditdate" jdbcType="TIMESTAMP" property="pi_auditdate" />
|
|
|
<result column="pi_auditman" jdbcType="VARCHAR" property="pi_auditman" />
|
|
|
<result column="pi_address" jdbcType="VARCHAR" property="pi_address" />
|
|
|
+ <result column="pi_remark" jdbcType="VARCHAR" property="pi_remark" />
|
|
|
</resultMap>
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.usoftchina.saas.storage.po.ProdInOut">
|
|
|
<result column="pi_address" jdbcType="LONGVARCHAR" property="pi_address" />
|
|
|
@@ -104,7 +105,7 @@
|
|
|
companyid, updaterid, updatetime, pi_text1, pi_text2, pi_text3, pi_text4, pi_text5
|
|
|
</sql>
|
|
|
<sql id="Blob_Column_List">
|
|
|
- pi_address
|
|
|
+ pi_address,pi_remark
|
|
|
</sql>
|
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="ResultMapWithBLOBs">
|
|
|
select
|
|
|
@@ -129,7 +130,7 @@
|
|
|
pi_printstatuscode, companyid, updaterid,
|
|
|
updatetime, pi_text1, pi_text2,
|
|
|
pi_text3, pi_text4, pi_text5,
|
|
|
- pi_address)
|
|
|
+ pi_address,pi_remark)
|
|
|
values (#{pi_id,jdbcType=INTEGER}, #{pi_inoutno,jdbcType=VARCHAR}, #{pi_class,jdbcType=VARCHAR},
|
|
|
#{pi_date,jdbcType=TIMESTAMP}, #{pi_vendid,jdbcType=INTEGER}, #{pi_vendcode,jdbcType=VARCHAR},
|
|
|
#{pi_vendname,jdbcType=VARCHAR}, #{pi_custid,jdbcType=INTEGER}, #{pi_custcode,jdbcType=VARCHAR},
|
|
|
@@ -140,7 +141,8 @@
|
|
|
#{pi_printstatuscode,jdbcType=VARCHAR}, #{companyid,jdbcType=INTEGER}, #{updaterid,jdbcType=INTEGER},
|
|
|
#{updatetime,jdbcType=TIMESTAMP}, #{pi_text1,jdbcType=VARCHAR}, #{pi_text2,jdbcType=VARCHAR},
|
|
|
#{pi_text3,jdbcType=VARCHAR}, #{pi_text4,jdbcType=VARCHAR}, #{pi_text5,jdbcType=VARCHAR},
|
|
|
- #{pi_address,jdbcType=LONGVARCHAR})
|
|
|
+ #{pi_address,jdbcType=LONGVARCHAR},
|
|
|
+ #{pi_remark,jdbcType=LONGVARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.usoftchina.saas.storage.po.ProdInOut">
|
|
|
<selectKey resultType="java.lang.Long" keyProperty="id">
|
|
|
@@ -239,6 +241,9 @@
|
|
|
<if test="pi_address != null">
|
|
|
pi_address,
|
|
|
</if>
|
|
|
+ <if test="pi_remark != null">
|
|
|
+ pi_remark,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
|
|
@@ -332,6 +337,9 @@
|
|
|
<if test="pi_address != null">
|
|
|
#{pi_address,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
|
+ <if test="pi_remark != null">
|
|
|
+ #{pi_remark,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.usoftchina.saas.storage.po.ProdInOut">
|
|
|
@@ -427,7 +435,9 @@
|
|
|
<if test="pi_address != null">
|
|
|
pi_address = #{pi_address,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
|
-
|
|
|
+ <if test="pi_remark != null">
|
|
|
+ pi_remark = #{pi_remark,jdbcType=LONGVARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where pi_id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
@@ -462,8 +472,8 @@
|
|
|
pi_text3 = #{pi_text3,jdbcType=VARCHAR},
|
|
|
pi_text4 = #{pi_text4,jdbcType=VARCHAR},
|
|
|
pi_text5 = #{pi_text5,jdbcType=VARCHAR},
|
|
|
- pi_address = #{pi_address,jdbcType=LONGVARCHAR}
|
|
|
-
|
|
|
+ pi_address = #{pi_address,jdbcType=LONGVARCHAR},
|
|
|
+ pi_remark = #{pi_remark,jdbcType=LONGVARCHAR}
|
|
|
where pi_id = #{pi_id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
<update id="updateByPrimaryKey" parameterType="com.usoftchina.saas.storage.po.ProdInOut">
|
|
|
@@ -496,7 +506,9 @@
|
|
|
pi_text2 = #{pi_text2,jdbcType=VARCHAR},
|
|
|
pi_text3 = #{pi_text3,jdbcType=VARCHAR},
|
|
|
pi_text4 = #{pi_text4,jdbcType=VARCHAR},
|
|
|
- pi_text5 = #{pi_text5,jdbcType=VARCHAR}
|
|
|
+ pi_text5 = #{pi_text5,jdbcType=VARCHAR},
|
|
|
+ pi_address = #{pi_address,jdbcType=LONGVARCHAR},
|
|
|
+ pi_remark = #{pi_remark,jdbcType=LONGVARCHAR}
|
|
|
where pi_id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
<select id="selectCodeById" resultType="string" parameterType="long">
|