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
fc5768da
Commit
fc5768da
authored
Jan 22, 2026
by
tianbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg): 修复设备报废取消查询中的状态过滤逻辑
- 在查询条件中添加了设备状态不等于'3'或状态为空的过滤条件 - 防止已报废设备在取消操作中被错误包含 - 确保查询结果只返回符合条件的有效设备记录
parent
6c6a8bb7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
JgScrapCancelMapper.xml
...-jg-api/src/main/resources/mapper/JgScrapCancelMapper.xml
+1
-0
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgScrapCancelMapper.xml
View file @
fc5768da
...
@@ -350,6 +350,7 @@
...
@@ -350,6 +350,7 @@
and pc.use_unit_credit_code=#{useUnitCreditCode}
and pc.use_unit_credit_code=#{useUnitCreditCode}
and (pc.project_contraption_parent_id is null or pc.project_contraption_parent_id = '')
and (pc.project_contraption_parent_id is null or pc.project_contraption_parent_id = '')
and pc.equ_category = '8300'
and pc.equ_category = '8300'
and (pc.equ_state != '3' or pc.equ_state is null)
<if
test=
"proIds != null and proIds.size() > 0"
>
<if
test=
"proIds != null and proIds.size() > 0"
>
and pc.sequence_nbr not in
and pc.sequence_nbr not in
<foreach
collection=
"proIds"
item=
"projectContraptionId"
open=
"("
close=
")"
separator=
","
>
<foreach
collection=
"proIds"
item=
"projectContraptionId"
open=
"("
close=
")"
separator=
","
>
...
...
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