|
|
@@ -31,6 +31,7 @@
|
|
|
<result column="pr_text3" property="pr_text3" jdbcType="VARCHAR"/>
|
|
|
<result column="pr_text4" property="pr_text4" jdbcType="VARCHAR"/>
|
|
|
<result column="pr_text5" property="pr_text5" jdbcType="VARCHAR"/>
|
|
|
+ <result column="pr_remark" property="pr_remark" jdbcType="VARCHAR"/>
|
|
|
</resultMap>
|
|
|
<resultMap id="ProductDTOResultMapper" type="com.usoftchina.saas.document.dto.ProductDTO">
|
|
|
<id column="pr_id" property="id" jdbcType="INTEGER"/>
|
|
|
@@ -53,6 +54,7 @@
|
|
|
<result column="pr_leadtime" property="pr_leadtime" jdbcType="INTEGER"/>
|
|
|
<result column="pr_status" property="pr_status" jdbcType="VARCHAR"/>
|
|
|
<result column="pr_statuscode" property="pr_statuscode" jdbcType="VARCHAR"/>
|
|
|
+ <result column="pr_remark" property="pr_remark" jdbcType="VARCHAR"/>
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
@@ -97,7 +99,7 @@
|
|
|
pr_whname, pr_zxbzs, pr_leadtime, pr_brand, pr_standardprice, pr_purcprice, pr_saleprice,
|
|
|
pr_vendid, pr_vendcode, pr_vendname, pr_status,
|
|
|
pr_statuscode, companyId, updaterId, updateTime, pr_text1, pr_text2, pr_text3,
|
|
|
- pr_text4, pr_text5
|
|
|
+ pr_text4, pr_text5,pr_remark
|
|
|
</sql>
|
|
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Long">
|
|
|
select
|
|
|
@@ -233,6 +235,9 @@
|
|
|
<if test="creatorName != null" >
|
|
|
creatorName,
|
|
|
</if>
|
|
|
+ <if test="pr_remark != null" >
|
|
|
+ pr_remark,
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="pr_code != null">
|
|
|
@@ -328,6 +333,9 @@
|
|
|
<if test="creatorName != null" >
|
|
|
#{creatorName,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="pr_remark != null" >
|
|
|
+ #{pr_remark,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.usoftchina.saas.document.entities.Product">
|
|
|
@@ -417,6 +425,9 @@
|
|
|
<if test="pr_text5 != null">
|
|
|
pr_text5 = #{pr_text5,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="pr_remark != null">
|
|
|
+ pr_remark = #{pr_remark,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where pr_id = #{id}
|
|
|
</update>
|