|
@@ -27,6 +27,7 @@
|
|
|
<result column="out_url" property="outUrl" jdbcType="VARCHAR"/>
|
|
<result column="out_url" property="outUrl" jdbcType="VARCHAR"/>
|
|
|
<result column="out_flag" property="outFlag" jdbcType="CHAR"/>
|
|
<result column="out_flag" property="outFlag" jdbcType="CHAR"/>
|
|
|
<result column="down_payment" property="downPayment" jdbcType="DECIMAL"/>
|
|
<result column="down_payment" property="downPayment" jdbcType="DECIMAL"/>
|
|
|
|
|
+ <result column="praise" property="praise" jdbcType="INTEGER"/>
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List">
|
|
<sql id="Base_Column_List">
|
|
|
<trim suffixOverrides=",">
|
|
<trim suffixOverrides=",">
|
|
@@ -80,6 +81,8 @@
|
|
|
|
|
|
|
|
down_payment,
|
|
down_payment,
|
|
|
|
|
|
|
|
|
|
+ praise,
|
|
|
|
|
+
|
|
|
</trim>
|
|
</trim>
|
|
|
</sql>
|
|
</sql>
|
|
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer">
|
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer">
|
|
@@ -171,6 +174,9 @@
|
|
|
<if test="downPayment != null">
|
|
<if test="downPayment != null">
|
|
|
down_payment,
|
|
down_payment,
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="praise != null">
|
|
|
|
|
+ praise,
|
|
|
|
|
+ </if>
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">
|
|
<if test="id != null">
|
|
@@ -248,6 +254,9 @@
|
|
|
<if test="downPayment != null">
|
|
<if test="downPayment != null">
|
|
|
#{downPayment},
|
|
#{downPayment},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="praise != null">
|
|
|
|
|
+ #{praise},
|
|
|
|
|
+ </if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.izouma.awesomeadmin.model.ProductInfo">
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.izouma.awesomeadmin.model.ProductInfo">
|
|
@@ -328,6 +337,9 @@
|
|
|
<if test="downPayment != null">
|
|
<if test="downPayment != null">
|
|
|
down_payment = #{downPayment},
|
|
down_payment = #{downPayment},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="praise != null">
|
|
|
|
|
+ praise = #{praise},
|
|
|
|
|
+ </if>
|
|
|
</set>
|
|
</set>
|
|
|
where
|
|
where
|
|
|
<if test="id != null and !"".equals(id)">
|
|
<if test="id != null and !"".equals(id)">
|