Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
wangxiaolu-link-report
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
sfa
wangxiaolu-link-report
Commits
50d2bfab
提交
50d2bfab
authored
7月 24, 2025
作者:
吕本才
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1、修改分页问题
上级
27375104
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
8 行增加
和
2 行删除
+8
-2
JimuReportQueryServiceImpl.java
...report/service/query/impl/JimuReportQueryServiceImpl.java
+2
-1
JimuReportMapper.xml
src/main/resources/mapper/report/JimuReportMapper.xml
+6
-1
没有找到文件。
src/main/java/com/link/report/service/query/impl/JimuReportQueryServiceImpl.java
浏览文件 @
50d2bfab
...
@@ -33,7 +33,7 @@ public class JimuReportQueryServiceImpl implements JimuReportQueryService {
...
@@ -33,7 +33,7 @@ public class JimuReportQueryServiceImpl implements JimuReportQueryService {
PageInfo
<
JimuReportListDto
>
pageInfo
=
TableSupport
.
pageInfo
();
PageInfo
<
JimuReportListDto
>
pageInfo
=
TableSupport
.
pageInfo
();
JimuReportListWq
wq
=
new
JimuReportListWq
();
JimuReportListWq
wq
=
new
JimuReportListWq
();
BeanUtils
.
copyProperties
(
reportListVo
,
wq
);
BeanUtils
.
copyProperties
(
reportListVo
,
wq
);
wq
.
setPageNum
(
pageInfo
.
get
Skip
Num
());
wq
.
setPageNum
(
pageInfo
.
get
Page
Num
());
wq
.
setPageSize
(
pageInfo
.
getPageSize
());
wq
.
setPageSize
(
pageInfo
.
getPageSize
());
String
username
=
SecurityUtils
.
getUsername
();
String
username
=
SecurityUtils
.
getUsername
();
...
@@ -43,6 +43,7 @@ public class JimuReportQueryServiceImpl implements JimuReportQueryService {
...
@@ -43,6 +43,7 @@ public class JimuReportQueryServiceImpl implements JimuReportQueryService {
wq
.
setUserName
(
username
);
wq
.
setUserName
(
username
);
}
}
wq
.
setUserId
(
userId
);
wq
.
setUserId
(
userId
);
wq
.
setSkipNum
(
pageInfo
.
getPageSize
()
*
(
pageInfo
.
getPageNum
()
-
1
));
// 查询授权报表id
// 查询授权报表id
List
<
JimuReportListDto
>
list
=
jimuReportDao
.
selectJimuReportList
(
wq
);
List
<
JimuReportListDto
>
list
=
jimuReportDao
.
selectJimuReportList
(
wq
);
...
...
src/main/resources/mapper/report/JimuReportMapper.xml
浏览文件 @
50d2bfab
...
@@ -13,7 +13,9 @@
...
@@ -13,7 +13,9 @@
inner join jimu_report_category jrc on jr.type = jrc.id
inner join jimu_report_category jrc on jr.type = jrc.id
<where>
<where>
jr.del_flag =0
jr.del_flag =0
<if
test=
"userName != null and userName != ''"
>
and jr.create_by = #{userName}
and jr.create_by = #{userName}
</if>
<if
test=
"categoryName != null and categoryName != ''"
>
<if
test=
"categoryName != null and categoryName != ''"
>
jrc.name = #{categoryName}
jrc.name = #{categoryName}
</if>
</if>
...
@@ -72,6 +74,9 @@
...
@@ -72,6 +74,9 @@
<if
test=
"name != null and name != ''"
>
<if
test=
"name != null and name != ''"
>
and jr.name like concat('%', #{name}, '%')
and jr.name like concat('%', #{name}, '%')
</if>
</if>
<if
test=
"userName != null and userName != ''"
>
and jr.create_by = #{userName}
</if>
</where>
</where>
...
@@ -100,7 +105,7 @@
...
@@ -100,7 +105,7 @@
) huizong
) huizong
order by createTime desc
order by createTime desc
limit #{skipNum},#{pageSize}
;
limit #{skipNum},#{pageSize}
</select>
</select>
</mapper>
</mapper>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论