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
644170b3
Commit
644170b3
authored
Nov 27, 2019
by
libin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
cdb93b3e
f822922e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
VehicleBookRecordMapper.xml
...ver/src/main/resources/mapper/VehicleBookRecordMapper.xml
+4
-4
No files found.
xx-vehicle/xx-vehicle-server/src/main/resources/mapper/VehicleBookRecordMapper.xml
View file @
644170b3
...
@@ -529,13 +529,13 @@
...
@@ -529,13 +529,13 @@
<if
test=
"code != null"
>
<if
test=
"code != null"
>
and v3.code = #{code}
and v3.code = #{code}
</if>
</if>
<!--增加时间限制,未审核的小于当前时间的不显示-->
<!--增加时间限制,未审核的
结束时间
小于当前时间的不显示-->
<if
test=
"flag == true and status == 1"
>
<if
test=
"flag == true and status == 1"
>
and book_end_date
>
= now()
and book_end_date
>
= now()
</if>
</if>
<!--增加时间限制,已审核的未出车
小于当前时间的不显示, 已出车的结束时间延后两天
小于当前时间的不显示-->
<!--增加时间限制,已审核的未出车
结束时间
小于当前时间的不显示-->
<if
test=
"flag == true and (status == 3 or status ==
5 or status ==
2)"
>
<if
test=
"flag == true and (status == 3 or status == 2)"
>
and
( (v4.id IS NOT NULL and DATE_ADD(v1.book_end_date,INTERVAL '2' DAY) >= now()) OR (v4.id IS NULL AND v1.book_end_date
>
= now())
)
and
v4.id IS NULL AND v1.book_end_date
>
= now(
)
</if>
</if>
<if
test=
"flag == true"
>
<if
test=
"flag == true"
>
and v1.book_user != -2
and v1.book_user != -2
...
...
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