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
b556bb51
Commit
b556bb51
authored
Oct 31, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reafact(jg): 压力管道管道长度
1.压力管道管道长度调整为字符串/分隔开,大编辑调整
parent
a80884b6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
CommonEquipDataProcessService.java
...biz/edit/process/equip/CommonEquipDataProcessService.java
+1
-1
PieLineDataChangeServiceImpl.java
.../biz/edit/process/equip/PieLineDataChangeServiceImpl.java
+3
-0
SingleProjectEquipChangeProcess.java
...z/edit/process/equip/SingleProjectEquipChangeProcess.java
+5
-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/equip/CommonEquipDataProcessService.java
View file @
b556bb51
...
...
@@ -1149,7 +1149,7 @@ public class CommonEquipDataProcessService {
.
eq
(
IdxBizJgUseInfo:
:
getProjectContraptionId
,
projectContraptionId
)
.
eq
(
IdxBizJgUseInfo:
:
getIsIntoManagement
,
false
)
.
select
(
TzsBaseEntity:
:
getSequenceNbr
,
IdxBizJgUseInfo:
:
getRecord
));
useInfos
.
parallelStream
().
forEach
(
e
->
{
useInfos
.
forEach
(
e
->
{
this
.
setNewPipelineUseState
(
e
,
useRegistrationCode
);
this
.
updateUseOrgCode2NewPipeline
(
e
,
useRegistrationCode
);
});
...
...
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 @
b556bb51
...
...
@@ -12,6 +12,7 @@ import com.yeejoin.amos.boot.module.common.api.dao.ESEquipmentCategory;
import
com.yeejoin.amos.boot.module.common.api.dao.EsEquipmentDao
;
import
com.yeejoin.amos.boot.module.common.api.dto.ESEquipmentCategoryDto
;
import
com.yeejoin.amos.boot.module.common.api.entity.ESEquipmentInfo
;
import
com.yeejoin.amos.boot.module.jg.api.common.PipLenCalUtils
;
import
com.yeejoin.amos.boot.module.jg.api.dto.*
;
import
com.yeejoin.amos.boot.module.jg.biz.edit.constant.EditConstant
;
import
com.yeejoin.amos.boot.module.jg.biz.edit.typeHandler.CbDataDictTypeHandler
;
...
...
@@ -260,6 +261,8 @@ public class PieLineDataChangeServiceImpl {
pipelineInfo
.
setSequenceNbr
(
null
);
}
idxBizJgTechParamsPipelineService
.
save
(
pipelineInfo
);
// todo 上方代码通过填充器,自动会填充pipeLength,如下设置是为了返回业务使用
newPieLine
.
setPipeLength
(
pipelineInfo
.
getPipeLength
());
registerInfo
.
setProductName
(
pipelineInfo
.
getPipeName
());
commonEquipDataProcessService
.
getJgRegisterInfoService
().
save
(
registerInfo
);
...
...
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/SingleProjectEquipChangeProcess.java
View file @
b556bb51
...
...
@@ -10,6 +10,7 @@ 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.bo.CompanyBo
;
import
com.yeejoin.amos.boot.module.jg.api.common.PipLenCalUtils
;
import
com.yeejoin.amos.boot.module.jg.api.dto.*
;
import
com.yeejoin.amos.boot.module.jg.biz.edit.constant.EditConstant
;
import
com.yeejoin.amos.boot.module.jg.biz.edit.esUpdate.service.EsUpdateService
;
...
...
@@ -90,6 +91,8 @@ public class SingleProjectEquipChangeProcess implements IEquipChangeDataProcessS
}
else
{
// 更新管道逻辑
if
(
isRequireTemporarySave
)
{
// 记录变化流水
PipelineChangeItemDto
pipelineOld
=
oldRecordPipelineMap
.
get
(
record
);
// json时手工计算求和管道长度
pipelineNew
.
setPipeLength
(
PipLenCalUtils
.
cal
(
pipelineNew
.
getPipeLengthText
()));
// 安装信息变更日志
this
.
buildConstructionInfoChangeLog
(
record
,
pipelineNew
,
pipelineOld
,
projectContraptionChangeDataDto
,
allChangeColumns
);
// 检验信息变更日志
...
...
@@ -111,6 +114,8 @@ public class SingleProjectEquipChangeProcess implements IEquipChangeDataProcessS
pieLineDataChangeService
.
saveDesignForPieLine
(
record
,
allChangeColumns
,
pipelineNew
);
// 技术参数入库保存
TechParamsPipelineChangeFieldDto
paramsPipelineChangeFieldDto
=
new
TechParamsPipelineChangeFieldDto
();
// 手工计算求和管道长度业务使用
pipelineNew
.
setPipeLength
(
PipLenCalUtils
.
cal
(
pipelineNew
.
getPipeLengthText
()));
BeanUtil
.
copyProperties
(
pipelineNew
,
paramsPipelineChangeFieldDto
,
true
);
commonEquipDataProcessService
.
savePieLineTechParam
(
record
,
allChangeColumns
,
paramsPipelineChangeFieldDto
);
}
...
...
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