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
b0f1c8e0
Commit
b0f1c8e0
authored
Aug 06, 2019
by
jiaorz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增押金记录,修改租车核销
parent
ff53a8c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
VehicleBookRecordMapper.xml
...ver/src/main/resources/mapper/VehicleBookRecordMapper.xml
+16
-16
No files found.
xx-vehicle/xx-vehicle-server/src/main/resources/mapper/VehicleBookRecordMapper.xml
View file @
b0f1c8e0
...
@@ -377,22 +377,22 @@
...
@@ -377,22 +377,22 @@
select v1.* from vehicle_book_record v1
select v1.* from vehicle_book_record v1
left join vehicle v2 on v2.id = v1.vehicle_id
left join vehicle v2 on v2.id = v1.vehicle_id
<where>
<where>
<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 || numberPlate != ''
"
>
and v2.number_plate = #{numberPlate}
and v2.number_plate = #{numberPlate}
</if>
</if>
<if
test=
"status != null"
>
<if
test=
"status != null"
>
and v2.status = #{status}
and v2.status = #{status}
</if>
</if>
<if
test=
"subordinateBranch != null"
>
<if
test=
"subordinateBranch != null"
>
and v2.subordinate_branch = #{subordinateBranch}
and v2.subordinate_branch = #{subordinateBranch}
</if>
</if>
<if
test=
"parkBranchCompanyId != null"
>
<if
test=
"parkBranchCompanyId != null"
>
and v2.park_branch_company_id = #{parkBranchCompanyId}
and v2.park_branch_company_id = #{parkBranchCompanyId}
</if>
</if>
</where>
</where>
order By v1.create_time DESC
order By v1.create_time DESC
</select>
</select>
...
...
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