...
|
...
|
@@ -4,7 +4,7 @@ |
|
|
<resultMap id="BaseResultMap" type="com.yoho.search.dal.model.SknCtrValue" >
|
|
|
<id column="product_skn" property="productSkn" jdbcType="INTEGER" />
|
|
|
<result column="date_id" property="dateId" jdbcType="VARCHAR" />
|
|
|
<result column="ctr_value" property="ctrValue" jdbcType="INTEGER" />
|
|
|
<result column="ctr_value" property="ctrValue" jdbcType="BigDecimal" />
|
|
|
<result column="create_time" property="createTime" jdbcType="INTEGER" />
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List" >
|
...
|
...
|
@@ -23,7 +23,7 @@ |
|
|
<insert id="insert" parameterType="com.yoho.search.dal.model.SknCtrValue" >
|
|
|
insert into skn_ctr_value (product_skn, date_id, ctr_value,
|
|
|
create_time)
|
|
|
values (#{productSkn,jdbcType=INTEGER}, #{dateId,jdbcType=VARCHAR}, #{ctrValue,jdbcType=INTEGER},
|
|
|
values (#{productSkn,jdbcType=INTEGER}, #{dateId,jdbcType=VARCHAR}, #{ctrValue,jdbcType=BigDecimal},
|
|
|
#{createTime,jdbcType=INTEGER})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.yoho.search.dal.model.SknCtrValue" >
|
...
|
...
|
@@ -50,7 +50,7 @@ |
|
|
#{dateId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="ctrValue != null" >
|
|
|
#{ctrValue,jdbcType=INTEGER},
|
|
|
#{ctrValue,jdbcType=BigDecimal},
|
|
|
</if>
|
|
|
<if test="createTime != null" >
|
|
|
#{createTime,jdbcType=INTEGER},
|
...
|
...
|
@@ -64,7 +64,7 @@ |
|
|
date_id = #{dateId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="ctrValue != null" >
|
|
|
ctr_value = #{ctrValue,jdbcType=INTEGER},
|
|
|
ctr_value = #{ctrValue,jdbcType=BigDecimal},
|
|
|
</if>
|
|
|
<if test="createTime != null" >
|
|
|
create_time = #{createTime,jdbcType=INTEGER},
|
...
|
...
|
@@ -75,7 +75,7 @@ |
|
|
<update id="updateByPrimaryKey" parameterType="com.yoho.search.dal.model.SknCtrValue" >
|
|
|
update skn_ctr_value
|
|
|
set date_id = #{dateId,jdbcType=VARCHAR},
|
|
|
ctr_value = #{ctrValue,jdbcType=INTEGER},
|
|
|
ctr_value = #{ctrValue,jdbcType=BigDecimal},
|
|
|
create_time = #{createTime,jdbcType=INTEGER}
|
|
|
where product_skn = #{productSkn,jdbcType=INTEGER}
|
|
|
</update>
|
...
|
...
|
|