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
d3aae091
Commit
d3aae091
authored
Nov 30, 2020
by
周健威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
e42d1e74
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
VehicleMapper.xml
...ehicle-server/src/main/resources/mapper/VehicleMapper.xml
+7
-2
No files found.
xx-vehicle/xx-vehicle-server/src/main/resources/mapper/VehicleMapper.xml
View file @
d3aae091
...
@@ -1217,10 +1217,15 @@
...
@@ -1217,10 +1217,15 @@
</if>
</if>
<where>
<where>
<if
test=
"timeUse != null and timeUse == true"
>
<if
test=
"timeUse != null and timeUse == true"
>
and (vut.vehicle_id is null or (
(#{bookStartDateTimestamp}
>
vut.start_time and #{bookEndDateTimestamp}
<
vut.end_time)
<if
test=
"startCompanyId != null and endCompanyId != null"
>
<if
test=
"startCompanyId != null and endCompanyId != null"
>
and
(vut.company_id = #{startCompanyId} and vut.company_id = #{endCompanyId})
and
vut.company_id = #{startCompanyId} and vut.company_id = #{endCompanyId}
</if>
</if>
and (vut.vehicle_id is null or (#{bookStartDateTimestamp}
>
vut.start_time and #{bookEndDateTimestamp}
<
vut.end_time) )
) )
</if>
</if>
<!-- 若需根据预定日期条件查询,针对换为位操作 -->
<!-- 若需根据预定日期条件查询,针对换为位操作 -->
<!-- yearNo4Where 标识时间参数是否用于where条件 -->
<!-- yearNo4Where 标识时间参数是否用于where条件 -->
...
...
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