|
|
@@ -34,7 +34,7 @@
|
|
|
<result column="pi_text5" jdbcType="VARCHAR" property="pi_text5" />
|
|
|
<result column="pi_auditdate" jdbcType="TIMESTAMP" property="pi_auditdate" />
|
|
|
<result column="pi_auditman" jdbcType="VARCHAR" property="pi_auditman" />
|
|
|
-
|
|
|
+ <result column="pi_remark" jdbcType="VARCHAR" property="pi_remark" />
|
|
|
|
|
|
</resultMap>
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.usoftchina.saas.storage.po.ProdInOut">
|
|
|
@@ -47,7 +47,8 @@
|
|
|
pi_id, pi_inoutno, pi_class, pi_date, pi_vendid, pi_vendcode, pi_vendname, pi_custid,
|
|
|
pi_custcode, pi_custname, pi_puid, pi_pucode, pi_said, pi_sacode, pi_total, pi_recordmanid,
|
|
|
pi_recordman, pi_recorddate, pi_status, pi_statuscode, pi_printstatus, pi_printstatuscode,
|
|
|
- companyid, updaterid, updatetime, pi_text1, pi_text2, pi_text3, pi_text4, pi_text5
|
|
|
+ companyid, updaterid, updatetime, pi_text1, pi_text2, pi_text3, pi_text4, pi_text5,pi_auditdate,
|
|
|
+ pi_auditman,pi_remark
|
|
|
</sql>
|
|
|
<sql id="Blob_Column_List">
|
|
|
pi_address
|
|
|
@@ -162,6 +163,15 @@
|
|
|
<if test="pi_address != null">
|
|
|
pi_address,
|
|
|
</if>
|
|
|
+ <if test="pi_auditdate != null">
|
|
|
+ pi_auditdate,
|
|
|
+ </if>
|
|
|
+ <if test="pi_auditman != null">
|
|
|
+ pi_auditman,
|
|
|
+ </if>
|
|
|
+ <if test="pi_remark != null">
|
|
|
+ pi_remark,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
|
|
@@ -255,6 +265,15 @@
|
|
|
<if test="pi_address != null">
|
|
|
#{pi_address,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
|
+ <if test="pi_auditdate != null">
|
|
|
+ #{pi_auditdate,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="pi_auditman != null">
|
|
|
+ #{pi_auditman,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="pi_remark != null">
|
|
|
+ #{pi_remark,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
|
@@ -351,7 +370,15 @@
|
|
|
<if test="pi_address != null">
|
|
|
pi_address = #{pi_address,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
|
-
|
|
|
+ <if test="pi_auditdate != null">
|
|
|
+ pi_auditdate = #{pi_auditdate,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="pi_auditman != null">
|
|
|
+ pi_auditman = #{pi_auditman,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="pi_remark != null">
|
|
|
+ pi_remark = #{pi_remark,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where pi_id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
@@ -386,8 +413,10 @@
|
|
|
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_auditdate = #{pi_auditdate,jdbcType=TIMESTAMP},
|
|
|
+ pi_auditman = #{pi_auditman,jdbcType=VARCHAR},
|
|
|
+ pi_remark = #{pi_remark,jdbcType=VARCHAR}
|
|
|
where pi_id = #{pi_id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
<update id="updateByPrimaryKey" parameterType="com.usoftchina.saas.storage.po.ProdInOut">
|
|
|
@@ -420,7 +449,11 @@
|
|
|
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_auditdate = #{pi_auditdate,jdbcType=TIMESTAMP},
|
|
|
+ pi_auditman = #{pi_auditman,jdbcType=VARCHAR},
|
|
|
+ pi_remark = #{pi_remark,jdbcType=VARCHAR}
|
|
|
where pi_id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
|