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
740345ca
Commit
740345ca
authored
Mar 03, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.安装告知、使用登记、改造变更登记增加,压力管道详情页面增加设备种类、设备类别、设备品种后端修改
parent
4be7b182
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
JgChangeRegistrationReformServiceImpl.java
...z/service/impl/JgChangeRegistrationReformServiceImpl.java
+20
-0
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/JgChangeRegistrationReformServiceImpl.java
View file @
740345ca
...
@@ -865,6 +865,25 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
...
@@ -865,6 +865,25 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
});
});
}
}
/**
* 历史数据填充设备种类、设备类别、设备品种
* @param detail 返回json
* @param jgChangeRegistrationReform 当前单据
*/
private
void
fillingEquCategoryNameForHisData
(
Map
<
String
,
Object
>
detail
,
JgChangeRegistrationReform
jgChangeRegistrationReform
)
{
if
(!
org
.
springframework
.
util
.
StringUtils
.
isEmpty
(
jgChangeRegistrationReform
.
getProjectContraptionId
())){
LambdaQueryWrapper
<
IdxBizJgProjectContraption
>
queryWrapper
=
new
LambdaQueryWrapper
<>();
queryWrapper
.
eq
(
BaseEntity:
:
getSequenceNbr
,
jgChangeRegistrationReform
.
getProjectContraptionId
());
queryWrapper
.
select
(
IdxBizJgProjectContraption:
:
getEquListName
,
IdxBizJgProjectContraption:
:
getEquCategoryName
,
IdxBizJgProjectContraption:
:
getEquDefineName
,
BaseEntity:
:
getSequenceNbr
);
IdxBizJgProjectContraption
projectContraption
=
jgProjectContraptionService
.
getBaseMapper
().
selectOne
(
queryWrapper
);
if
(
projectContraption
!=
null
){
detail
.
put
(
"equListName"
,
projectContraption
.
getEquListName
());
detail
.
put
(
"equCategoryName"
,
projectContraption
.
getEquCategoryName
());
detail
.
put
(
"equDefineName"
,
projectContraption
.
getEquDefineName
());
}
}
}
@Override
@Override
public
Map
<
String
,
Object
>
getDetail
(
String
currentDocumentId
,
String
equipId
)
{
public
Map
<
String
,
Object
>
getDetail
(
String
currentDocumentId
,
String
equipId
)
{
JgChangeRegistrationReform
jgChangeRegistrationReform
=
this
.
getBaseMapper
().
selectById
(
currentDocumentId
);
JgChangeRegistrationReform
jgChangeRegistrationReform
=
this
.
getBaseMapper
().
selectById
(
currentDocumentId
);
...
@@ -891,6 +910,7 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
...
@@ -891,6 +910,7 @@ public class JgChangeRegistrationReformServiceImpl extends BaseService<JgChangeR
}
}
detail
.
remove
(
"submit"
);
detail
.
remove
(
"submit"
);
detail
.
remove
(
"instanceId"
);
detail
.
remove
(
"instanceId"
);
this
.
fillingEquCategoryNameForHisData
(
detail
,
jgChangeRegistrationReform
);
return
detail
;
return
detail
;
}
}
...
...
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