优化代码生成同步后值NULL问题(I5OJDW)

feature/model
RuoYi 2 years ago
parent 2293822dc2
commit 37d6cc8146

@ -92,19 +92,19 @@ 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">column_comment = #{columnComment},</if>
java_type = #{javaType}, <if test="javaType != null">java_type = #{javaType},</if>
java_field = #{javaField}, <if test="javaField != null">java_field = #{javaField},</if>
is_insert = #{isInsert}, <if test="isInsert != null">is_insert = #{isInsert},</if>
is_edit = #{isEdit}, <if test="isEdit != null">is_edit = #{isEdit},</if>
is_list = #{isList}, <if test="isList != null">is_list = #{isList},</if>
is_query = #{isQuery}, <if test="isQuery != null">is_query = #{isQuery},</if>
is_required = #{isRequired}, <if test="isRequired != null">is_required = #{isRequired},</if>
query_type = #{queryType}, <if test="queryType != null">query_type = #{queryType},</if>
html_type = #{htmlType}, <if test="htmlType != null">html_type = #{htmlType},</if>
dict_type = #{dictType}, <if test="dictType != null">dict_type = #{dictType},</if>
sort = #{sort}, <if test="sort != null">sort = #{sort},</if>
update_by = #{updateBy}, <if test="updateBy != null">update_by = #{updateBy},</if>
update_time = sysdate() update_time = sysdate()
</set> </set>
where column_id = #{columnId} where column_id = #{columnId}

Loading…
Cancel
Save