|
@@ -10,7 +10,7 @@
|
|
|
<result column="settingTypeId" jdbcType="INTEGER" property="settingTypeId" />
|
|
|
<result column="fieldDesc" jdbcType="VARCHAR" property="fieldDesc" />
|
|
|
<result column="dataType" jdbcType="VARCHAR" property="dataType" />
|
|
|
- <result column="queryTypeId" jdbcType="INTEGER" property="queryTypeId" />
|
|
|
+ <result column="queryType" jdbcType="INTEGER" property="queryType" />
|
|
|
<result column="dictionaryCode" jdbcType="VARCHAR" property="dictionaryCode" />
|
|
|
<result column="status" jdbcType="INTEGER" property="status" />
|
|
|
<result column="disOrder" jdbcType="INTEGER" property="disOrder" />
|
|
@@ -80,7 +80,7 @@
|
|
|
</sql>
|
|
|
<sql id="Base_Column_List">
|
|
|
fieldId, subId, fieldCode, fieldName, fieldAlias, settingTypeId, fieldDesc, dataType,
|
|
|
- queryTypeId, dictionaryCode, status, disOrder, isSearchField, isForeignKey, referencesTab,
|
|
|
+ queryType, dictionaryCode, status, disOrder, isSearchField, isForeignKey, referencesTab,
|
|
|
foreignKey, displayColumn
|
|
|
</sql>
|
|
|
<select id="selectByExample" parameterType="com.bowintek.practice.model.SrSubjectfieldExample" resultMap="BaseResultMap">
|
|
@@ -116,13 +116,13 @@
|
|
|
<insert id="insert" parameterType="com.bowintek.practice.model.SrSubjectfield">
|
|
|
insert into sr_subjectfield (fieldId, subId, fieldCode,
|
|
|
fieldName, fieldAlias, settingTypeId,
|
|
|
- fieldDesc, dataType, queryTypeId,
|
|
|
+ fieldDesc, dataType, queryType,
|
|
|
dictionaryCode, status, disOrder,
|
|
|
isSearchField, isForeignKey, referencesTab,
|
|
|
foreignKey, displayColumn)
|
|
|
values (#{fieldId,jdbcType=VARCHAR}, #{subId,jdbcType=VARCHAR}, #{fieldCode,jdbcType=VARCHAR},
|
|
|
#{fieldName,jdbcType=VARCHAR}, #{fieldAlias,jdbcType=VARCHAR}, #{settingTypeId,jdbcType=INTEGER},
|
|
|
- #{fieldDesc,jdbcType=VARCHAR}, #{dataType,jdbcType=VARCHAR}, #{queryTypeId,jdbcType=INTEGER},
|
|
|
+ #{fieldDesc,jdbcType=VARCHAR}, #{dataType,jdbcType=VARCHAR}, #{queryType,jdbcType=INTEGER},
|
|
|
#{dictionaryCode,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{disOrder,jdbcType=INTEGER},
|
|
|
#{isSearchField,jdbcType=INTEGER}, #{isForeignKey,jdbcType=INTEGER}, #{referencesTab,jdbcType=VARCHAR},
|
|
|
#{foreignKey,jdbcType=VARCHAR}, #{displayColumn,jdbcType=VARCHAR})
|
|
@@ -154,8 +154,8 @@
|
|
|
<if test="dataType != null">
|
|
|
dataType,
|
|
|
</if>
|
|
|
- <if test="queryTypeId != null">
|
|
|
- queryTypeId,
|
|
|
+ <if test="queryType != null">
|
|
|
+ queryType,
|
|
|
</if>
|
|
|
<if test="dictionaryCode != null">
|
|
|
dictionaryCode,
|
|
@@ -207,8 +207,8 @@
|
|
|
<if test="dataType != null">
|
|
|
#{dataType,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="queryTypeId != null">
|
|
|
- #{queryTypeId,jdbcType=INTEGER},
|
|
|
+ <if test="queryType != null">
|
|
|
+ #{queryType,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="dictionaryCode != null">
|
|
|
#{dictionaryCode,jdbcType=VARCHAR},
|
|
@@ -269,8 +269,8 @@
|
|
|
<if test="row.dataType != null">
|
|
|
dataType = #{row.dataType,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="row.queryTypeId != null">
|
|
|
- queryTypeId = #{row.queryTypeId,jdbcType=INTEGER},
|
|
|
+ <if test="row.queryType != null">
|
|
|
+ queryType = #{row.queryType,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="row.dictionaryCode != null">
|
|
|
dictionaryCode = #{row.dictionaryCode,jdbcType=VARCHAR},
|
|
@@ -311,7 +311,7 @@
|
|
|
settingTypeId = #{row.settingTypeId,jdbcType=INTEGER},
|
|
|
fieldDesc = #{row.fieldDesc,jdbcType=VARCHAR},
|
|
|
dataType = #{row.dataType,jdbcType=VARCHAR},
|
|
|
- queryTypeId = #{row.queryTypeId,jdbcType=INTEGER},
|
|
|
+ queryType = #{row.queryType,jdbcType=INTEGER},
|
|
|
dictionaryCode = #{row.dictionaryCode,jdbcType=VARCHAR},
|
|
|
status = #{row.status,jdbcType=INTEGER},
|
|
|
disOrder = #{row.disOrder,jdbcType=INTEGER},
|
|
@@ -348,8 +348,8 @@
|
|
|
<if test="dataType != null">
|
|
|
dataType = #{dataType,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="queryTypeId != null">
|
|
|
- queryTypeId = #{queryTypeId,jdbcType=INTEGER},
|
|
|
+ <if test="queryType != null">
|
|
|
+ queryType = #{queryType,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
<if test="dictionaryCode != null">
|
|
|
dictionaryCode = #{dictionaryCode,jdbcType=VARCHAR},
|
|
@@ -387,7 +387,7 @@
|
|
|
settingTypeId = #{settingTypeId,jdbcType=INTEGER},
|
|
|
fieldDesc = #{fieldDesc,jdbcType=VARCHAR},
|
|
|
dataType = #{dataType,jdbcType=VARCHAR},
|
|
|
- queryTypeId = #{queryTypeId,jdbcType=INTEGER},
|
|
|
+ queryType = #{queryType,jdbcType=INTEGER},
|
|
|
dictionaryCode = #{dictionaryCode,jdbcType=VARCHAR},
|
|
|
status = #{status,jdbcType=INTEGER},
|
|
|
disOrder = #{disOrder,jdbcType=INTEGER},
|