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
f6d1f7ff
Commit
f6d1f7ff
authored
Dec 18, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.压力管道编辑保存时同步更新装置下的搜索管道es的装置名称
parent
4668c066
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
ESEquipmentCategory.java
.../amos/boot/module/common/api/dao/ESEquipmentCategory.java
+1
-1
ESEquipmentCategoryDto.java
...os/boot/module/common/api/dto/ESEquipmentCategoryDto.java
+2
-2
EquipChangeDataUpdateService.java
...ule/jg/biz/service/impl/EquipChangeDataUpdateService.java
+1
-1
IdxBizJgRegisterInfoServiceImpl.java
.../jg/biz/service/impl/IdxBizJgRegisterInfoServiceImpl.java
+1
-1
No files found.
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/dao/ESEquipmentCategory.java
View file @
f6d1f7ff
...
@@ -9,5 +9,5 @@ import java.util.List;
...
@@ -9,5 +9,5 @@ import java.util.List;
@Repository
@Repository
public
interface
ESEquipmentCategory
extends
PagingAndSortingRepository
<
ESEquipmentCategoryDto
,
String
>
{
public
interface
ESEquipmentCategory
extends
PagingAndSortingRepository
<
ESEquipmentCategoryDto
,
String
>
{
List
<
ESEquipmentCategoryDto
>
findAllByP
ROJECT_CONTRAPTION_ID
(
String
PROJECT_CONTRAPTION_ID
);
List
<
ESEquipmentCategoryDto
>
findAllByP
rojectContraptionId
(
String
PROJECT_CONTRAPTION_ID
);
}
}
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/dto/ESEquipmentCategoryDto.java
View file @
f6d1f7ff
...
@@ -177,6 +177,6 @@ public class ESEquipmentCategoryDto {
...
@@ -177,6 +177,6 @@ public class ESEquipmentCategoryDto {
/**
/**
* 工程装置id(工业管道使用)
* 工程装置id(工业管道使用)
*/
*/
@Field
(
type
=
FieldType
.
Keyword
)
@Field
(
type
=
FieldType
.
Keyword
,
name
=
"PROJECT_CONTRAPTION_ID"
)
private
String
PROJECT_CONTRAPTION_ID
;
private
String
projectContraptionId
;
}
}
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/EquipChangeDataUpdateService.java
View file @
f6d1f7ff
...
@@ -139,7 +139,7 @@ public class EquipChangeDataUpdateService {
...
@@ -139,7 +139,7 @@ public class EquipChangeDataUpdateService {
public
void
updateRegisterEsDataPieLine
(
ProjectContraptionChangeDataDto
registerChangeDataDto
)
{
public
void
updateRegisterEsDataPieLine
(
ProjectContraptionChangeDataDto
registerChangeDataDto
)
{
// es 数据更新
// es 数据更新
List
<
ESEquipmentCategoryDto
>
pieLines
=
esEquipmentCategory
.
findAllByP
ROJECT_CONTRAPTION_ID
(
registerChangeDataDto
.
getProjectContraptionId
());
List
<
ESEquipmentCategoryDto
>
pieLines
=
esEquipmentCategory
.
findAllByP
rojectContraptionId
(
registerChangeDataDto
.
getProjectContraptionId
());
for
(
ESEquipmentCategoryDto
esEquipmentCategoryDto:
pieLines
)
{
for
(
ESEquipmentCategoryDto
esEquipmentCategoryDto:
pieLines
)
{
esEquipmentCategoryDto
.
setPROJECT_CONTRAPTION
(
registerChangeDataDto
.
getProjectContraption
());
esEquipmentCategoryDto
.
setPROJECT_CONTRAPTION
(
registerChangeDataDto
.
getProjectContraption
());
}
}
...
...
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/IdxBizJgRegisterInfoServiceImpl.java
View file @
f6d1f7ff
...
@@ -673,7 +673,7 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
...
@@ -673,7 +673,7 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
esEquipmentDto
.
setUSC_UNIT_NAME
(
projectContraption
.
getUscUnitName
());
esEquipmentDto
.
setUSC_UNIT_NAME
(
projectContraption
.
getUscUnitName
());
esEquipmentDto
.
setPROJECT_CONTRAPTION
(
projectContraption
.
getProjectContraption
());
esEquipmentDto
.
setPROJECT_CONTRAPTION
(
projectContraption
.
getProjectContraption
());
esEquipmentDto
.
setPRODUCT_NAME
(
pipelineInfo
.
getPipeName
());
esEquipmentDto
.
setPRODUCT_NAME
(
pipelineInfo
.
getPipeName
());
esEquipmentDto
.
setP
ROJECT_CONTRAPTION_ID
(
String
.
valueOf
(
sequenceNbr
));
esEquipmentDto
.
setP
rojectContraptionId
(
String
.
valueOf
(
sequenceNbr
));
if
(
inspectionDetectionInfo
.
getNextInspectDate
()
!=
null
)
{
if
(
inspectionDetectionInfo
.
getNextInspectDate
()
!=
null
)
{
esEquipmentDto
.
setNEXT_INSPECT_DATE
(
inspectionDetectionInfo
.
getNextInspectDate
().
getTime
());
esEquipmentDto
.
setNEXT_INSPECT_DATE
(
inspectionDetectionInfo
.
getNextInspectDate
().
getTime
());
}
}
...
...
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