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
5a1ac925
Commit
5a1ac925
authored
Jun 12, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(大编辑):bug修复
1.装置增加属地监管部门 2管道es增加使用登记证编号
parent
404cb896
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
20 additions
and
5 deletions
+20
-5
ProjectContraptionChangeDataDto.java
...ot/module/jg/api/dto/ProjectContraptionChangeDataDto.java
+6
-0
ChangeRegistrationReformEditUpdateService.java
...tionReform/ChangeRegistrationReformEditUpdateService.java
+1
-1
NewProjectEditUpdateService.java
...t/process/biz/newProject/NewProjectEditUpdateService.java
+1
-1
UseRegisterUpdateService.java
...dit/process/biz/useRegister/UseRegisterUpdateService.java
+1
-1
CommonEquipDataProcessService.java
...biz/edit/process/equip/CommonEquipDataProcessService.java
+3
-2
PieLineDataChangeServiceImpl.java
.../biz/edit/process/equip/PieLineDataChangeServiceImpl.java
+2
-0
SingleProjectEquipChangeProcess.java
...z/edit/process/equip/SingleProjectEquipChangeProcess.java
+6
-0
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/dto/ProjectContraptionChangeDataDto.java
View file @
5a1ac925
...
@@ -125,4 +125,10 @@ public class ProjectContraptionChangeDataDto extends BaseChangeDataDto {
...
@@ -125,4 +125,10 @@ public class ProjectContraptionChangeDataDto extends BaseChangeDataDto {
@FieldDisplayDefine
(
value
=
"投用日期"
,
isExist
=
false
)
@FieldDisplayDefine
(
value
=
"投用日期"
,
isExist
=
false
)
private
String
useDate
;
private
String
useDate
;
@FieldDisplayDefine
(
value
=
"属地监管部门"
,
isRepeatColumn
=
true
)
private
String
orgCode
;
@FieldDisplayDefine
(
value
=
"属地监管部门"
)
private
String
orgName
;
}
}
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 @
5a1ac925
...
@@ -101,7 +101,7 @@ public class ChangeRegistrationReformEditUpdateService {
...
@@ -101,7 +101,7 @@ public class ChangeRegistrationReformEditUpdateService {
// 按照装置id查询装置下管道,更新为已纳管状态
// 按照装置id查询装置下管道,更新为已纳管状态
List
<
IdxBizJgUseInfo
>
useInfos
=
commonEquipDataProcessService
.
getIdxBizJgUseInfoService
().
list
(
new
LambdaQueryWrapper
<
IdxBizJgUseInfo
>().
eq
(
IdxBizJgUseInfo:
:
getProjectContraptionId
,
jgChangeRegistrationReform
.
getProjectContraptionId
()).
eq
(
IdxBizJgUseInfo:
:
getIsIntoManagement
,
false
).
select
(
TzsBaseEntity:
:
getSequenceNbr
,
IdxBizJgUseInfo:
:
getRecord
));
List
<
IdxBizJgUseInfo
>
useInfos
=
commonEquipDataProcessService
.
getIdxBizJgUseInfoService
().
list
(
new
LambdaQueryWrapper
<
IdxBizJgUseInfo
>().
eq
(
IdxBizJgUseInfo:
:
getProjectContraptionId
,
jgChangeRegistrationReform
.
getProjectContraptionId
()).
eq
(
IdxBizJgUseInfo:
:
getIsIntoManagement
,
false
).
select
(
TzsBaseEntity:
:
getSequenceNbr
,
IdxBizJgUseInfo:
:
getRecord
));
useInfos
.
parallelStream
().
forEach
(
e
->
{
useInfos
.
parallelStream
().
forEach
(
e
->
{
commonEquipDataProcessService
.
setNewPipeline2InUseState
(
e
);
commonEquipDataProcessService
.
setNewPipeline2InUseState
(
e
,
jgChangeRegistrationReform
.
getUseRegistrationCode
()
);
commonEquipDataProcessService
.
updateUseOrgCode2NewPipeline
(
e
,
jgChangeRegistrationReform
.
getUseRegistrationCode
());
commonEquipDataProcessService
.
updateUseOrgCode2NewPipeline
(
e
,
jgChangeRegistrationReform
.
getUseRegistrationCode
());
});
});
}
}
...
...
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/newProject/NewProjectEditUpdateService.java
View file @
5a1ac925
...
@@ -33,7 +33,7 @@ public class NewProjectEditUpdateService {
...
@@ -33,7 +33,7 @@ public class NewProjectEditUpdateService {
// 按照装置id查询装置下管道,更新为已纳管状态写入使用登记证编号
// 按照装置id查询装置下管道,更新为已纳管状态写入使用登记证编号
List
<
IdxBizJgUseInfo
>
useInfos
=
useInfoService
.
list
(
new
LambdaQueryWrapper
<
IdxBizJgUseInfo
>().
eq
(
IdxBizJgUseInfo:
:
getProjectContraptionId
,
projectContraptionId
).
eq
(
IdxBizJgUseInfo:
:
getIsIntoManagement
,
false
).
select
(
IdxBizJgUseInfo:
:
getRecord
,
TzsBaseEntity:
:
getSequenceNbr
));
List
<
IdxBizJgUseInfo
>
useInfos
=
useInfoService
.
list
(
new
LambdaQueryWrapper
<
IdxBizJgUseInfo
>().
eq
(
IdxBizJgUseInfo:
:
getProjectContraptionId
,
projectContraptionId
).
eq
(
IdxBizJgUseInfo:
:
getIsIntoManagement
,
false
).
select
(
IdxBizJgUseInfo:
:
getRecord
,
TzsBaseEntity:
:
getSequenceNbr
));
useInfos
.
parallelStream
().
forEach
(
e
->
{
useInfos
.
parallelStream
().
forEach
(
e
->
{
commonEquipDataProcessService
.
setNewPipeline2InUseState
(
e
);
commonEquipDataProcessService
.
setNewPipeline2InUseState
(
e
,
projectContraption
.
getUseRegistrationCode
()
);
commonEquipDataProcessService
.
updateUseOrgCode2NewPipeline
(
e
,
projectContraption
.
getUseRegistrationCode
());
commonEquipDataProcessService
.
updateUseOrgCode2NewPipeline
(
e
,
projectContraption
.
getUseRegistrationCode
());
});
});
}
}
...
...
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/useRegister/UseRegisterUpdateService.java
View file @
5a1ac925
...
@@ -88,7 +88,7 @@ public class UseRegisterUpdateService {
...
@@ -88,7 +88,7 @@ public class UseRegisterUpdateService {
// 按照装置id查询装置下管道,更新为已纳管状态
// 按照装置id查询装置下管道,更新为已纳管状态
List
<
IdxBizJgUseInfo
>
useInfos
=
jgUseRegistrationService
.
getIdxBizJgUseInfoService
().
list
(
new
LambdaQueryWrapper
<
IdxBizJgUseInfo
>().
eq
(
IdxBizJgUseInfo:
:
getProjectContraptionId
,
useRegistration
.
getProjectContraptionId
()).
eq
(
IdxBizJgUseInfo:
:
getIsIntoManagement
,
false
).
select
(
TzsBaseEntity:
:
getSequenceNbr
,
IdxBizJgUseInfo:
:
getRecord
));
List
<
IdxBizJgUseInfo
>
useInfos
=
jgUseRegistrationService
.
getIdxBizJgUseInfoService
().
list
(
new
LambdaQueryWrapper
<
IdxBizJgUseInfo
>().
eq
(
IdxBizJgUseInfo:
:
getProjectContraptionId
,
useRegistration
.
getProjectContraptionId
()).
eq
(
IdxBizJgUseInfo:
:
getIsIntoManagement
,
false
).
select
(
TzsBaseEntity:
:
getSequenceNbr
,
IdxBizJgUseInfo:
:
getRecord
));
useInfos
.
parallelStream
().
forEach
(
e
->
{
useInfos
.
parallelStream
().
forEach
(
e
->
{
commonEquipDataProcessService
.
setNewPipeline2InUseState
(
e
);
commonEquipDataProcessService
.
setNewPipeline2InUseState
(
e
,
useRegistration
.
getUseRegistrationCode
()
);
commonEquipDataProcessService
.
updateUseOrgCode2NewPipeline
(
e
,
useRegistration
.
getUseRegistrationCode
());
commonEquipDataProcessService
.
updateUseOrgCode2NewPipeline
(
e
,
useRegistration
.
getUseRegistrationCode
());
});
});
}
}
...
...
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 @
5a1ac925
...
@@ -1127,18 +1127,19 @@ public class CommonEquipDataProcessService {
...
@@ -1127,18 +1127,19 @@ public class CommonEquipDataProcessService {
.
collect
(
Collectors
.
toList
());
.
collect
(
Collectors
.
toList
());
}
}
public
void
setNewPipeline2InUseState
(
IdxBizJgUseInfo
useInfo
)
{
public
void
setNewPipeline2InUseState
(
IdxBizJgUseInfo
useInfo
,
String
useOrgCode
)
{
// es 更新为已纳管
// es 更新为已纳管
LambdaUpdateWrapper
<
IdxBizJgUseInfo
>
updateWrapper
=
new
LambdaUpdateWrapper
<>();
LambdaUpdateWrapper
<
IdxBizJgUseInfo
>
updateWrapper
=
new
LambdaUpdateWrapper
<>();
updateWrapper
.
eq
(
TzsBaseEntity:
:
getSequenceNbr
,
useInfo
.
getSequenceNbr
());
updateWrapper
.
eq
(
TzsBaseEntity:
:
getSequenceNbr
,
useInfo
.
getSequenceNbr
());
updateWrapper
.
set
(
IdxBizJgUseInfo:
:
getIsIntoManagement
,
true
);
updateWrapper
.
set
(
IdxBizJgUseInfo:
:
getIsIntoManagement
,
true
);
jgUseRegistrationService
.
getIdxBizJgUseInfoService
().
update
(
updateWrapper
);
jgUseRegistrationService
.
getIdxBizJgUseInfoService
().
update
(
updateWrapper
);
// es 更新为已纳管、在用
// es 更新为已纳管、在用
、使用登记证编号
Optional
<
ESEquipmentCategoryDto
>
optional
=
esEquipmentCategory
.
findById
(
useInfo
.
getRecord
());
Optional
<
ESEquipmentCategoryDto
>
optional
=
esEquipmentCategory
.
findById
(
useInfo
.
getRecord
());
if
(
optional
.
isPresent
())
{
if
(
optional
.
isPresent
())
{
ESEquipmentCategoryDto
esEquipmentCategoryDto
=
optional
.
get
();
ESEquipmentCategoryDto
esEquipmentCategoryDto
=
optional
.
get
();
esEquipmentCategoryDto
.
setIS_INTO_MANAGEMENT
(
true
);
esEquipmentCategoryDto
.
setIS_INTO_MANAGEMENT
(
true
);
esEquipmentCategoryDto
.
setEQU_STATE
(
EquimentEnum
.
ZAIYONG
.
getCode
());
esEquipmentCategoryDto
.
setEQU_STATE
(
EquimentEnum
.
ZAIYONG
.
getCode
());
esEquipmentCategoryDto
.
setUSE_ORG_CODE
(
useOrgCode
);
esEquipmentCategory
.
save
(
esEquipmentCategoryDto
);
esEquipmentCategory
.
save
(
esEquipmentCategoryDto
);
}
}
}
}
...
...
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 @
5a1ac925
...
@@ -92,6 +92,8 @@ public class PieLineDataChangeServiceImpl {
...
@@ -92,6 +92,8 @@ public class PieLineDataChangeServiceImpl {
updateWrapper
.
set
(
IdxBizJgProjectContraption:
:
getProjectContraptionNo
,
projectContraptionChangeDataDtoNew
.
getProjectContraptionNo
());
updateWrapper
.
set
(
IdxBizJgProjectContraption:
:
getProjectContraptionNo
,
projectContraptionChangeDataDtoNew
.
getProjectContraptionNo
());
updateWrapper
.
set
(
IdxBizJgProjectContraption:
:
getProductPhoto
,
projectContraptionChangeDataDtoNew
.
getProductPhoto
());
updateWrapper
.
set
(
IdxBizJgProjectContraption:
:
getProductPhoto
,
projectContraptionChangeDataDtoNew
.
getProductPhoto
());
updateWrapper
.
set
(
IdxBizJgProjectContraption:
:
getOtherAccessories
,
projectContraptionChangeDataDtoNew
.
getOtherAccessories
());
updateWrapper
.
set
(
IdxBizJgProjectContraption:
:
getOtherAccessories
,
projectContraptionChangeDataDtoNew
.
getOtherAccessories
());
updateWrapper
.
set
(
IdxBizJgProjectContraption:
:
getOrgCode
,
projectContraptionChangeDataDtoNew
.
getOrgCode
());
updateWrapper
.
set
(
IdxBizJgProjectContraption:
:
getOrgName
,
projectContraptionChangeDataDtoNew
.
getOrgName
());
updateWrapper
.
set
(
IdxBizJgProjectContraption:
:
getProductQualificationCertificate
,
projectContraptionChangeDataDtoNew
.
getProductQualificationCertificate
());
updateWrapper
.
set
(
IdxBizJgProjectContraption:
:
getProductQualificationCertificate
,
projectContraptionChangeDataDtoNew
.
getProductQualificationCertificate
());
updateWrapper
.
set
(
BaseEntity:
:
getRecDate
,
new
Date
());
updateWrapper
.
set
(
BaseEntity:
:
getRecDate
,
new
Date
());
updateWrapper
.
eq
(
BaseEntity:
:
getSequenceNbr
,
projectContraptionChangeDataDtoNew
.
getProjectContraptionId
());
updateWrapper
.
eq
(
BaseEntity:
:
getSequenceNbr
,
projectContraptionChangeDataDtoNew
.
getProjectContraptionId
());
...
...
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 @
5a1ac925
...
@@ -8,6 +8,7 @@ import cn.hutool.core.text.CharSequenceUtil;
...
@@ -8,6 +8,7 @@ import cn.hutool.core.text.CharSequenceUtil;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.yeejoin.amos.boot.biz.common.bo.CompanyBo
;
import
com.yeejoin.amos.boot.module.jg.api.dto.*
;
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.constant.EditConstant
;
import
com.yeejoin.amos.boot.module.jg.biz.edit.process.biz.DefaultBizDataChangeHandler
;
import
com.yeejoin.amos.boot.module.jg.biz.edit.process.biz.DefaultBizDataChangeHandler
;
...
@@ -268,6 +269,11 @@ public class SingleProjectEquipChangeProcess implements IEquipChangeDataProcessS
...
@@ -268,6 +269,11 @@ public class SingleProjectEquipChangeProcess implements IEquipChangeDataProcessS
}
}
});
});
}
}
// 属地监管部门设置
if
(
StringUtils
.
isNotEmpty
(
projectContraptionChangeDataDto
.
getOrgCode
()))
{
CompanyBo
companyBo
=
commonEquipDataProcessService
.
getCommonMapper
().
queryCompanyByOrgCode
(
projectContraptionChangeDataDto
.
getOrgCode
());
projectContraptionChangeDataDto
.
setOrgName
(
companyBo
.
getCompanyName
());
}
}
}
...
...
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