|
|
@@ -175,6 +175,9 @@
|
|
|
<if test="pu_rate != null" >
|
|
|
pu_rate,
|
|
|
</if>
|
|
|
+ <if test="pu_venduu != null" >
|
|
|
+ pu_venduu,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
|
<if test="pu_code != null" >
|
|
|
@@ -279,6 +282,9 @@
|
|
|
<if test="pu_rate != null" >
|
|
|
#{pu_rate,jdbcType=DOUBLE},
|
|
|
</if>
|
|
|
+ <if test="pu_venduu != null" >
|
|
|
+ #{pu_venduu,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.usoftchina.saas.purchase.po.Purchase" >
|
|
|
@@ -386,6 +392,9 @@
|
|
|
<if test="b2bStatus != null">
|
|
|
b2bStatus = #{b2bStatus,jdbcType=DOUBLE}
|
|
|
</if>
|
|
|
+ <if test="pu_venduu != null">
|
|
|
+ pu_venduu = #{pu_venduu,jdbcType=VARCHAR}
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where pu_id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|