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
4dac010d
Commit
4dac010d
authored
Jul 30, 2025
by
tianbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor(jg): 优化设备信息处理和安全问题追踪
- 为"是否撬装式压力容器"字段添加自定义转换器 - 更新管道数据变更服务,设置使用日期 - 优化安全问题时间处理和用户名设置
parent
e0da842f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
EquipInfoExcelDto.java
...eejoin/amos/boot/module/jg/api/dto/EquipInfoExcelDto.java
+1
-1
PieLineDataChangeServiceImpl.java
.../biz/edit/process/equip/PieLineDataChangeServiceImpl.java
+1
-0
SingleProjectEquipChangeProcess.java
...z/edit/process/equip/SingleProjectEquipChangeProcess.java
+1
-2
SafetyProblemTopicMessage.java
...oot/module/jg/biz/listener/SafetyProblemTopicMessage.java
+2
-1
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/EquipInfoExcelDto.java
View file @
4dac010d
...
...
@@ -115,7 +115,7 @@ public class EquipInfoExcelDto extends BaseDto {
private
String
whetherSphericalTank
;
@ApiModelProperty
(
value
=
"是否撬装式压力容器"
)
@ExcelProperty
(
value
=
"是否撬装式压力容器"
)
@ExcelProperty
(
value
=
"是否撬装式压力容器"
,
converter
=
VehicleCylinderConverter
.
class
)
private
String
whetherSkidMountedPressureVessel
;
@ApiModelProperty
(
value
=
"是否车用气瓶"
)
...
...
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 @
4dac010d
...
...
@@ -100,6 +100,7 @@ public class PieLineDataChangeServiceImpl {
updateWrapper
.
set
(
IdxBizJgProjectContraption:
:
getOrgName
,
projectContraptionChangeDataDtoNew
.
getOrgName
());
updateWrapper
.
set
(
IdxBizJgProjectContraption:
:
getUseRegistrationCode
,
projectContraptionChangeDataDtoNew
.
getUseRegistrationCode
());
updateWrapper
.
set
(
IdxBizJgProjectContraption:
:
getProductQualificationCertificate
,
projectContraptionChangeDataDtoNew
.
getProductQualificationCertificate
());
updateWrapper
.
set
(
IdxBizJgProjectContraption:
:
getUseDate
,
projectContraptionChangeDataDtoNew
.
getUseDate
());
updateWrapper
.
set
(
BaseEntity:
:
getRecDate
,
new
Date
());
updateWrapper
.
eq
(
BaseEntity:
:
getSequenceNbr
,
projectContraptionChangeDataDtoNew
.
getProjectContraptionId
());
idxBizJgProjectContraptionServiceImpl
.
update
(
null
,
updateWrapper
);
...
...
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 @
4dac010d
...
...
@@ -10,8 +10,6 @@ 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.common.biz.event.CommonPublisher
;
import
com.yeejoin.amos.boot.module.common.biz.refresh.DataRefreshEvent
;
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
;
...
...
@@ -230,6 +228,7 @@ public class SingleProjectEquipChangeProcess implements IEquipChangeDataProcessS
IdxBizJgUseInfo
useInfoNew
=
new
IdxBizJgUseInfo
();
BeanUtil
.
copyProperties
(
useInfoOld
,
useInfoNew
,
true
);
BeanUtil
.
copyProperties
(
updatePieLine
,
useInfoNew
,
true
);
useInfoNew
.
setUseDate
(
projectContraptionChangeDataDto
.
getUseDate
());
useInfoNew
.
setSequenceNbr
(
useInfoOld
.
getSequenceNbr
());
setNewUseAddressInfo
(
projectContraptionChangeDataDto
,
useInfoNew
);
// 冗余的字典名称字段更新
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/listener/SafetyProblemTopicMessage.java
View file @
4dac010d
...
...
@@ -207,13 +207,14 @@ public class SafetyProblemTopicMessage extends EmqxListener {
safetyProblemTracing
.
setSourceType
(
json
.
getString
(
"sourceType"
));
safetyProblemTracing
.
setSourceTypeCode
(
json
.
getString
(
"sourceTypeCode"
));
safetyProblemTracing
.
setSourceId
(
json
.
getString
(
"problemSourceId"
));
safetyProblemTracing
.
setProblemTime
(
new
Date
(
));
safetyProblemTracing
.
setProblemTime
(
getProblemTime
(
json
));
safetyProblemTracing
.
setPrincipalUnit
(
json
.
getOrDefault
(
"useUnit"
,
""
).
toString
());
safetyProblemTracing
.
setPrincipalUnitCode
(
json
.
getOrDefault
(
"useUnitCode"
,
""
).
toString
());
safetyProblemTracing
.
setPrincipalUnitType
(
json
.
getOrDefault
(
"unitType"
,
""
).
toString
());
safetyProblemTracing
.
setGoverningBody
(
json
.
getOrDefault
(
"superviseOrgName"
,
""
).
toString
());
safetyProblemTracing
.
setGoverningBodyCode
(
json
.
getOrDefault
(
"superviseCode"
,
""
).
toString
());
safetyProblemTracing
.
setGoverningBodyOrgCode
(
json
.
getOrDefault
(
"superviseOrgCode"
,
""
).
toString
());
safetyProblemTracing
.
setUserName
(
ValidationUtil
.
isEmpty
(
json
.
getString
(
"userName"
))
?
null
:
json
.
getString
(
"userName"
));
safetyProblemTracing
.
setCreateDate
(
new
Date
());
safetyProblemTracing
.
setProblemStatus
(
SafetyProblemStatusEnum
.
UNHANDLED
.
getName
());
safetyProblemTracing
.
setProblemStatusCode
(
SafetyProblemStatusEnum
.
UNHANDLED
.
getCode
());
...
...
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