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
b921821e
Commit
b921821e
authored
Jun 11, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(大编辑):bug修复
1.管道长度编辑时机械能更新 2.流程中的改造变更登记、使用登记、安装告知更新冗余字段管道长度、管道名称
parent
8d5d8d69
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
ChangeRegistrationReformEditUpdateService.java
...tionReform/ChangeRegistrationReformEditUpdateService.java
+6
-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/edit/process/biz/changeRegistrationReform/ChangeRegistrationReformEditUpdateService.java
View file @
b921821e
...
...
@@ -3,6 +3,7 @@ package com.yeejoin.amos.boot.module.jg.biz.edit.process.biz.changeRegistrationR
import
cn.hutool.core.bean.BeanUtil
;
import
com.alibaba.fastjson.JSONObject
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEntity
;
import
com.yeejoin.amos.boot.biz.common.entity.TzsBaseEntity
;
import
com.yeejoin.amos.boot.module.jg.api.dto.FieldChangeMeta
;
...
...
@@ -91,6 +92,11 @@ public class ChangeRegistrationReformEditUpdateService {
jsonObject
.
put
(
"projectContraption"
,
projectContraption
.
getProjectContraption
());
jsonObject
.
put
(
"equipmentLists"
,
pieLineDataChangeService
.
buildEquipmentLists
(
pipelineChangeItemMap
));
commonServiceBiz
.
saveOrUpdateHistory
(
""
,
jsonObject
,
bizId
,
applyNo
);
// 4.管道名称修改
LambdaUpdateWrapper
<
JgChangeRegistrationReform
>
updateWrapper
=
new
LambdaUpdateWrapper
<>();
updateWrapper
.
eq
(
JgChangeRegistrationReform:
:
getSequenceNbr
,
jgChangeRegistrationReform
.
getSequenceNbr
());
updateWrapper
.
set
(
JgChangeRegistrationReform:
:
getProjectContraption
,
projectContraption
.
getProjectContraption
());
mainService
.
update
(
updateWrapper
);
}
else
{
// 完成时,把管道更新为已纳管状态
// 按照装置id查询装置下管道,更新为已纳管状态
List
<
IdxBizJgUseInfo
>
useInfos
=
commonEquipDataProcessService
.
getIdxBizJgUseInfoService
().
list
(
new
LambdaQueryWrapper
<
IdxBizJgUseInfo
>().
eq
(
IdxBizJgUseInfo:
:
getProjectContraptionId
,
jgChangeRegistrationReform
.
getProjectContraptionId
()).
eq
(
IdxBizJgUseInfo:
:
getIsIntoManagement
,
false
).
select
(
TzsBaseEntity:
:
getSequenceNbr
,
IdxBizJgUseInfo:
:
getRecord
));
...
...
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