Authored by Gino Zhang

修改字段名

... ... @@ -5,7 +5,7 @@
<id column="id" property="id" jdbcType="INTEGER" />
<result column="rule_id" property="ruleId" jdbcType="INTEGER" />
<result column="field" property="field" jdbcType="VARCHAR" />
<result column="field_values" property="values" jdbcType="VARCHAR" />
<result column="field_values" property="fieldValues" jdbcType="VARCHAR" />
<result column="boost" property="boost" jdbcType="INTEGER" />
</resultMap>
<sql id="DynamicRuleDetails_Column_List">
... ... @@ -17,7 +17,7 @@
values (#{id, jdbcType=INTEGER},
#{ruleId, jdbcType=INTEGER},
#{field, jdbcType=VARCHAR},
#{values, jdbcType=VARCHAR},
#{fieldValues, jdbcType=VARCHAR},
#{boost, jdbcType=INTEGER})
</insert>
... ... @@ -37,7 +37,7 @@
update dynamic_rule_details
set rule_id = #{ruleId, jdbcType=INTEGER},
field = #{field,jdbcType=VARCHAR},
field_values = #{values,jdbcType=VARCHAR},
field_values = #{fieldValues,jdbcType=VARCHAR},
boost = #{boost, jdbcType=INTEGER}
where id = #{id, jdbcType=INTEGER}
</update>
... ...
... ... @@ -7,7 +7,7 @@
<result column="status" property="status" jdbcType="INTEGER" />
<result column="type" property="type" jdbcType="INTEGER" />
<result column="field" property="field" jdbcType="VARCHAR" />
<result column="field_values" property="values" jdbcType="VARCHAR" />
<result column="field_values" property="fieldValues" jdbcType="VARCHAR" />
<result column="boost" property="boost" jdbcType="INTEGER" />
</resultMap>
<sql id="DynamicRule_Column_List">
... ... @@ -21,7 +21,7 @@
#{status, jdbcType=INTEGER},
#{type, jdbcType=INTEGER},
#{field, jdbcType=VARCHAR},
#{values, jdbcType=VARCHAR},
#{fieldValues, jdbcType=VARCHAR},
#{boost, jdbcType=INTEGER})
</insert>
... ... @@ -43,7 +43,7 @@
status = #{status, jdbcType=INTEGER},
type = #{type, jdbcType=INTEGER},
field = #{field,jdbcType=VARCHAR},
field_values = #{values,jdbcType=VARCHAR},
field_values = #{fieldValues,jdbcType=VARCHAR},
boost = #{boost, jdbcType=INTEGER}
where id = #{id, jdbcType=INTEGER}
</update>
... ...