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
3afa6641
Commit
3afa6641
authored
Jul 18, 2020
by
若依
Committed by
Gitee
Jul 18, 2020
Browse files
Options
Browse Files
Download
Plain Diff
!42 处理代码生成页面中的查询条件“创建时间”未生效的问题
Merge pull request !42 from 平凡/hmxmylove-master-patch-60881
parents
1624debe
0238c4ad
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
ruoyi/src/main/resources/mybatis/tool/GenTableMapper.xml
ruoyi/src/main/resources/mybatis/tool/GenTableMapper.xml
+6
-6
No files found.
ruoyi/src/main/resources/mybatis/tool/GenTableMapper.xml
View file @
3afa6641
...
@@ -62,12 +62,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -62,12 +62,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"tableComment != null and tableComment != ''"
>
<if
test=
"tableComment != null and tableComment != ''"
>
AND lower(table_comment) like lower(concat('%', #{tableComment}, '%'))
AND lower(table_comment) like lower(concat('%', #{tableComment}, '%'))
</if>
</if>
<!-- <if test="beginTime != null and beginTime != ''">
开始时间检索 -->
<if
test=
"beginTime != null and beginTime != ''"
>
<!--
开始时间检索 -->
<!-- AND date_format(create_time,'%y%m%d') >= date_format(#{beginTime},'%y%m%d') -->
AND create_time
>
= to_date(#{beginTime},'yyyy-MM-dd HH24:mi:ss')
<!-- </if> --
>
</if
>
<!-- <if test="endTime != null and endTime != ''">
结束时间检索 -->
<if
test=
"endTime != null and endTime != ''"
>
<!--
结束时间检索 -->
<!-- AND date_format(create_time,'%y%m%d') <= date_format(#{endTime},'%y%m%d') -->
AND create_time
<
= to_date(#{endTime},'yyyy-MM-dd HH24:mi:ss')
<!-- </if> --
>
</if
>
</where>
</where>
</select>
</select>
...
...
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