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
c465c783
Commit
c465c783
authored
Aug 14, 2019
by
jiaorz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改租車訂單地址,修改车辆预定时添加订单号
parent
ea166476
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
VehicleMapper.xml
...ehicle-server/src/main/resources/mapper/VehicleMapper.xml
+3
-3
VehicleWarningMsgMapper.xml
...ver/src/main/resources/mapper/VehicleWarningMsgMapper.xml
+1
-1
No files found.
xx-vehicle/xx-vehicle-server/src/main/resources/mapper/VehicleMapper.xml
View file @
c465c783
...
@@ -397,7 +397,7 @@
...
@@ -397,7 +397,7 @@
select v1.*,bc3.name parkCompanyName from vehicle v1
select v1.*,bc3.name parkCompanyName from vehicle v1
LEFT JOIN branch_company bc3 ON v1.park_branch_company_id = bc3.id
LEFT JOIN branch_company bc3 ON v1.park_branch_company_id = bc3.id
<where>
<where>
<if
test=
"numberPlate != null"
>
<if
test=
"numberPlate != null
and numberPlate != ''
"
>
and v1.number_plate = #{numberPlate}
and v1.number_plate = #{numberPlate}
</if>
</if>
<if
test=
"companyIds != null and companyIds.size > 0"
>
<if
test=
"companyIds != null and companyIds.size > 0"
>
...
@@ -455,7 +455,7 @@
...
@@ -455,7 +455,7 @@
<if
test=
"startTime != null"
>
<if
test=
"startTime != null"
>
and v1.create_time between #{startTime} and #{endTime}
and v1.create_time between #{startTime} and #{endTime}
</if>
</if>
<if
test=
"numberPlate != null"
>
<if
test=
"numberPlate != null
and numberPlate != ''
"
>
and v1.number_plate = #{numberPlate}
and v1.number_plate = #{numberPlate}
</if>
</if>
<if
test=
"status != null"
>
<if
test=
"status != null"
>
...
@@ -477,7 +477,7 @@
...
@@ -477,7 +477,7 @@
<if
test=
"startTime != null"
>
<if
test=
"startTime != null"
>
and v2.create_time between #{startTime} and #{endTime}
and v2.create_time between #{startTime} and #{endTime}
</if>
</if>
<if
test=
"numberPlate != null"
>
<if
test=
"numberPlate != null
and numberPlate != ''
"
>
and v2.number_plate = #{numberPlate}
and v2.number_plate = #{numberPlate}
</if>
</if>
<if
test=
"status != null"
>
<if
test=
"status != null"
>
...
...
xx-vehicle/xx-vehicle-server/src/main/resources/mapper/VehicleWarningMsgMapper.xml
View file @
c465c783
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
<if
test=
"startTime != null"
>
<if
test=
"startTime != null"
>
and w.create_time between #{startTime} and #{endTime}
and w.create_time between #{startTime} and #{endTime}
</if>
</if>
<if
test=
"numberPlate != null"
>
<if
test=
"numberPlate != null
and numberPlate != ''
"
>
and v.number_plate = #{numberPlate}
and v.number_plate = #{numberPlate}
</if>
</if>
<if
test=
"status != null"
>
<if
test=
"status != null"
>
...
...
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