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
bf240d8e
Commit
bf240d8e
authored
Sep 22, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jyjc): 报检规则4.0开发
1.单据删除bug
parent
2cd14f03
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
JyjcInspectionApplicationServiceImpl.java
...iz/service/impl/JyjcInspectionApplicationServiceImpl.java
+3
-2
No files found.
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/service/impl/JyjcInspectionApplicationServiceImpl.java
View file @
bf240d8e
...
@@ -506,13 +506,14 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
...
@@ -506,13 +506,14 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
}
}
@Override
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
Boolean
deleteBatchData
(
List
<
Long
>
sequenceNbr
)
{
public
Boolean
deleteBatchData
(
List
<
Long
>
sequenceNbr
)
{
this
.
deleteBatchSeq
(
sequenceNbr
);
this
.
deleteBatchSeq
(
sequenceNbr
);
for
(
Long
seq
:
sequenceNbr
)
{
for
(
Long
seq
:
sequenceNbr
)
{
jyjcInspectionApplicationEquipService
.
getBaseMapper
().
deleteByApplicationSeq
(
seq
);
jyjcInspectionApplicationEquipService
.
getBaseMapper
().
deleteByApplicationSeq
(
seq
);
jyjcInspectionApplicationAttachmentService
.
getBaseMapper
().
deleteByApplicationSeq
(
seq
);
jyjcInspectionApplicationAttachmentService
.
getBaseMapper
().
deleteByApplicationSeq
(
seq
);
jyjcInspectionApplicationPushLogService
.
getBaseMapper
().
deleteByApplicationSeq
(
seq
);
jyjcInspectionApplicationPushLogService
.
getBaseMapper
().
deleteByApplicationSeq
(
seq
);
jyjcInspectionHistoryServiceImpl
.
remove
(
new
LambdaQueryWrapper
<
JyjcInspectionHistory
>().
eq
(
JyjcInspectionHistory:
:
getSSeq
,
seq
uenceNbr
));
jyjcInspectionHistoryServiceImpl
.
remove
(
new
LambdaQueryWrapper
<
JyjcInspectionHistory
>().
eq
(
JyjcInspectionHistory:
:
getSSeq
,
seq
));
}
}
return
true
;
return
true
;
}
}
...
@@ -1512,7 +1513,7 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
...
@@ -1512,7 +1513,7 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
}
}
// 设备类别
// 设备类别
if
(!
ObjectUtils
.
isEmpty
(
map
.
getString
(
"EQU_CATEGORY_CODE"
)))
{
if
(!
ObjectUtils
.
isEmpty
(
map
.
getString
(
"EQU_CATEGORY_CODE"
)))
{
boolMust
.
must
(
QueryBuilders
.
termQuery
(
"EQU_CATEGORY_CODE"
,
QueryParser
.
escape
(
map
.
getString
(
"EQU_CATEGORY_CODE"
))));
boolMust
.
must
(
QueryBuilders
.
termQuery
(
"EQU_CATEGORY_CODE"
,
QueryParser
.
escape
(
map
.
getString
(
"EQU_CATEGORY_CODE"
)
.
toLowerCase
()
)));
}
}
// 设备类别编码
// 设备类别编码
if
(!
ObjectUtils
.
isEmpty
(
map
.
getString
(
"EQU_DEFINE_CODE"
)))
{
if
(!
ObjectUtils
.
isEmpty
(
map
.
getString
(
"EQU_DEFINE_CODE"
)))
{
...
...
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