Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
wangxiaolu-link-report
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
sfa
wangxiaolu-link-report
Commits
41343864
提交
41343864
authored
3月 31, 2025
作者:
吕本才
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1、修改保存自定义报表接口
上级
751376de
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
21 行增加
和
3 行删除
+21
-3
CustomerGroupDaoImpl.java
...com/link/report/domain/dao/impl/CustomerGroupDaoImpl.java
+1
-1
CustomerReportAddWq.java
...n/java/com/link/report/domain/wq/CustomerReportAddWq.java
+7
-0
CustomerReportAddVo.java
...ava/com/link/report/pojo/request/CustomerReportAddVo.java
+3
-0
CustomerGroupDto.java
.../java/com/link/report/pojo/response/CustomerGroupDto.java
+1
-1
CustomerGroupServiceImpl.java
...om/link/report/service/impl/CustomerGroupServiceImpl.java
+1
-1
CustomerReportServiceImpl.java
...m/link/report/service/impl/CustomerReportServiceImpl.java
+8
-0
没有找到文件。
src/main/java/com/link/report/domain/dao/impl/CustomerGroupDaoImpl.java
浏览文件 @
41343864
...
...
@@ -38,7 +38,7 @@ public class CustomerGroupDaoImpl implements CustomerGroupDao {
CustomerGroupDto
dto
=
new
CustomerGroupDto
();
dto
.
setGroupId
(
customerGroup
.
getId
());
dto
.
setGroupName
(
customerGroup
.
getName
());
dto
.
setCat
alog
Name
(
customerGroup
.
getCategoryName
());
dto
.
setCat
egory
Name
(
customerGroup
.
getCategoryName
());
result
.
add
(
dto
);
}
return
result
;
...
...
src/main/java/com/link/report/domain/wq/CustomerReportAddWq.java
浏览文件 @
41343864
...
...
@@ -7,4 +7,11 @@ public class CustomerReportAddWq {
private
String
id
;
private
String
name
;
private
String
previewUrl
;
private
String
categoryName
;
private
Long
createUserId
;
private
Long
updateUserId
;
private
String
createBy
;
private
String
updateBy
;
}
src/main/java/com/link/report/pojo/request/CustomerReportAddVo.java
浏览文件 @
41343864
...
...
@@ -11,7 +11,10 @@ import lombok.Data;
public
class
CustomerReportAddVo
{
private
String
groupId
;
private
String
groupName
;
private
String
previewUrl
;
private
String
categoryName
;
private
Long
createUserId
;
private
Long
updateUserId
;
private
String
createBy
;
...
...
src/main/java/com/link/report/pojo/response/CustomerGroupDto.java
浏览文件 @
41343864
...
...
@@ -6,5 +6,5 @@ import lombok.Data;
public
class
CustomerGroupDto
{
private
String
groupId
;
private
String
groupName
;
private
String
cat
alog
Name
;
private
String
cat
egory
Name
;
}
src/main/java/com/link/report/service/impl/CustomerGroupServiceImpl.java
浏览文件 @
41343864
...
...
@@ -74,7 +74,7 @@ public class CustomerGroupServiceImpl implements CustomerGroupService {
if
(
ObjectUtil
.
isNotEmpty
(
customerGroupDto
))
{
// 匹配到了
CustomerReportAddVo
customerReportAddVo
=
new
CustomerReportAddVo
();
customerReportAddVo
.
setCategoryName
(
customerGroupDto
.
getCat
alog
Name
());
customerReportAddVo
.
setCategoryName
(
customerGroupDto
.
getCat
egory
Name
());
customerReportAddVo
.
setGroupName
(
customerGroupDto
.
getGroupName
());
customerReportAddVo
.
setCreateBy
(
customerReportGroup
.
getCreateBy
());
customerReportAddVo
.
setUpdateBy
(
customerReportGroup
.
getUpdateBy
());
...
...
src/main/java/com/link/report/service/impl/CustomerReportServiceImpl.java
浏览文件 @
41343864
...
...
@@ -9,6 +9,7 @@ import com.link.report.pojo.request.ReportShareListVo;
import
com.link.report.pojo.response.CustomerReportListDto
;
import
com.link.report.service.CustomerReportService
;
import
com.sfa.common.core.utils.bean.BeanUtils
;
import
com.sfa.common.security.utils.SecurityUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
...
...
@@ -27,6 +28,13 @@ public class CustomerReportServiceImpl implements CustomerReportService {
public
void
save
(
CustomerReportAddVo
customerReportAddVo
)
{
CustomerReportAddWq
wq
=
new
CustomerReportAddWq
();
BeanUtils
.
copyProperties
(
customerReportAddVo
,
wq
);
wq
.
setName
(
customerReportAddVo
.
getGroupName
());
wq
.
setPreviewUrl
(
customerReportAddVo
.
getPreviewUrl
());
wq
.
setCreateBy
(
SecurityUtils
.
getUsername
());
wq
.
setUpdateBy
(
SecurityUtils
.
getUsername
());
wq
.
setCreateUserId
(
SecurityUtils
.
getUserId
());
wq
.
setUpdateUserId
(
SecurityUtils
.
getUserId
());
if
(
ObjectUtil
.
isNotEmpty
(
wq
.
getId
()))
{
customerReportDao
.
update
(
wq
);
}
else
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论