|
|
@@ -37,6 +37,10 @@
|
|
|
<result column="pi_ioid" jdbcType="INTEGER" property="pi_ioid" />
|
|
|
<result column="pi_prstatus" jdbcType="VARCHAR" property="pi_prstatus" />
|
|
|
<result column="pi_prstatuscode" jdbcType="VARCHAR" property="pi_prstatuscode" />
|
|
|
+ <result column="pi_currency" jdbcType="VARCHAR" property="pi_currency" />
|
|
|
+ <result column="pi_sellerid" jdbcType="INTEGER" property="pi_sellerid" />
|
|
|
+ <result column="pi_sellercode" jdbcType="VARCHAR" property="pi_sellercode" />
|
|
|
+ <result column="pi_seller" jdbcType="VARCHAR" property="pi_seller" />
|
|
|
</resultMap>
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.usoftchina.saas.storage.po.ProdInOut">
|
|
|
<result column="pi_address" jdbcType="LONGVARCHAR" property="pi_address" />
|
|
|
@@ -234,15 +238,27 @@
|
|
|
<if test="pi_iocode != null">
|
|
|
pi_iocode,
|
|
|
</if>
|
|
|
- <if test="pi_ioid != null">
|
|
|
+ <if test="pi_ioid != null">
|
|
|
pi_ioid,
|
|
|
- </if>
|
|
|
+ </if>
|
|
|
<if test="pi_prstatus!=null">
|
|
|
pi_prstatus,
|
|
|
</if>
|
|
|
<if test="pi_prstatuscode!=null">
|
|
|
pi_prstatuscode,
|
|
|
</if>
|
|
|
+ <if test="pi_currency != null">
|
|
|
+ pi_currency,
|
|
|
+ </if>
|
|
|
+ <if test="pi_sellerid != null">
|
|
|
+ pi_sellerid,
|
|
|
+ </if>
|
|
|
+ <if test="pi_sellercode != null">
|
|
|
+ pi_sellercode,
|
|
|
+ </if>
|
|
|
+ <if test="pi_seller != null">
|
|
|
+ pi_seller,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
|
|
@@ -342,6 +358,18 @@
|
|
|
<if test="pi_prstatuscode!=null">
|
|
|
#{pi_prstatuscode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="pi_currency!=null">
|
|
|
+ #{pi_currency,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="pi_sellerid != null">
|
|
|
+ pi_sellerid = #{pi_sellerid,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="pi_sellercode != null">
|
|
|
+ pi_sellercode = #{pi_sellercode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="pi_seller != null">
|
|
|
+ pi_seller = #{pi_seller,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.usoftchina.saas.storage.po.ProdInOut">
|
|
|
@@ -437,6 +465,18 @@
|
|
|
<if test="pi_prstatuscode!=null">
|
|
|
pi_prstatuscode = #{pi_prstatuscode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="pi_currency!=null">
|
|
|
+ pi_currency = #{pi_currency,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="pi_sellerid != null">
|
|
|
+ pi_sellerid = #{pi_sellerid,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="pi_sellercode!=null">
|
|
|
+ pi_sellercode = #{pi_sellercode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="pi_seller!=null">
|
|
|
+ pi_seller = #{pi_seller,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where pi_id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|