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
8f4fd394
Commit
8f4fd394
authored
Mar 17, 2026
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):车用气瓶驳回撤回添加日志记录
parent
067762c9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
3 deletions
+26
-3
JgVehicleInformationServiceImpl.java
.../jg/biz/service/impl/JgVehicleInformationServiceImpl.java
+26
-3
No files found.
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/JgVehicleInformationServiceImpl.java
View file @
8f4fd394
...
@@ -517,14 +517,37 @@ public class JgVehicleInformationServiceImpl extends BaseService<JgVehicleInform
...
@@ -517,14 +517,37 @@ public class JgVehicleInformationServiceImpl extends BaseService<JgVehicleInform
* 删除 redis校验重复引用设备的数据
* 删除 redis校验重复引用设备的数据
*/
*/
private
void
delRepeatUseEquipData
(
JgVehicleInformation
notice
)
{
private
void
delRepeatUseEquipData
(
JgVehicleInformation
notice
)
{
log
.
info
(
"status = {}"
,
notice
.
getStatus
());
log
.
info
(
"【车用气瓶-撤回校验开始】applyNo={}, status={}, useUnitCreditCode={}"
,
notice
.
getApplyNo
(),
notice
.
getStatus
(),
notice
.
getUseUnitCreditCode
());
if
(
NOT_FLOWING_STATE
.
contains
(
notice
.
getStatus
()))
{
if
(
NOT_FLOWING_STATE
.
contains
(
notice
.
getStatus
()))
{
LambdaQueryWrapper
<
JgVehicleInformationEq
>
queryWrapper
=
new
LambdaQueryWrapper
<>();
LambdaQueryWrapper
<
JgVehicleInformationEq
>
queryWrapper
=
new
LambdaQueryWrapper
<>();
queryWrapper
.
eq
(
JgVehicleInformationEq:
:
getVehicleId
,
notice
.
getSequenceNbr
());
queryWrapper
.
eq
(
JgVehicleInformationEq:
:
getVehicleId
,
notice
.
getSequenceNbr
());
List
<
JgVehicleInformationEq
>
noticeEqList
=
jgVehicleInformationEqService
.
list
(
queryWrapper
);
List
<
JgVehicleInformationEq
>
noticeEqList
=
jgVehicleInformationEqService
.
list
(
queryWrapper
);
noticeEqList
.
forEach
(
noticeEq
->
EquipUsedCheckStrategyContext
.
getUsedStrategy
(
DEFINITION_KEY
)
log
.
info
(
"【车用气瓶-查询设备】applyNo={}, 查询到设备数量={}"
,
.
delDataForCheckEquipRepeatUsed
(
Collections
.
singletonList
(
noticeEq
.
getEquId
()),
notice
.
getUseUnitCreditCode
()));
notice
.
getApplyNo
(),
noticeEqList
==
null
?
0
:
noticeEqList
.
size
());
if
(
noticeEqList
!=
null
&&
!
noticeEqList
.
isEmpty
())
{
noticeEqList
.
forEach
(
noticeEq
->
{
log
.
info
(
"【车用气瓶-删除重复使用校验】applyNo={}, equId={}, useUnitCreditCode={}"
,
notice
.
getApplyNo
(),
noticeEq
.
getEquId
(),
notice
.
getUseUnitCreditCode
());
EquipUsedCheckStrategyContext
.
getUsedStrategy
(
DEFINITION_KEY
)
.
delDataForCheckEquipRepeatUsed
(
Collections
.
singletonList
(
noticeEq
.
getEquId
()),
notice
.
getUseUnitCreditCode
()
);
});
}
else
{
log
.
info
(
"【车用气瓶-删除重复使用校验】applyNo={} 未查询到设备信息,无需处理"
,
notice
.
getApplyNo
());
}
}
else
{
log
.
info
(
"【车用气瓶-驳回校验跳过】applyNo={}, status={} 不在撤回处理状态范围"
,
notice
.
getApplyNo
(),
notice
.
getStatus
());
}
}
log
.
info
(
"【车用气瓶-撤回校验结束】applyNo={}"
,
notice
.
getApplyNo
());
}
}
private
List
<
String
>
getEquList
(
JgVehicleInformation
notice
)
{
private
List
<
String
>
getEquList
(
JgVehicleInformation
notice
)
{
...
...
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