|
|
@@ -45,9 +45,12 @@ public class DRyxxsjyServiceImpl implements DRyxxsjyService {
|
|
45
|
45
|
return dRyxxsjyVO;
|
|
46
|
46
|
}
|
|
47
|
47
|
|
|
|
48
|
+ // 查询url
|
|
|
49
|
+ String sptFile = dRyxxsjyMapper.getSptFileUrl(10, "sptFileUrl");
|
|
|
50
|
+
|
|
48
|
51
|
// 获取文件
|
|
49
|
52
|
if (StringUtils.hasText(dRyxxsjyVO.getAvatorUrl())) {
|
|
50
|
|
- FileObject data = fileUrlUtil.getData(dRyxxsjyVO.getAvatorUrl());
|
|
|
53
|
+ FileObject data = fileUrlUtil.getData(dRyxxsjyVO.getAvatorUrl(), sptFile);
|
|
51
|
54
|
if (!ObjectUtils.isEmpty(data)) {
|
|
52
|
55
|
dRyxxsjyVO.setFileUrl(data.getLink());
|
|
53
|
56
|
dRyxxsjyVO.setFileName(data.getName());
|
|
|
@@ -72,7 +75,7 @@ public class DRyxxsjyServiceImpl implements DRyxxsjyService {
|
|
72
|
75
|
// 文件
|
|
73
|
76
|
rotaterotateVOList.forEach(rotateVO -> {
|
|
74
|
77
|
if (StringUtils.hasText(rotateVO.getSerialNumber())) {
|
|
75
|
|
- FileObject data = fileUrlUtil.getData(rotateVO.getSerialNumber());
|
|
|
78
|
+ FileObject data = fileUrlUtil.getData(rotateVO.getSerialNumber(), sptFile);
|
|
76
|
79
|
if (!ObjectUtils.isEmpty(data)) {
|
|
77
|
80
|
rotateVO.setFileUrl(data.getLink());
|
|
78
|
81
|
rotateVO.setFileName(data.getName());
|
|
|
@@ -92,7 +95,7 @@ public class DRyxxsjyServiceImpl implements DRyxxsjyService {
|
|
92
|
95
|
// 文件
|
|
93
|
96
|
reportVOList.forEach(reportVO -> {
|
|
94
|
97
|
if (StringUtils.hasText(reportVO.getFjid())) {
|
|
95
|
|
- FileObject data = fileUrlUtil.getData(reportVO.getFjid());
|
|
|
98
|
+ FileObject data = fileUrlUtil.getData(reportVO.getFjid(), sptFile);
|
|
96
|
99
|
if (!ObjectUtils.isEmpty(data)) {
|
|
97
|
100
|
reportVO.setFileUrl(data.getLink());
|
|
98
|
101
|
reportVO.setFileName(data.getName());
|
|
|
@@ -107,7 +110,7 @@ public class DRyxxsjyServiceImpl implements DRyxxsjyService {
|
|
107
|
110
|
// 文件
|
|
108
|
111
|
certificatesVOList.forEach(certificatesVO -> {
|
|
109
|
112
|
if (StringUtils.hasText(certificatesVO.getFjid())) {
|
|
110
|
|
- FileObject data = fileUrlUtil.getData(certificatesVO.getFjid());
|
|
|
113
|
+ FileObject data = fileUrlUtil.getData(certificatesVO.getFjid(), sptFile);
|
|
111
|
114
|
if (!ObjectUtils.isEmpty(data)) {
|
|
112
|
115
|
certificatesVO.setFileUrl(data.getLink());
|
|
113
|
116
|
certificatesVO.setFileName(data.getName());
|
|
|
@@ -121,7 +124,7 @@ public class DRyxxsjyServiceImpl implements DRyxxsjyService {
|
|
121
|
124
|
List<RyfjFileVO> ryfjFileVOList = new ArrayList<>();
|
|
122
|
125
|
String[] ryfjs = ryfjStrS.split(",");
|
|
123
|
126
|
for (String ryfj : ryfjs) {
|
|
124
|
|
- FileObject data = fileUrlUtil.getData(dRyxxsjyVO.getRyfj());
|
|
|
127
|
+ FileObject data = fileUrlUtil.getData(dRyxxsjyVO.getRyfj(), sptFile);
|
|
125
|
128
|
if (!ObjectUtils.isEmpty(data)) {
|
|
126
|
129
|
RyfjFileVO ryfjFileVO = new RyfjFileVO();
|
|
127
|
130
|
ryfjFileVO.setRyfjFileUrl(data.getLink());
|