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 241bff2b
authored
Sep 10, 2021
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
查询试驾车列表时 修改查询为模糊查询
1 parent
67429624
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/main/resources/mapper/VehicleMapper.xml
src/main/resources/mapper/VehicleMapper.xml
View file @
241bff2
...
@@ -375,13 +375,13 @@
...
@@ -375,13 +375,13 @@
and tvd.del_flag = 0
and tvd.del_flag = 0
and td.del_flag = 0
and td.del_flag = 0
<if
test=
"sn != null and sn !=''"
>
<if
test=
"sn != null and sn !=''"
>
and td.sn
= #{sn}
and td.sn
like concat('%',#{sn},'%')
</if>
</if>
<if
test=
"ownerName != null and ownerName !=''"
>
<if
test=
"ownerName != null and ownerName !=''"
>
and tv.owner_name
= #{ownerName}
and tv.owner_name
like concat('%',#{ownerName},'%')
</if>
</if>
<if
test=
"vin != null and vin !=''"
>
<if
test=
"vin != null and vin !=''"
>
and tv.vin =
#{vin}
and tv.vin =
like concat('%',#{vin},'%')
</if>
</if>
<if
test=
"buyDateStart != null and buyDateStart !=''"
>
<if
test=
"buyDateStart != null and buyDateStart !=''"
>
and tv.buy_date
>
= #{buyDateStart}
and tv.buy_date
>
= #{buyDateStart}
...
...
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