|
|
@@ -36,6 +36,7 @@
|
|
|
<result column="pu_text3" property="pu_text3" jdbcType="VARCHAR" />
|
|
|
<result column="pu_text4" property="pu_text4" jdbcType="VARCHAR" />
|
|
|
<result column="pu_text5" property="pu_text5" jdbcType="VARCHAR" />
|
|
|
+ <result column="pu_currency" property="pu_currency" jdbcType="VARCHAR" />
|
|
|
</resultMap>
|
|
|
<resultMap id="ResultMapWithBLOBs" type="com.usoftchina.saas.purchase.po.Purchase" extends="BaseResultMap" >
|
|
|
<result column="PU_SHIPADDRESSCODE" property="pu_shipaddresscode" jdbcType="LONGVARCHAR" />
|
|
|
@@ -46,7 +47,7 @@
|
|
|
PU_BUYERNAME, PU_DELIVERY, PU_TAXTOTAL, PU_TOTAL, PU_REMARK, PU_TOTALUPPER,
|
|
|
PU_PRINTSTATUS, PU_PRINTSTATUSCODE, PU_ACCEPTSTATUSCODE, PU_ACCEPTSTATUS, PU_STATUSCODE,
|
|
|
PU_STATUS, companyid, updaterId,updaterName,updateTime,creatorid,creatorName,createtime, pu_text1, pu_text2, pu_text3, pu_text4,
|
|
|
- pu_text5,pu_auditman,pu_auditdate
|
|
|
+ pu_text5,pu_auditman,pu_auditdate,pu_currency
|
|
|
</sql>
|
|
|
<sql id="Blob_Column_List" >
|
|
|
PU_SHIPADDRESSCODE
|
|
|
@@ -166,6 +167,9 @@
|
|
|
<if test="pu_shipaddresscode != null" >
|
|
|
PU_SHIPADDRESSCODE,
|
|
|
</if>
|
|
|
+ <if test="pu_currency != null" >
|
|
|
+ pu_currency,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
|
<if test="pu_code != null" >
|
|
|
@@ -264,6 +268,9 @@
|
|
|
<if test="pu_shipaddresscode != null" >
|
|
|
#{pu_shipaddresscode,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
|
+ <if test="pu_currency != null" >
|
|
|
+ #{pu_currency,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.usoftchina.saas.purchase.po.Purchase" >
|
|
|
@@ -362,6 +369,9 @@
|
|
|
<if test="pu_auditdate != null" >
|
|
|
pu_auditdate = #{pu_auditdate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
+ <if test="pu_currency != null" >
|
|
|
+ pu_currency = #{pu_currency,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where pu_id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|