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
765e1fa9
Commit
765e1fa9
authored
Sep 23, 2019
by
jiaorz
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master-bug-0921' into dev
parents
8d07da8e
a6b94004
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
VehicleBookRecordMapper.xml
...ver/src/main/resources/mapper/VehicleBookRecordMapper.xml
+3
-2
No files found.
xx-vehicle/xx-vehicle-server/src/main/resources/mapper/VehicleBookRecordMapper.xml
View file @
765e1fa9
...
...
@@ -507,12 +507,13 @@
and book_end_date
>
= now()
</if>
<!--增加时间限制,已审核的未出车小于当前时间的不显示, 已出车的结束时间后两天的不显示-->
<if
test=
"flag == true and (status == 2 || status == 3)"
>
<if
test=
"flag == true and (status == 2 || status == 3
|| status == 5
)"
>
and ((v4.id is not NULL and v1.book_end_date
>
= DATE_ADD(NOW(),interval '2 00:00:00' DAY_SECOND)) or
(v4.id is NULL and v1.book_end_date
>
= now())
(v4.id is NULL and v1.book_end_date
>
= now())
)
</if>
and v1.book_user != -2
</where>
group by v1.id
order by create_time DESC
</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