|
|
@ -92,20 +92,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
<update id="updateGenTableColumn" parameterType="GenTableColumn">
|
|
|
|
<update id="updateGenTableColumn" parameterType="GenTableColumn">
|
|
|
|
update gen_table_column
|
|
|
|
update gen_table_column
|
|
|
|
<set>
|
|
|
|
<set>
|
|
|
|
column_comment = #{columnComment},
|
|
|
|
<if test="columnComment != null and columnComment != ''">column_comment = #{columnComment},</if>
|
|
|
|
column_type = #{columnType},
|
|
|
|
<if test="columnType != null and columnType != ''">column_type = #{columnType},</if>
|
|
|
|
java_type = #{javaType},
|
|
|
|
<if test="javaType != null and javaType != ''">java_type = #{javaType},</if>
|
|
|
|
java_field = #{javaField},
|
|
|
|
<if test="javaField != null and javaField != ''">java_field = #{javaField},</if>
|
|
|
|
is_insert = #{isInsert},
|
|
|
|
<if test="isInsert != null and isInsert != ''">is_insert = #{isInsert},</if>
|
|
|
|
is_edit = #{isEdit},
|
|
|
|
<if test="isEdit != null and isEdit != ''">is_edit = #{isEdit},</if>
|
|
|
|
is_list = #{isList},
|
|
|
|
<if test="isList != null and isList != ''">is_list = #{isList},</if>
|
|
|
|
is_query = #{isQuery},
|
|
|
|
<if test="isQuery != null and isQuery != ''">is_query = #{isQuery},</if>
|
|
|
|
is_required = #{isRequired},
|
|
|
|
<if test="isRequired != null and isRequired != ''"> is_required = #{isRequired},</if>
|
|
|
|
query_type = #{queryType},
|
|
|
|
<if test="queryType != null and queryType != ''"> query_type = #{queryType},</if>
|
|
|
|
html_type = #{htmlType},
|
|
|
|
<if test="htmlType != null and htmlType != ''"> html_type = #{htmlType},</if>
|
|
|
|
dict_type = #{dictType},
|
|
|
|
<if test="dictType != null and dictType != ''"> dict_type = #{dictType},</if>
|
|
|
|
sort = #{sort},
|
|
|
|
<if test="sort != null and sort != ''"> sort = #{sort},</if>
|
|
|
|
update_by = #{updateBy},
|
|
|
|
<if test="updateBy != null and updateBy != ''"> update_by = #{updateBy},</if>
|
|
|
|
update_time = sysdate()
|
|
|
|
update_time = sysdate()
|
|
|
|
</set>
|
|
|
|
</set>
|
|
|
|
where column_id = #{columnId}
|
|
|
|
where column_id = #{columnId}
|
|
|
|