Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-riskmanage
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7ce67ced
authored
Dec 15, 2025
by
崔彦峰
1
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
modify:等级考试列表查询sql修改增加状态status过滤。
1 parent
61d3da47
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
rpc-dj-riskmanage/src/main/resources/META-INF/orm/LearningCenterLevelExamMapper.xml
rpc-dj-riskmanage/src/main/resources/META-INF/orm/LearningCenterLevelExamMapper.xml
View file @
7ce67ce
...
@@ -50,6 +50,7 @@
...
@@ -50,6 +50,7 @@
WHERE exam.deleted_flag = 'N'
WHERE exam.deleted_flag = 'N'
<if
test=
"notRelatedPlan != null and notRelatedPlan"
>
<if
test=
"notRelatedPlan != null and notRelatedPlan"
>
AND (
AND (
(
<!-- 情况1:考试没有关联任何培训计划 -->
<!-- 情况1:考试没有关联任何培训计划 -->
NOT EXISTS (
NOT EXISTS (
SELECT 1
SELECT 1
...
@@ -58,6 +59,8 @@
...
@@ -58,6 +59,8 @@
AND plan.deleted_flag = 'N'
AND plan.deleted_flag = 'N'
AND plan.scene_type = 1
AND plan.scene_type = 1
)
)
AND exam.status in(1,2)
)
<!-- 情况2:或者考试关联了指定的培训计划 -->
<!-- 情况2:或者考试关联了指定的培训计划 -->
<if
test=
"planId != null"
>
<if
test=
"planId != null"
>
OR EXISTS (
OR EXISTS (
...
...
@wangxw1
王欣伟
@wangxw1
commented
Dec 15, 2025
Master
Auto Review Result: 关注的文件没有修改
Write
Preview
Markdown
is supported
Attach a file
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 post a comment