Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-trialdrive-admin
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 eab64fb6
authored
Mar 03, 2022
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
优化工单号查询
1 parent
6f3598b1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
src/main/resources/mapper/TrialMileageMapper.xml
src/main/resources/mapper/VehicleMapper.xml
src/main/resources/mapper/TrialMileageMapper.xml
View file @
eab64fb
...
...
@@ -41,7 +41,7 @@
and find_in_set(tv.created_by,#{checkedUserIdsStr})
</if>
<if
test=
"orderNo != null and orderNo!='' "
>
and tw.order_no = #{orderNo}
and tw.
partner_
order_no = #{orderNo}
</if>
<if
test=
"vin != null and vin!='' "
>
and tv.vin = #{vin}
...
...
src/main/resources/mapper/VehicleMapper.xml
View file @
eab64fb
...
...
@@ -564,7 +564,7 @@
<if
test=
"keywords != null and keywords !=''"
>
and(
td.sn like '%${keywords}%'
or tw.order_no like '%${keywords}%'
or tw.
partner_
order_no like '%${keywords}%'
or tv.vin like '%${keywords}%'
or tv.owner_name like '%${keywords}%'
)
...
...
@@ -622,7 +622,7 @@
</if>
<if
test=
"keywords != null and keywords !=''"
>
and(
tw.order_no like '%${keywords}%'
tw.
partner_
order_no like '%${keywords}%'
or td.sn like '%${keywords}%'
or tv.vin like '%${keywords}%'
or tv.owner_name like '%${keywords}%'
...
...
@@ -651,7 +651,7 @@
</if>
<if
test=
"keywords != null and keywords !=''"
>
and(
tw.order_no like '%${keywords}%'
tw.
partner_
order_no like '%${keywords}%'
or tv.vin like '%${keywords}%'
or tv.owner_name like '%${keywords}%'
or tvd.sn like '%${keywords}%'
...
...
@@ -677,7 +677,7 @@
</if>
<if
test=
"keywords != null and keywords !=''"
>
and(
tw.order_no like '%${keywords}%'
tw.
partner_
order_no like '%${keywords}%'
or tv.vin like '%${keywords}%'
or tv.owner_name like '%${keywords}%'
or tvd.sn like '%${keywords}%'
...
...
@@ -728,7 +728,7 @@
</if>
<if
test=
"keywords != null and keywords !=''"
>
and(
tw.order_no like '%${keywords}%'
tw.
partner_
order_no like '%${keywords}%'
or tv.vin like '%${keywords}%'
or tv.owner_name like '%${keywords}%'
or tvd.sn like '%${keywords}%'
...
...
@@ -758,7 +758,7 @@
</if>
<if
test=
"keywords != null and keywords !=''"
>
and(
tw.order_no like '%${keywords}%'
tw.
partner_
order_no like '%${keywords}%'
or tv.vin like '%${keywords}%'
or tv.owner_name like '%${keywords}%'
or tvd.sn like '%${keywords}%'
...
...
@@ -873,7 +873,7 @@
</if>
<if
test=
"keywords != null and keywords !=''"
>
and(
tw.order_no like '%${keywords}%'
tw.
partner_
order_no like '%${keywords}%'
or tv.vin like '%${keywords}%'
or tv.owner_name like '%${keywords}%'
or tvd.sn like '%${keywords}%'
...
...
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