Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vehicle-quality-review
Project
Project
Details
Activity
Releases
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
王飞
vehicle-quality-review
Commits
bfdb3dcf
Commit
bfdb3dcf
authored
Mar 13, 2024
by
wdy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
根据检验项目查询
parent
f6007016
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
20 deletions
+4
-20
TaskMapper.xml
quality-review/src/main/resources/mapper/TaskMapper.xml
+4
-20
No files found.
quality-review/src/main/resources/mapper/TaskMapper.xml
View file @
bfdb3dcf
...
...
@@ -116,11 +116,7 @@
and t.product_model like concat('%',#{request.productModel},'%')
</if>
<if
test=
"request.inspectionItem != null and request.inspectionItem != ''"
>
AND(
(#{request.inspectionItem} = 'sraif' AND t.system_review_task_id IS NOT NULL)
OR
(#{request.inspectionItem} = 'grfis' AND t.car_review_task_id IS NOT NULL)
)
and t.task_list like concat('%',#{request.inspectionItem},'%')
</if>
</where>
order by t.create_time desc
...
...
@@ -149,11 +145,7 @@
and t.product_model like concat('%',#{productModel},'%')
</if>
<if
test=
"inspectionItem != null and inspectionItem != ''"
>
AND (
(#{inspectionItem} = 'sraif' AND t.system_review_task_id IS NOT NULL)
OR
(#{inspectionItem} = 'grfis' AND t.car_review_task_id IS NOT NULL)
)
and t.task_list like concat('%',#{inspectionItem},'%')
</if>
</where>
order by t.task_begin_time desc
...
...
@@ -201,11 +193,7 @@
and t.product_model like concat('%',#{request.productModel},'%')
</if>
<if
test=
"request.inspectionItem != null and request.inspectionItem != ''"
>
AND (
(#{request.inspectionItem} = 'sraif' AND t.system_review_task_id IS NOT NULL)
OR
(#{request.inspectionItem} = 'grfis' AND t.car_review_task_id IS NOT NULL)
)
and t.task_list like concat('%',#{request.inspectionItem},'%')
</if>
<if
test=
"request.taskStatus != null and request.taskStatus != ''"
>
and t.task_status = #{request.taskStatus}
...
...
@@ -240,11 +228,7 @@
and t.product_model like concat('%',#{request.productModel},'%')
</if>
<if
test=
"request.inspectionItem != null and request.inspectionItem != ''"
>
AND (
(#{request.inspectionItem} = 'sraif' AND t.system_review_task_id IS NOT NULL)
OR
(#{request.inspectionItem} = 'grfis' AND t.car_review_task_id IS NOT NULL)
)
and t.task_list like concat('%',#{request.inspectionItem},'%')
</if>
</where>
order by t.task_begin_time desc
...
...
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