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
435f4dea
Commit
435f4dea
authored
Jun 12, 2025
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):【打印汇总表】压力管道使用登记完成之后,在改造告知、改造变更登记流程总均对管道设备进行了修改、增加和删除的操作,审核完成后,在使用登记单据详情中下载汇总表时,下载文件为空
parent
f1c22ada
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
9 deletions
+15
-9
JgUseRegistrationController.java
...module/jg/biz/controller/JgUseRegistrationController.java
+2
-1
PieLineDataChangeServiceImpl.java
.../biz/edit/process/equip/PieLineDataChangeServiceImpl.java
+2
-0
JgUseRegistrationServiceImpl.java
...ule/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
+11
-8
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/controller/JgUseRegistrationController.java
View file @
435f4dea
...
@@ -226,7 +226,8 @@ public class JgUseRegistrationController extends BaseController {
...
@@ -226,7 +226,8 @@ public class JgUseRegistrationController extends BaseController {
public
void
exportSummaryBasicInfo
(
HttpServletResponse
response
,
public
void
exportSummaryBasicInfo
(
HttpServletResponse
response
,
@RequestParam
(
"sequenceNbr"
)
String
sequenceNbr
,
@RequestParam
(
"sequenceNbr"
)
String
sequenceNbr
,
@RequestParam
(
"category"
)
String
category
)
{
@RequestParam
(
"category"
)
String
category
)
{
jgUseRegistrationServiceImpl
.
exportSummaryBasicInfo
(
Collections
.
singletonList
(
Long
.
valueOf
(
sequenceNbr
)),
response
,
category
,
null
);
JgUseRegistration
jgUseRegistration
=
jgUseRegistrationServiceImpl
.
getById
(
sequenceNbr
);
jgUseRegistrationServiceImpl
.
exportSummaryBasicInfo
(
Collections
.
singletonList
(
Long
.
valueOf
(
sequenceNbr
)),
response
,
category
,
Collections
.
singleton
(
jgUseRegistration
.
getProjectContraptionId
()));
}
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/edit/process/equip/PieLineDataChangeServiceImpl.java
View file @
435f4dea
...
@@ -19,6 +19,7 @@ import com.yeejoin.amos.boot.module.jg.biz.service.impl.IdxBizJgSupervisionInfoS
...
@@ -19,6 +19,7 @@ import com.yeejoin.amos.boot.module.jg.biz.service.impl.IdxBizJgSupervisionInfoS
import
com.yeejoin.amos.boot.module.jg.biz.service.impl.IdxBizJgTechParamsPipelineServiceImpl
;
import
com.yeejoin.amos.boot.module.jg.biz.service.impl.IdxBizJgTechParamsPipelineServiceImpl
;
import
com.yeejoin.amos.boot.module.jg.biz.service.impl.IdxBizJgUseInfoServiceImpl
;
import
com.yeejoin.amos.boot.module.jg.biz.service.impl.IdxBizJgUseInfoServiceImpl
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.*
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.*
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.EquimentEnum
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.SuperviseInfoMapper
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.SuperviseInfoMapper
;
import
lombok.Getter
;
import
lombok.Getter
;
import
lombok.RequiredArgsConstructor
;
import
lombok.RequiredArgsConstructor
;
...
@@ -179,6 +180,7 @@ public class PieLineDataChangeServiceImpl {
...
@@ -179,6 +180,7 @@ public class PieLineDataChangeServiceImpl {
useInfo
.
setUseDate
(
projectContraptionChangeDataDto
.
getUseDate
());
useInfo
.
setUseDate
(
projectContraptionChangeDataDto
.
getUseDate
());
useInfo
.
setDataSource
(
projectContraptionChangeDataDto
.
getDataSource
());
useInfo
.
setDataSource
(
projectContraptionChangeDataDto
.
getDataSource
());
useInfo
.
setIsIntoManagement
(
Boolean
.
FALSE
);
useInfo
.
setIsIntoManagement
(
Boolean
.
FALSE
);
useInfo
.
setEquState
(
String
.
valueOf
(
EquimentEnum
.
ZAIYONG
.
getCode
()));
SingleProjectEquipChangeProcess
.
setNewUseAddressInfo
(
projectContraptionChangeDataDto
,
useInfo
);
SingleProjectEquipChangeProcess
.
setNewUseAddressInfo
(
projectContraptionChangeDataDto
,
useInfo
);
commonEquipDataProcessService
.
getIdxBizJgUseInfoService
().
save
(
useInfo
);
commonEquipDataProcessService
.
getIdxBizJgUseInfoService
().
save
(
useInfo
);
...
...
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/JgUseRegistrationServiceImpl.java
View file @
435f4dea
...
@@ -2639,15 +2639,18 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
...
@@ -2639,15 +2639,18 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
List
<
Map
<
String
,
Object
>>
deviceList
=
(
List
<
Map
<
String
,
Object
>>)
jsonObject
.
get
(
"deviceList"
);
List
<
Map
<
String
,
Object
>>
deviceList
=
(
List
<
Map
<
String
,
Object
>>)
jsonObject
.
get
(
"deviceList"
);
if
(
CollectionUtils
.
isNotEmpty
(
deviceList
))
{
if
(
CollectionUtils
.
isNotEmpty
(
deviceList
))
{
deviceList
.
forEach
(
map
->
{
Set
<
String
>
validCategories
=
new
HashSet
<>(
Arrays
.
asList
(
"8300"
,
"8200"
,
"8100"
));
JSONObject
item
=
new
JSONObject
(
map
);
deviceList
.
stream
()
String
equCode
=
item
.
getString
(
"equCode"
);
.
map
(
JSONObject:
:
new
)
String
record
=
item
.
getString
(
"record"
);
.
filter
(
item
->
!
validCategories
.
contains
(
category
)
||
if
((
whetherToFilterStatus
||
this
.
checkEquStatusInUse
(
record
))
&&
addedEquCodes
.
add
(
equCode
))
{
(
whetherToFilterStatus
||
this
.
checkEquStatusInUse
(
item
.
getString
(
"record"
))))
item
.
put
(
"useDate"
,
timeToMonths
(
useDate
));
.
peek
(
item
->
{
allEquipment
.
add
(
item
);
if
(!
validCategories
.
contains
(
category
))
{
addedEquCodes
.
add
(
item
.
getString
(
"equCode"
));
}
}
});
item
.
put
(
"useDate"
,
timeToMonths
(
useDate
));
})
.
forEach
(
allEquipment:
:
add
);
}
}
});
});
}
}
...
...
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