|
|
@@ -32,7 +32,7 @@
|
|
|
<result column="pi_text3" jdbcType="VARCHAR" property="pi_text3" />
|
|
|
<result column="pi_text4" jdbcType="VARCHAR" property="pi_text4" />
|
|
|
<result column="pi_text5" jdbcType="VARCHAR" property="pi_text5" />
|
|
|
- <result column="pi_inid" jdbcType="INTEGER" property="pi_inid" />
|
|
|
+
|
|
|
|
|
|
|
|
|
</resultMap>
|
|
|
@@ -101,7 +101,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_inid
|
|
|
+ companyid, updaterid, updatetime, pi_text1, pi_text2, pi_text3, pi_text4, pi_text5
|
|
|
</sql>
|
|
|
<sql id="Blob_Column_List">
|
|
|
pi_address
|
|
|
@@ -165,7 +165,7 @@
|
|
|
pi_printstatuscode, companyid, updaterid,
|
|
|
updatetime, pi_text1, pi_text2,
|
|
|
pi_text3, pi_text4, pi_text5,
|
|
|
- pi_address,pi_inid)
|
|
|
+ pi_address)
|
|
|
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},
|
|
|
@@ -176,7 +176,7 @@
|
|
|
#{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_inid,jdbcType=INTEGER})
|
|
|
+ #{pi_address,jdbcType=LONGVARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.usoftchina.saas.purchase.po.ProdInOut">
|
|
|
<selectKey resultType="java.lang.Long" keyProperty="id">
|
|
|
@@ -275,9 +275,6 @@
|
|
|
<if test="pi_address != null">
|
|
|
pi_address,
|
|
|
</if>
|
|
|
- <if test="pi_inid != null">
|
|
|
- pi_inid,
|
|
|
- </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
|
|
@@ -371,11 +368,6 @@
|
|
|
<if test="pi_address != null">
|
|
|
#{pi_address,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
|
- <if test="pi_inid != null">
|
|
|
- #{pi_inid,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
-
|
|
|
-
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<select id="countByExample" parameterType="com.usoftchina.saas.purchase.po.ProdInOutExample" resultType="java.lang.Long">
|
|
|
@@ -480,9 +472,6 @@
|
|
|
<if test="record.pi_address != null">
|
|
|
pi_address = #{record.pi_address,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
|
- <if test="record.pi_inid != null">
|
|
|
- pi_address = #{record.pi_inid,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
|
|
|
</set>
|
|
|
<if test="_parameter != null">
|
|
|
@@ -521,10 +510,7 @@
|
|
|
pi_text3 = #{record.pi_text3,jdbcType=VARCHAR},
|
|
|
pi_text4 = #{record.pi_text4,jdbcType=VARCHAR},
|
|
|
pi_text5 = #{record.pi_text5,jdbcType=VARCHAR},
|
|
|
- pi_address = #{record.pi_address,jdbcType=LONGVARCHAR},
|
|
|
- pi_inid = #{record.pi_inid,jdbcType=INTEGER}
|
|
|
-
|
|
|
-
|
|
|
+ pi_address = #{record.pi_address,jdbcType=LONGVARCHAR}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
|
@@ -560,9 +546,7 @@
|
|
|
pi_text2 = #{record.pi_text2,jdbcType=VARCHAR},
|
|
|
pi_text3 = #{record.pi_text3,jdbcType=VARCHAR},
|
|
|
pi_text4 = #{record.pi_text4,jdbcType=VARCHAR},
|
|
|
- pi_text5 = #{record.pi_text5,jdbcType=VARCHAR},
|
|
|
- pi_inid = #{record.pi_inid,jdbcType=INTEGER}
|
|
|
-
|
|
|
+ pi_text5 = #{record.pi_text5,jdbcType=VARCHAR}
|
|
|
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
@@ -661,10 +645,6 @@
|
|
|
<if test="pi_address != null">
|
|
|
pi_address = #{pi_address,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
|
- <if test="pi_inid != null">
|
|
|
- pi_inid = #{pi_inid,jdbcType=INTEGER},
|
|
|
- </if>
|
|
|
-
|
|
|
|
|
|
</set>
|
|
|
where pi_id = #{id,jdbcType=INTEGER}
|
|
|
@@ -700,8 +680,7 @@
|
|
|
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_inid = #{pi_inid,jdbcType=INTEGER}
|
|
|
+ pi_address = #{pi_address,jdbcType=LONGVARCHAR}
|
|
|
|
|
|
where pi_id = #{pi_id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
@@ -735,8 +714,7 @@
|
|
|
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_inid = #{pi_inid,jdbcType=INTEGER}
|
|
|
+ pi_text5 = #{pi_text5,jdbcType=VARCHAR}
|
|
|
where pi_id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
|
</mapper>
|