|
@@ -12,6 +12,7 @@
|
|
<result column="disOrder" jdbcType="INTEGER" property="disOrder" />
|
|
<result column="disOrder" jdbcType="INTEGER" property="disOrder" />
|
|
<result column="isSearchField" jdbcType="INTEGER" property="isSearchField" />
|
|
<result column="isSearchField" jdbcType="INTEGER" property="isSearchField" />
|
|
<result column="isDisplay" jdbcType="INTEGER" property="isDisplay" />
|
|
<result column="isDisplay" jdbcType="INTEGER" property="isDisplay" />
|
|
|
|
+ <result column="parentId" jdbcType="VARCHAR" property="parentId" />
|
|
</resultMap>
|
|
</resultMap>
|
|
<sql id="Example_Where_Clause">
|
|
<sql id="Example_Where_Clause">
|
|
<where>
|
|
<where>
|
|
@@ -73,7 +74,7 @@
|
|
</sql>
|
|
</sql>
|
|
<sql id="Base_Column_List">
|
|
<sql id="Base_Column_List">
|
|
fieldId, indexId, fieldCode, fieldName, fieldDesc, dataType, queryTypeId, disOrder,
|
|
fieldId, indexId, fieldCode, fieldName, fieldDesc, dataType, queryTypeId, disOrder,
|
|
- isSearchField, isDisplay
|
|
|
|
|
|
+ isSearchField, isDisplay, parentId
|
|
</sql>
|
|
</sql>
|
|
<select id="selectByExample" parameterType="com.bowintek.practice.model.EsIndexfieldExample" resultMap="BaseResultMap">
|
|
<select id="selectByExample" parameterType="com.bowintek.practice.model.EsIndexfieldExample" resultMap="BaseResultMap">
|
|
select
|
|
select
|
|
@@ -109,11 +110,11 @@
|
|
insert into es_indexfield (fieldId, indexId, fieldCode,
|
|
insert into es_indexfield (fieldId, indexId, fieldCode,
|
|
fieldName, fieldDesc, dataType,
|
|
fieldName, fieldDesc, dataType,
|
|
queryTypeId, disOrder, isSearchField,
|
|
queryTypeId, disOrder, isSearchField,
|
|
- isDisplay)
|
|
|
|
|
|
+ isDisplay, parentId)
|
|
values (#{fieldId,jdbcType=VARCHAR}, #{indexId,jdbcType=VARCHAR}, #{fieldCode,jdbcType=VARCHAR},
|
|
values (#{fieldId,jdbcType=VARCHAR}, #{indexId,jdbcType=VARCHAR}, #{fieldCode,jdbcType=VARCHAR},
|
|
#{fieldName,jdbcType=VARCHAR}, #{fieldDesc,jdbcType=VARCHAR}, #{dataType,jdbcType=VARCHAR},
|
|
#{fieldName,jdbcType=VARCHAR}, #{fieldDesc,jdbcType=VARCHAR}, #{dataType,jdbcType=VARCHAR},
|
|
#{queryTypeId,jdbcType=INTEGER}, #{disOrder,jdbcType=INTEGER}, #{isSearchField,jdbcType=INTEGER},
|
|
#{queryTypeId,jdbcType=INTEGER}, #{disOrder,jdbcType=INTEGER}, #{isSearchField,jdbcType=INTEGER},
|
|
- #{isDisplay,jdbcType=INTEGER})
|
|
|
|
|
|
+ #{isDisplay,jdbcType=INTEGER}, #{parentId,jdbcType=VARCHAR})
|
|
</insert>
|
|
</insert>
|
|
<insert id="insertSelective" parameterType="com.bowintek.practice.model.EsIndexfield">
|
|
<insert id="insertSelective" parameterType="com.bowintek.practice.model.EsIndexfield">
|
|
insert into es_indexfield
|
|
insert into es_indexfield
|
|
@@ -148,6 +149,9 @@
|
|
<if test="isDisplay != null">
|
|
<if test="isDisplay != null">
|
|
isDisplay,
|
|
isDisplay,
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="parentId != null">
|
|
|
|
+ parentId,
|
|
|
|
+ </if>
|
|
</trim>
|
|
</trim>
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<if test="fieldId != null">
|
|
<if test="fieldId != null">
|
|
@@ -180,6 +184,9 @@
|
|
<if test="isDisplay != null">
|
|
<if test="isDisplay != null">
|
|
#{isDisplay,jdbcType=INTEGER},
|
|
#{isDisplay,jdbcType=INTEGER},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="parentId != null">
|
|
|
|
+ #{parentId,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
</trim>
|
|
</trim>
|
|
</insert>
|
|
</insert>
|
|
<select id="countByExample" parameterType="com.bowintek.practice.model.EsIndexfieldExample" resultType="java.lang.Long">
|
|
<select id="countByExample" parameterType="com.bowintek.practice.model.EsIndexfieldExample" resultType="java.lang.Long">
|
|
@@ -221,6 +228,9 @@
|
|
<if test="row.isDisplay != null">
|
|
<if test="row.isDisplay != null">
|
|
isDisplay = #{row.isDisplay,jdbcType=INTEGER},
|
|
isDisplay = #{row.isDisplay,jdbcType=INTEGER},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="row.parentId != null">
|
|
|
|
+ parentId = #{row.parentId,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
</set>
|
|
</set>
|
|
<if test="example != null">
|
|
<if test="example != null">
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -237,7 +247,8 @@
|
|
queryTypeId = #{row.queryTypeId,jdbcType=INTEGER},
|
|
queryTypeId = #{row.queryTypeId,jdbcType=INTEGER},
|
|
disOrder = #{row.disOrder,jdbcType=INTEGER},
|
|
disOrder = #{row.disOrder,jdbcType=INTEGER},
|
|
isSearchField = #{row.isSearchField,jdbcType=INTEGER},
|
|
isSearchField = #{row.isSearchField,jdbcType=INTEGER},
|
|
- isDisplay = #{row.isDisplay,jdbcType=INTEGER}
|
|
|
|
|
|
+ isDisplay = #{row.isDisplay,jdbcType=INTEGER},
|
|
|
|
+ parentId = #{row.parentId,jdbcType=VARCHAR}
|
|
<if test="example != null">
|
|
<if test="example != null">
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
</if>
|
|
</if>
|
|
@@ -272,6 +283,9 @@
|
|
<if test="isDisplay != null">
|
|
<if test="isDisplay != null">
|
|
isDisplay = #{isDisplay,jdbcType=INTEGER},
|
|
isDisplay = #{isDisplay,jdbcType=INTEGER},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="parentId != null">
|
|
|
|
+ parentId = #{parentId,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
</set>
|
|
</set>
|
|
where fieldId = #{fieldId,jdbcType=VARCHAR}
|
|
where fieldId = #{fieldId,jdbcType=VARCHAR}
|
|
</update>
|
|
</update>
|
|
@@ -285,7 +299,8 @@
|
|
queryTypeId = #{queryTypeId,jdbcType=INTEGER},
|
|
queryTypeId = #{queryTypeId,jdbcType=INTEGER},
|
|
disOrder = #{disOrder,jdbcType=INTEGER},
|
|
disOrder = #{disOrder,jdbcType=INTEGER},
|
|
isSearchField = #{isSearchField,jdbcType=INTEGER},
|
|
isSearchField = #{isSearchField,jdbcType=INTEGER},
|
|
- isDisplay = #{isDisplay,jdbcType=INTEGER}
|
|
|
|
|
|
+ isDisplay = #{isDisplay,jdbcType=INTEGER},
|
|
|
|
+ parentId = #{parentId,jdbcType=VARCHAR}
|
|
where fieldId = #{fieldId,jdbcType=VARCHAR}
|
|
where fieldId = #{fieldId,jdbcType=VARCHAR}
|
|
</update>
|
|
</update>
|
|
</mapper>
|
|
</mapper>
|