|
|
@@ -24,9 +24,13 @@
|
|
|
<result column="pi_statuscode" jdbcType="VARCHAR" property="pi_statuscode" />
|
|
|
<result column="pi_printstatus" jdbcType="VARCHAR" property="pi_printstatus" />
|
|
|
<result column="pi_printstatuscode" jdbcType="VARCHAR" property="pi_printstatuscode" />
|
|
|
- <result column="companyid" jdbcType="INTEGER" property="companyId" />
|
|
|
- <result column="updaterid" jdbcType="INTEGER" property="updaterId" />
|
|
|
- <result column="updatetime" jdbcType="TIMESTAMP" property="updateTime" />
|
|
|
+ <result column="companyid" property="companyId" jdbcType="BIGINT" />
|
|
|
+ <result column="updaterId" property="updaterId" jdbcType="INTEGER" />
|
|
|
+ <result column="updateTime" property="updateTime" jdbcType="TIMESTAMP" />
|
|
|
+ <result column="updater" jdbcType="VARCHAR" property="updater" />
|
|
|
+ <result column="creatorid" property="creatorId" jdbcType="INTEGER"/>
|
|
|
+ <result column="createtime" property="createTime" jdbcType="TIMESTAMP" />
|
|
|
+ <result column="creator" property="creator" jdbcType="VARCHAR" />
|
|
|
<result column="pi_text1" jdbcType="VARCHAR" property="pi_text1" />
|
|
|
<result column="pi_text2" jdbcType="VARCHAR" property="pi_text2" />
|
|
|
<result column="pi_text3" jdbcType="VARCHAR" property="pi_text3" />
|
|
|
@@ -48,7 +52,7 @@
|
|
|
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,pi_auditdate,
|
|
|
+ companyid, updaterid, updatetime,updater,creatorid,createtime,creator, pi_text1, pi_text2, pi_text3, pi_text4, pi_text5,pi_auditdate,
|
|
|
pi_auditman,pi_remark
|
|
|
</sql>
|
|
|
<sql id="Blob_Column_List">
|
|
|
@@ -62,6 +66,7 @@
|
|
|
from prodinout
|
|
|
where pi_id = #{pi_id,jdbcType=INTEGER}
|
|
|
</select>
|
|
|
+
|
|
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
|
|
|
delete from prodinout
|
|
|
where pi_id = #{pi_id,jdbcType=INTEGER}
|
|
|
@@ -122,9 +127,6 @@
|
|
|
<if test="pi_recordman != null">
|
|
|
pi_recordman,
|
|
|
</if>
|
|
|
- <if test="createTime != null">
|
|
|
- pi_recorddate,
|
|
|
- </if>
|
|
|
<if test="pi_status != null">
|
|
|
pi_status,
|
|
|
</if>
|
|
|
@@ -137,18 +139,33 @@
|
|
|
<if test="pi_printstatuscode != null">
|
|
|
pi_printstatuscode,
|
|
|
</if>
|
|
|
- <if test="companyId != null">
|
|
|
+
|
|
|
+ <if test="companyId != null" >
|
|
|
companyid,
|
|
|
</if>
|
|
|
- <if test="updaterId != null">
|
|
|
- updaterid,
|
|
|
+ <if test="updaterId != null" >
|
|
|
+ updaterId,
|
|
|
+ </if>
|
|
|
+ <if test="updateTime != null" >
|
|
|
+ updateTime,
|
|
|
+ </if>
|
|
|
+ <if test="updater != null" >
|
|
|
+ updater,
|
|
|
</if>
|
|
|
- <if test="updateTime != null">
|
|
|
- updatetime,
|
|
|
+ <if test="creatorId != null" >
|
|
|
+ creatorId,
|
|
|
</if>
|
|
|
+ <if test="createTime != null" >
|
|
|
+ createTime,
|
|
|
+ </if>
|
|
|
+ <if test="creator != null" >
|
|
|
+ creator,
|
|
|
+ </if>
|
|
|
+
|
|
|
<if test="pi_text1 != null">
|
|
|
pi_text1,
|
|
|
</if>
|
|
|
+
|
|
|
<if test="pi_text2 != null">
|
|
|
pi_text2,
|
|
|
</if>
|
|
|
@@ -224,9 +241,6 @@
|
|
|
<if test="pi_recordman != null">
|
|
|
#{pi_recordman,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="createTime != null">
|
|
|
- #{createTime,jdbcType=TIMESTAMP},
|
|
|
- </if>
|
|
|
<if test="pi_status != null">
|
|
|
#{pi_status,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
@@ -239,15 +253,29 @@
|
|
|
<if test="pi_printstatuscode != null">
|
|
|
#{pi_printstatuscode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="companyId != null">
|
|
|
+
|
|
|
+ <if test="companyId != null" >
|
|
|
#{companyId,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
- <if test="updaterId != null">
|
|
|
+ <if test="updaterId != null" >
|
|
|
#{updaterId,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
- <if test="updateTime != null">
|
|
|
+ <if test="updateTime != null" >
|
|
|
#{updateTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
+ <if test="updater != null" >
|
|
|
+ #{updater,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="creatorId != null" >
|
|
|
+ #{creatorId,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="createTime != null" >
|
|
|
+ #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="creator != null" >
|
|
|
+ #{creator,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+
|
|
|
<if test="pi_text1 != null">
|
|
|
#{pi_text1,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
@@ -345,14 +373,17 @@
|
|
|
<if test="pi_printstatuscode != null">
|
|
|
pi_printstatuscode = #{pi_printstatuscode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="companyId != null">
|
|
|
+ <if test="companyId != null" >
|
|
|
companyid = #{companyId,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
- <if test="updaterId != null">
|
|
|
- updaterid = #{updaterId,jdbcType=INTEGER},
|
|
|
+ <if test="updaterId != null" >
|
|
|
+ updaterId = #{updaterId,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="updateTime != null" >
|
|
|
+ updateTime = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
- <if test="updateTime != null">
|
|
|
- updatetime = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
+ <if test="updater != null" >
|
|
|
+ updater = #{updater,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="pi_text1 != null">
|
|
|
pi_text1 = #{pi_text1,jdbcType=VARCHAR},
|
|
|
@@ -407,9 +438,11 @@
|
|
|
pi_statuscode = #{pi_statuscode,jdbcType=VARCHAR},
|
|
|
pi_printstatus = #{pi_printstatus,jdbcType=VARCHAR},
|
|
|
pi_printstatuscode = #{pi_printstatuscode,jdbcType=VARCHAR},
|
|
|
- companyid = #{companyid,jdbcType=INTEGER},
|
|
|
- updaterid = #{updaterid,jdbcType=INTEGER},
|
|
|
- updatetime = #{updatetime,jdbcType=TIMESTAMP},
|
|
|
+
|
|
|
+ companyid = #{companyId,jdbcType=INTEGER},
|
|
|
+ updaterId = #{updaterId,jdbcType=INTEGER},
|
|
|
+ updateTime = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
+ updater = #{updater,jdbcType=VARCHAR},
|
|
|
pi_text1 = #{pi_text1,jdbcType=VARCHAR},
|
|
|
pi_text2 = #{pi_text2,jdbcType=VARCHAR},
|
|
|
pi_text3 = #{pi_text3,jdbcType=VARCHAR},
|
|
|
@@ -445,8 +478,9 @@
|
|
|
pi_printstatus = #{pi_printstatus,jdbcType=VARCHAR},
|
|
|
pi_printstatuscode = #{pi_printstatuscode,jdbcType=VARCHAR},
|
|
|
companyid = #{companyId,jdbcType=INTEGER},
|
|
|
- updaterid = #{updaterId,jdbcType=INTEGER},
|
|
|
- updatetime = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
+ updaterId = #{updaterId,jdbcType=INTEGER},
|
|
|
+ updateTime = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
+ updater = #{updater,jdbcType=VARCHAR},
|
|
|
pi_text1 = #{pi_text1,jdbcType=VARCHAR},
|
|
|
pi_text2 = #{pi_text2,jdbcType=VARCHAR},
|
|
|
pi_text3 = #{pi_text3,jdbcType=VARCHAR},
|