Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
c63d00c3
Commit
c63d00c3
authored
Mar 22, 2023
by
曹盼盼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增配置
parent
bb543e43
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
TzCylinderServiceImpl.java
...odule/tzs/flc/biz/service/impl/TzCylinderServiceImpl.java
+5
-1
No files found.
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/biz/service/impl/TzCylinderServiceImpl.java
View file @
c63d00c3
...
...
@@ -15,6 +15,7 @@ import com.yeejoin.amos.boot.module.tzs.flc.api.mapper.TzCylinderMapper;
import
com.yeejoin.amos.boot.module.tzs.flc.api.service.ITzCylinderService
;
import
com.yeejoin.amos.feign.privilege.Privilege
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.stereotype.Service
;
import
org.springframework.validation.ValidationUtils
;
import
org.typroject.tyboot.core.foundation.utils.ValidationUtil
;
...
...
@@ -41,6 +42,9 @@ public class TzCylinderServiceImpl extends BaseService<TzCylinderInfoDto, Cylind
@Autowired
DataDictionaryServiceImpl
iDataDictionaryService
;
@Value
(
"${file.url.ipPort}"
)
private
String
ipPort
;
@Override
public
IPage
<
TzCylinderInfoDto
>
getCylinderInfoDtoList
(
PageParam
pageParam
,
TzCylinderInfoDto
tzCylinderInfoDto
,
...
...
@@ -204,7 +208,7 @@ public class TzCylinderServiceImpl extends BaseService<TzCylinderInfoDto, Cylind
List
list
=
new
ArrayList
();
JSONObject
objects
=
JSONObject
.
parseObject
(
o
);
HashMap
<
String
,
String
>
map
=
new
HashMap
<>();
map
.
put
(
"url"
,
objects
.
getString
(
"fileUrl"
));
map
.
put
(
"url"
,
ipPort
+
objects
.
getString
(
"fileUrl"
));
map
.
put
(
"name"
,
objects
.
getString
(
"fileName"
));
list
.
add
(
map
);
return
list
;
...
...
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