Authored by hugufei

update csrecallconfigcommon.json

... ... @@ -4,6 +4,8 @@
<resultMap id="BaseResultMap" type="com.yoho.search.dal.model.CsRecallConfigCommon">
<id column="id" property="id" jdbcType="INTEGER"/>
<result column="config_page" property="configPage" jdbcType="INTEGER"/>
<result column="order_type" property="orderType" jdbcType="INTEGER"/>
<result column="ab_type" property="abType" jdbcType="INTEGER"/>
<result column="config_type" property="configType" jdbcType="VARCHAR"/>
<result column="description" property="description" jdbcType="VARCHAR"/>
<result column="size" property="size" jdbcType="INTEGER"/>
... ... @@ -11,37 +13,38 @@
<result column="interval" property="interval" jdbcType="INTEGER"/>
<result column="interval_limit" property="intervalLimit" jdbcType="VARCHAR"/>
<result column="insert_order" property="insertOrder" jdbcType="INTEGER"/>
<result column="ab_type" property="abType" jdbcType="INTEGER"/>
<result column="update_time" property="updateTime" jdbcType="TIMESTAMP"/>
</resultMap>
<sql id="Base_Column_List">
id, config_page, config_type, description, `size`, size_limit, `interval`, interval_limit, insert_order, ab_type, update_time
id, config_page, order_type, ab_type, config_type, description, `size`, size_limit, `interval`, interval_limit, insert_order , update_time
</sql>
<insert id="insert" parameterType="com.yoho.search.dal.model.CsRecallConfigCommon" timeout="20000">
insert ignore into cs_recall_config_common (
id,
config_page,
order_type,
ab_type,
config_type,
description,
`size`,
size_limit,
`interval`,
interval_limit,
insert_order,
ab_type )
insert_order)
values (
#{id,jdbcType=INTEGER},
#{configPage,jdbcType=INTEGER},
#{orderType,jdbcType=INTEGER},
#{abType,jdbcType=INTEGER},
#{configType,jdbcType=VARCHAR},
#{description,jdbcType=VARCHAR},
#{size,jdbcType=INTEGER},
#{sizeLimit,jdbcType=VARCHAR},
#{interval,jdbcType=INTEGER},
#{intervalLimit,jdbcType=VARCHAR},
#{insertOrder,jdbcType=INTEGER},
#{abType,jdbcType=INTEGER}
#{insertOrder,jdbcType=INTEGER}
)
</insert>
... ... @@ -51,6 +54,12 @@
<if test="configPage != null">
config_page = #{configPage,jdbcType=INTEGER},
</if>
<if test="orderType != null">
order_type = #{orderType,jdbcType=INTEGER},
</if>
<if test="abType != null">
ab_type = #{abType,jdbcType=INTEGER},
</if>
<if test="configType != null">
config_type = #{configType,jdbcType=VARCHAR},
</if>
... ... @@ -70,10 +79,7 @@
interval_limit = #{intervalLimit,jdbcType=VARCHAR},
</if>
<if test="insertOrder != null">
insert_order = #{insertOrder,jdbcType=VARCHAR},
</if>
<if test="abType != null">
ab_type = #{abType,jdbcType=VARCHAR},
insert_order = #{insertOrder,jdbcType=INTEGER},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
... ...
... ... @@ -10,11 +10,17 @@
"id": {
"type": "integer"
},
"configPage": {
"type": "integer"
},
"orderType": {
"type": "integer"
},
"configType": {
"type": "keyword"
},
"configPage": {
"type": "integer"
"description": {
"type": "keyword"
},
"size": {
"type": "integer"
... ... @@ -28,15 +34,9 @@
"intervalLimit": {
"type": "keyword"
},
"description": {
"type": "keyword"
},
"insertOrder": {
"type": "integer"
},
"abType": {
"type": "integer"
},
"updateTime": {
"type": "date"
}
... ...