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
12fa0cb8
Commit
12fa0cb8
authored
Apr 28, 2023
by
曹盼盼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改气瓶tag
parent
fcc82b8f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
TzCylinderServiceImpl.java
...odule/tzs/flc/biz/service/impl/TzCylinderServiceImpl.java
+5
-3
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 @
12fa0cb8
...
...
@@ -174,6 +174,7 @@ public class TzCylinderServiceImpl extends BaseService<TzCylinderInfoDto, Cylind
TzCylinderProduceDto
tzCylinderProduceDto
=
tzCylinderMapper
.
getTzCylinderProduceDto
(
orgCode
);
TzCylinderTagsDto
tzCylinderTagsDto
=
tzCylinderMapper
.
getTzCylinderTagsDto
(
orgCode
);
CylinderFileUrlDto
dto
=
new
CylinderFileUrlDto
();
if
(!
ValidationUtil
.
isEmpty
(
tzCylinderProduceDto
))
{
if
(!
ValidationUtil
.
isEmpty
(
tzCylinderProduceDto
.
getProductQualified
()))
{
String
productQualified
=
tzCylinderProduceDto
.
getProductQualified
();
List
<
Map
>
productQualifiedList
=
getMaps
(
productQualified
);
...
...
@@ -183,7 +184,6 @@ public class TzCylinderServiceImpl extends BaseService<TzCylinderInfoDto, Cylind
String
proofQuality
=
tzCylinderProduceDto
.
getProofQuality
();
List
<
Map
>
proofQualityList
=
getMaps
(
proofQuality
);
dto
.
setProofQuality
(
proofQualityList
);
}
if
(!
ValidationUtil
.
isEmpty
(
tzCylinderProduceDto
.
getSupervisionInspec
()))
{
String
supervisionInspec
=
tzCylinderProduceDto
.
getSupervisionInspec
();
...
...
@@ -195,7 +195,8 @@ public class TzCylinderServiceImpl extends BaseService<TzCylinderInfoDto, Cylind
List
<
Map
>
typeExperimentsList
=
getMaps
(
typeExperiments
);
dto
.
setTypeExperiments
(
typeExperimentsList
);
}
if
(!
ValidationUtil
.
isEmpty
(
tzCylinderTagsDto
.
getGasCylinderStamp
()))
{
}
if
(!
ValidationUtil
.
isEmpty
(
tzCylinderTagsDto
)&&!
ValidationUtil
.
isEmpty
(
tzCylinderTagsDto
.
getGasCylinderStamp
()))
{
String
gasCylinderStamp
=
tzCylinderTagsDto
.
getGasCylinderStamp
();
List
<
Map
>
gasCylinderStampList
=
getMaps
(
gasCylinderStamp
);
dto
.
setGasCylinderStamp
(
gasCylinderStampList
);
...
...
@@ -205,6 +206,7 @@ public class TzCylinderServiceImpl extends BaseService<TzCylinderInfoDto, Cylind
public
List
<
Map
>
getMaps
(
String
o
){
List
list
=
new
ArrayList
();
if
(!
ValidationUtil
.
isEmpty
(
o
))
{
JSONArray
jsonArray
=
JSONArray
.
parseArray
(
o
);
for
(
Object
li
:
jsonArray
)
{
JSONObject
objects
=
JSONObject
.
parseObject
(
li
.
toString
());
...
...
@@ -213,7 +215,7 @@ public class TzCylinderServiceImpl extends BaseService<TzCylinderInfoDto, Cylind
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