|
|
@@ -92,19 +92,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
92
|
92
|
<update id="updateGenTableColumn" parameterType="GenTableColumn">
|
|
93
|
93
|
update gen_table_column
|
|
94
|
94
|
<set>
|
|
95
|
|
- column_comment = #{columnComment},
|
|
96
|
|
- java_type = #{javaType},
|
|
97
|
|
- java_field = #{javaField},
|
|
98
|
|
- is_insert = #{isInsert},
|
|
99
|
|
- is_edit = #{isEdit},
|
|
100
|
|
- is_list = #{isList},
|
|
101
|
|
- is_query = #{isQuery},
|
|
102
|
|
- is_required = #{isRequired},
|
|
103
|
|
- query_type = #{queryType},
|
|
104
|
|
- html_type = #{htmlType},
|
|
105
|
|
- dict_type = #{dictType},
|
|
106
|
|
- sort = #{sort},
|
|
107
|
|
- update_by = #{updateBy},
|
|
|
95
|
+ <if test="columnComment != null">column_comment = #{columnComment},</if>
|
|
|
96
|
+ <if test="javaType != null">java_type = #{javaType},</if>
|
|
|
97
|
+ <if test="javaField != null">java_field = #{javaField},</if>
|
|
|
98
|
+ <if test="isInsert != null">is_insert = #{isInsert},</if>
|
|
|
99
|
+ <if test="isEdit != null">is_edit = #{isEdit},</if>
|
|
|
100
|
+ <if test="isList != null">is_list = #{isList},</if>
|
|
|
101
|
+ <if test="isQuery != null">is_query = #{isQuery},</if>
|
|
|
102
|
+ <if test="isRequired != null">is_required = #{isRequired},</if>
|
|
|
103
|
+ <if test="queryType != null">query_type = #{queryType},</if>
|
|
|
104
|
+ <if test="htmlType != null">html_type = #{htmlType},</if>
|
|
|
105
|
+ <if test="dictType != null">dict_type = #{dictType},</if>
|
|
|
106
|
+ <if test="sort != null">sort = #{sort},</if>
|
|
|
107
|
+ <if test="updateBy != null">update_by = #{updateBy},</if>
|
|
108
|
108
|
update_time = sysdate()
|
|
109
|
109
|
</set>
|
|
110
|
110
|
where column_id = #{columnId}
|