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
9426c846
Commit
9426c846
authored
Aug 27, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(jg): 设备业务履历
1.更名变更登记、车用气瓶变更登记、补证登记
parent
8052030f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
18 deletions
+2
-18
JgVehicleInformationMapper.java
...boot/module/jg/api/mapper/JgVehicleInformationMapper.java
+1
-1
JgMaintenanceContractServiceImpl.java
...jg/biz/service/impl/JgMaintenanceContractServiceImpl.java
+1
-17
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/mapper/JgVehicleInformationMapper.java
View file @
9426c846
...
@@ -54,5 +54,5 @@ public interface JgVehicleInformationMapper extends BaseMapper<JgVehicleInformat
...
@@ -54,5 +54,5 @@ public interface JgVehicleInformationMapper extends BaseMapper<JgVehicleInformat
List
<
Map
<
String
,
Object
>>
getVehicleInfoOfPassWithEquId
();
List
<
Map
<
String
,
Object
>>
getVehicleInfoOfPassWithEquId
();
List
<
ReminderItemDto
>
queryUnitVehiclesForReminderList
(
List
<
String
>
records
);
List
<
ReminderItemDto
>
queryUnitVehiclesForReminderList
(
@Param
(
"records"
)
List
<
String
>
records
);
}
}
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/JgMaintenanceContractServiceImpl.java
View file @
9426c846
...
@@ -717,7 +717,7 @@ public class JgMaintenanceContractServiceImpl extends BaseService<JgMaintenanceC
...
@@ -717,7 +717,7 @@ public class JgMaintenanceContractServiceImpl extends BaseService<JgMaintenanceC
updateEquipMessage
(
contract
.
getSequenceNbr
(),
taskV2Model
);
updateEquipMessage
(
contract
.
getSequenceNbr
(),
taskV2Model
);
// 发送数据刷新消息
// 发送数据刷新消息
this
.
sendDataRefreshMsg
(
sequenceNbr
);
this
.
sendDataRefreshMsg
(
sequenceNbr
);
//
创建设备履历
// 创建设备履历
this
.
createResume
(
contract
,
taskV2Model
.
getRoutePath
());
this
.
createResume
(
contract
,
taskV2Model
.
getRoutePath
());
}
}
this
.
getBaseMapper
().
updateById
(
contract
);
this
.
getBaseMapper
().
updateById
(
contract
);
...
@@ -789,22 +789,6 @@ public class JgMaintenanceContractServiceImpl extends BaseService<JgMaintenanceC
...
@@ -789,22 +789,6 @@ public class JgMaintenanceContractServiceImpl extends BaseService<JgMaintenanceC
.
set
(
IdxBizJgUseInfo:
:
getSafetyManager
,
jgMaintenanceContract
.
getMaintenanceManagerName
())
.
set
(
IdxBizJgUseInfo:
:
getSafetyManager
,
jgMaintenanceContract
.
getMaintenanceManagerName
())
.
set
(
IdxBizJgUseInfo:
:
getPhone
,
jgMaintenanceContract
.
getMaintenanceManagerPhone
()));
.
set
(
IdxBizJgUseInfo:
:
getPhone
,
jgMaintenanceContract
.
getMaintenanceManagerPhone
()));
}
}
jgResumeInfoService
.
saveBatchResume
(
list
.
stream
()
.
map
(
v
->
JgResumeInfoDto
.
builder
()
.
applyNo
(
jgMaintenanceContract
.
getApplyNo
())
.
businessType
(
BusinessTypeEnum
.
JG_MAINTENANCE_RECORD
.
getName
())
.
businessId
(
String
.
valueOf
(
jgMaintenanceContract
.
getSequenceNbr
()))
.
equId
(
String
.
valueOf
(
v
.
getEquId
()))
.
approvalUnit
(
jgMaintenanceContract
.
getReceiveOrgName
())
.
approvalUnitCode
(
jgMaintenanceContract
.
getReceiveOrgCode
())
.
status
(
"正常"
)
.
changeContent
(
BusinessTypeEnum
.
JG_MAINTENANCE_RECORD
.
getName
()
+
"业务办理"
)
.
routePath
(
taskV2Model
.
getRoutePath
())
.
build
())
.
collect
(
Collectors
.
toList
())
);
idxBizJgMaintenanceRecordInfoService
.
saveBatch
(
maintenanceRecordInfoList
);
idxBizJgMaintenanceRecordInfoService
.
saveBatch
(
maintenanceRecordInfoList
);
// 维保备案后更新安全追溯对应设备状态
// 维保备案后更新安全追溯对应设备状态
emqKeeper
.
getMqttClient
().
publish
(
SafetyProblemTypeEnum
.
WBBA
.
getTopic
(),
JSON
.
toJSONBytes
(
maintenanceRecordInfoList
),
2
,
false
);
emqKeeper
.
getMqttClient
().
publish
(
SafetyProblemTypeEnum
.
WBBA
.
getTopic
(),
JSON
.
toJSONBytes
(
maintenanceRecordInfoList
),
2
,
false
);
...
...
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