Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
T
topology
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
姜立玮
topology
Commits
0238c4ad
提交
0238c4ad
authored
5 年前
作者:
平凡
提交者:
Gitee
5 年前
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
处理代码生成页面中的查询条件“创建时间”未生效的问题
上级
d5cc95fe
变更
1
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
6 行增加
和
6 行删除
+6
-6
GenTableMapper.xml
ruoyi/src/main/resources/mybatis/tool/GenTableMapper.xml
+6
-6
没有找到文件。
ruoyi/src/main/resources/mybatis/tool/GenTableMapper.xml
浏览文件 @
0238c4ad
...
@@ -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>
...
...
This diff is collapsed.
Click to expand it.
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论