Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
finance-manage
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
finance-oa
finance-manage
Commits
37d6cc81
Commit
37d6cc81
authored
Sep 13, 2022
by
RuoYi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化代码生成同步后值NULL问题(I5OJDW)
parent
2293822d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
ruoyi-generator/src/main/resources/mapper/generator/GenTableColumnMapper.xml
.../main/resources/mapper/generator/GenTableColumnMapper.xml
+13
-13
No files found.
ruoyi-generator/src/main/resources/mapper/generator/GenTableColumnMapper.xml
View file @
37d6cc81
...
...
@@ -92,19 +92,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<update
id=
"updateGenTableColumn"
parameterType=
"GenTableColumn"
>
update gen_table_column
<set>
column_comment = #{columnComment},
java_type = #{javaType},
java_field = #{javaField},
is_insert = #{isInsert},
is_edit = #{isEdit},
is_list = #{isList},
is_query = #{isQuery},
is_required = #{isRequired},
query_type = #{queryType},
html_type = #{htmlType},
dict_type = #{dictType},
sort = #{sort},
update_by = #{updateBy},
<if
test=
"columnComment != null"
>
column_comment = #{columnComment},
</if>
<if
test=
"javaType != null"
>
java_type = #{javaType},
</if>
<if
test=
"javaField != null"
>
java_field = #{javaField},
</if>
<if
test=
"isInsert != null"
>
is_insert = #{isInsert},
</if>
<if
test=
"isEdit != null"
>
is_edit = #{isEdit},
</if>
<if
test=
"isList != null"
>
is_list = #{isList},
</if>
<if
test=
"isQuery != null"
>
is_query = #{isQuery},
</if>
<if
test=
"isRequired != null"
>
is_required = #{isRequired},
</if>
<if
test=
"queryType != null"
>
query_type = #{queryType},
</if>
<if
test=
"htmlType != null"
>
html_type = #{htmlType},
</if>
<if
test=
"dictType != null"
>
dict_type = #{dictType},
</if>
<if
test=
"sort != null"
>
sort = #{sort},
</if>
<if
test=
"updateBy != null"
>
update_by = #{updateBy},
</if>
update_time = sysdate()
</set>
where column_id = #{columnId}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment