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
6b647cc1
Commit
6b647cc1
authored
Jan 16, 2025
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):历史使用登记作废逻辑删除工程装置
parent
d563e61e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
DataDockServiceImpl.java
.../boot/module/jg/biz/service/impl/DataDockServiceImpl.java
+1
-0
JgUseRegistrationServiceImpl.java
...ule/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
+4
-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/DataDockServiceImpl.java
View file @
6b647cc1
...
...
@@ -1762,6 +1762,7 @@ public class DataDockServiceImpl {
esEquipmentDto
.
setPROJECT_CONTRAPTION
(
paramsDto
.
getProjectContraption
());
esEquipmentDto
.
setPRODUCT_NAME
(
pipelineInfo
.
getPipeName
());
esEquipmentDto
.
setProjectContraptionId
(
paramsDto
.
getProjectContraptionSeq
());
esEquipmentDto
.
setUSE_ORG_CODE
(
paramsDto
.
getUseOrgCode
());
if
(
inspectionDetectionInfo
.
getNextInspectDate
()
!=
null
)
{
esEquipmentDto
.
setNEXT_INSPECT_DATE
(
inspectionDetectionInfo
.
getNextInspectDate
().
getTime
());
}
...
...
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 @
6b647cc1
...
...
@@ -2864,6 +2864,10 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
this
.
invalidUseRegistrationCertificate
(
jgUseRegistration
);
// 单据逻辑删除
this
.
lambdaUpdate
().
set
(
JgUseRegistration:
:
getIsDelete
,
Boolean
.
TRUE
).
eq
(
JgUseRegistration:
:
getSequenceNbr
,
sequenceNbr
).
update
();
// 管道作废工程装置
if
(!
ValidationUtil
.
isEmpty
(
jgUseRegistration
.
getProjectContraptionId
()))
{
idxBizJgProjectContraptionMapper
.
delete
(
new
LambdaQueryWrapper
<
IdxBizJgProjectContraption
>().
eq
(
IdxBizJgProjectContraption:
:
getSequenceNbr
,
jgUseRegistration
.
getProjectContraptionId
()));
}
}
else
{
// 处理非批量导入数据,更新关联业务状态
processElseDataByStatus
(
oldStatus
,
jgUseRegistration
);
...
...
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