Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
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
youjj
cloud-platform
Commits
7dac1ede
Commit
7dac1ede
authored
Sep 12, 2019
by
jiaorz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改提前还车逻辑
parent
26bac4c5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
VehicleBookRecordQueryVo.java
.../xxfc/platform/vehicle/pojo/VehicleBookRecordQueryVo.java
+5
-0
VehicleBookRecordMapper.xml
...ver/src/main/resources/mapper/VehicleBookRecordMapper.xml
+3
-0
No files found.
xx-vehicle/xx-vehicle-api/src/main/java/com/xxfc/platform/vehicle/pojo/VehicleBookRecordQueryVo.java
View file @
7dac1ede
...
@@ -18,6 +18,11 @@ public class VehicleBookRecordQueryVo extends PageParam {
...
@@ -18,6 +18,11 @@ public class VehicleBookRecordQueryVo extends PageParam {
*/
*/
private
String
numberPlate
;
private
String
numberPlate
;
/**
* 车牌和车辆编号的关键字
*/
private
String
keywords
;
/**
/**
* 所属分支机构(id)
* 所属分支机构(id)
*/
*/
...
...
xx-vehicle/xx-vehicle-server/src/main/resources/mapper/VehicleBookRecordMapper.xml
View file @
7dac1ede
...
@@ -478,6 +478,9 @@
...
@@ -478,6 +478,9 @@
<if
test=
"bookType != null"
>
<if
test=
"bookType != null"
>
and v1.book_type = #{bookType}
and v1.book_type = #{bookType}
</if>
</if>
<if
test=
"keywords != null and keywords != ''"
>
and v3.code like concat("%", #{keywords},"%") or v3.number_plate like concat("%", #{keywords},"%")
</if>
<if
test=
"companyIds != null and companyIds.size > 0"
>
<if
test=
"companyIds != null and companyIds.size > 0"
>
and (v1.lift_company in
and (v1.lift_company in
<foreach
collection=
"companyIds"
item=
"id"
open=
"("
separator=
","
close=
")"
>
<foreach
collection=
"companyIds"
item=
"id"
open=
"("
separator=
","
close=
")"
>
...
...
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