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
f001e4ec
Commit
f001e4ec
authored
Jan 17, 2025
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
使用登记气瓶设备编辑不显示数据
parent
5c5277c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
BatchDataChangeProcessStrategy.java
...e/jg/biz/service/impl/BatchDataChangeProcessStrategy.java
+6
-6
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/BatchDataChangeProcessStrategy.java
View file @
f001e4ec
...
@@ -155,17 +155,17 @@ public class BatchDataChangeProcessStrategy implements IChangeDataProcessStrateg
...
@@ -155,17 +155,17 @@ public class BatchDataChangeProcessStrategy implements IChangeDataProcessStrateg
List
<
String
>
records
=
eqs
.
stream
().
map
(
JgUseRegistrationEq:
:
getEquId
).
collect
(
toList
());
List
<
String
>
records
=
eqs
.
stream
().
map
(
JgUseRegistrationEq:
:
getEquId
).
collect
(
toList
());
IdxBizJgRegisterInfo
registerInfo
=
useRegistrationService
.
getRegisterInfo
(
jgUseRegistration
);
IdxBizJgRegisterInfo
registerInfo
=
useRegistrationService
.
getRegisterInfo
(
jgUseRegistration
);
List
<
Map
<
String
,
Object
>>
tableData
;
List
<
Map
<
String
,
Object
>>
tableData
;
if
(
CylinderTypeEnum
.
CYLINDER
.
getCode
().
equals
(
registerInfo
.
getEquCategory
()))
{
if
(
EquipmentClassifityEnum
.
YLGD
.
getCode
().
equals
(
registerInfo
.
getEquList
())){
List
<
DictionarieValueModel
>
fillingMedium
=
Systemctl
.
dictionarieClient
.
dictValues
(
"FILLING_MEDIUM"
).
getResult
();
Map
<
String
,
Object
>
fillingMediumMap
=
fillingMedium
.
stream
().
collect
(
Collectors
.
toMap
(
DictionarieValueModel:
:
getDictDataKey
,
DictionarieValueModel:
:
getDictDataValue
));
tableData
=
jgUseRegistrationMapper
.
queryForUnitVesselEquipment
(
records
);
tableData
.
forEach
(
i
->
i
.
put
(
"chargingMedium"
,
fillingMediumMap
.
get
(
i
.
get
(
"chargingMedium"
))));
}
else
{
IdxBizJgProjectContraption
idxBizJgProjectContraption
=
idxBizJgProjectContraptionService
.
getById
(
jgUseRegistration
.
getProjectContraptionId
());
IdxBizJgProjectContraption
idxBizJgProjectContraption
=
idxBizJgProjectContraptionService
.
getById
(
jgUseRegistration
.
getProjectContraptionId
());
Map
<
String
,
Object
>
map
=
IdxBizJgRegisterInfoServiceImpl
.
convertCamelToUnderscore
(
idxBizJgProjectContraption
,
IdxBizJgProjectContraptionServiceImpl
.
jsonFields
);
Map
<
String
,
Object
>
map
=
IdxBizJgRegisterInfoServiceImpl
.
convertCamelToUnderscore
(
idxBizJgProjectContraption
,
IdxBizJgProjectContraptionServiceImpl
.
jsonFields
);
result
.
putAll
(
map
);
result
.
putAll
(
map
);
result
.
put
(
"projectContraptionId"
,
idxBizJgProjectContraption
.
getSequenceNbr
());
result
.
put
(
"projectContraptionId"
,
idxBizJgProjectContraption
.
getSequenceNbr
());
tableData
=
jgUseRegistrationMapper
.
queryForUnitPipelineEquipmentForEdit
(
records
);
tableData
=
jgUseRegistrationMapper
.
queryForUnitPipelineEquipmentForEdit
(
records
);
}
else
{
List
<
DictionarieValueModel
>
fillingMedium
=
Systemctl
.
dictionarieClient
.
dictValues
(
"FILLING_MEDIUM"
).
getResult
();
Map
<
String
,
Object
>
fillingMediumMap
=
fillingMedium
.
stream
().
collect
(
Collectors
.
toMap
(
DictionarieValueModel:
:
getDictDataKey
,
DictionarieValueModel:
:
getDictDataValue
));
tableData
=
jgUseRegistrationMapper
.
queryForUnitVesselEquipment
(
records
);
tableData
.
forEach
(
i
->
i
.
put
(
"chargingMedium"
,
fillingMediumMap
.
get
(
i
.
get
(
"chargingMedium"
))));
}
}
result
.
put
(
"tableData"
,
tableData
);
result
.
put
(
"tableData"
,
tableData
);
return
result
;
return
result
;
...
...
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