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
003ed358
Commit
003ed358
authored
Sep 16, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refeat(jyjc): 报检规则4.0开发
1.监管业务设备创建时增加是否球罐字段
parent
4621beaa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
0 deletions
+17
-0
ESEquipmentCategoryDto.java
...os/boot/module/common/api/dto/ESEquipmentCategoryDto.java
+8
-0
EquipCreateOrEditEvent.java
...le/jg/biz/reminder/core/event/EquipCreateOrEditEvent.java
+3
-0
IdxBizJgRegisterInfoServiceImpl.java
.../jg/biz/service/impl/IdxBizJgRegisterInfoServiceImpl.java
+6
-0
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/dto/ESEquipmentCategoryDto.java
View file @
003ed358
package
com
.
yeejoin
.
amos
.
boot
.
module
.
common
.
api
.
dto
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
common
.
api
.
dto
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.yeejoin.amos.boot.biz.common.annotation.FieldDisplayDefine
;
import
lombok.Data
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
import
lombok.experimental.Accessors
;
import
org.springframework.data.annotation.Id
;
import
org.springframework.data.annotation.Id
;
...
@@ -211,4 +213,10 @@ public class ESEquipmentCategoryDto {
...
@@ -211,4 +213,10 @@ public class ESEquipmentCategoryDto {
*/
*/
@Field
(
type
=
FieldType
.
Keyword
)
@Field
(
type
=
FieldType
.
Keyword
)
private
String
tag1
;
private
String
tag1
;
/**
* 是否球罐
*/
@Field
(
type
=
FieldType
.
Keyword
,
name
=
"WHETHER_SPHERICAL_TANK"
)
private
String
whetherSphericalTank
;
}
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/reminder/core/event/EquipCreateOrEditEvent.java
View file @
003ed358
...
@@ -5,6 +5,9 @@ import org.springframework.context.ApplicationEvent;
...
@@ -5,6 +5,9 @@ import org.springframework.context.ApplicationEvent;
import
java.util.Set
;
import
java.util.Set
;
/**
* 数据质量等级计算消息
*/
@Getter
@Getter
public
class
EquipCreateOrEditEvent
extends
ApplicationEvent
{
public
class
EquipCreateOrEditEvent
extends
ApplicationEvent
{
...
...
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 @
003ed358
...
@@ -3971,10 +3971,16 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
...
@@ -3971,10 +3971,16 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
Date
nextInspectDate
=
(
Date
)
map
.
get
(
"NEXT_INSPECT_DATE"
);
Date
nextInspectDate
=
(
Date
)
map
.
get
(
"NEXT_INSPECT_DATE"
);
dto
.
setNEXT_INSPECT_DATE
(
DateUtil
.
parse
(
DateUtil
.
format
(
nextInspectDate
,
DatePattern
.
NORM_DATE_PATTERN
)).
getTime
());
dto
.
setNEXT_INSPECT_DATE
(
DateUtil
.
parse
(
DateUtil
.
format
(
nextInspectDate
,
DatePattern
.
NORM_DATE_PATTERN
)).
getTime
());
}
}
this
.
setWhetherSphericalTank
(
dto
);
equipmentCategoryService
.
saveWithImmediateRefresh
(
dto
);
equipmentCategoryService
.
saveWithImmediateRefresh
(
dto
);
}
}
}
}
private
void
setWhetherSphericalTank
(
ESEquipmentCategoryDto
dto
)
{
IdxBizJgRegisterInfo
registerInfo
=
idxBizJgRegisterInfoService
.
getOne
(
new
LambdaQueryWrapper
<
IdxBizJgRegisterInfo
>().
eq
(
IdxBizJgRegisterInfo:
:
getRecord
,
dto
.
getSEQUENCE_NBR
()).
select
(
IdxBizJgRegisterInfo:
:
getRecord
,
IdxBizJgRegisterInfo:
:
getWhetherSphericalTank
));
dto
.
setWhetherSphericalTank
(
registerInfo
.
getWhetherSphericalTank
());
}
private
List
getAccessoryEntity
(
Map
<
String
,
Object
>
map
,
List
<
String
>
list
,
String
subFormType
,
String
record
,
Date
date
,
String
type
)
{
private
List
getAccessoryEntity
(
Map
<
String
,
Object
>
map
,
List
<
String
>
list
,
String
subFormType
,
String
record
,
Date
date
,
String
type
)
{
List
<
IdxBizJgMainParts
>
mainPartsList
=
new
ArrayList
<>();
List
<
IdxBizJgMainParts
>
mainPartsList
=
new
ArrayList
<>();
List
<
IdxBizJgProtectionDevices
>
protectionDevicesList
=
new
ArrayList
<>();
List
<
IdxBizJgProtectionDevices
>
protectionDevicesList
=
new
ArrayList
<>();
...
...
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