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
8bac8f93
Commit
8bac8f93
authored
Sep 23, 2019
by
jiaorz
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master-bug-0921' into dev
parents
18379919
60ed4609
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
VehicleBookRecordMapper.xml
...ver/src/main/resources/mapper/VehicleBookRecordMapper.xml
+3
-3
VehicleMapper.xml
...ehicle-server/src/main/resources/mapper/VehicleMapper.xml
+1
-2
No files found.
xx-vehicle/xx-vehicle-server/src/main/resources/mapper/VehicleBookRecordMapper.xml
View file @
8bac8f93
...
@@ -506,13 +506,13 @@
...
@@ -506,13 +506,13 @@
<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 == 2"
>
<if
test=
"flag == true and status == 2"
>
and (
and (
(v4.id IS NOT NULL AND DATE_ADD( v1.book_end_date, INTERVAL '2 00:00:00' DAY_SECOND )
>
= NOW())
(v4.id IS NOT NULL AND DATE_ADD( v1.book_end_date, INTERVAL '2 00:00:00' DAY_SECOND )
>
= NOW())
OR (
OR (
v4.id IS NULL
v4.id IS NULL
AND v1.book_end_date
>
= now()
AND v1.book_end_date
>
= now()
))
))
</if>
</if>
and v1.book_user != -2
and v1.book_user != -2
...
...
xx-vehicle/xx-vehicle-server/src/main/resources/mapper/VehicleMapper.xml
View file @
8bac8f93
...
@@ -150,8 +150,7 @@
...
@@ -150,8 +150,7 @@
</foreach>
</foreach>
</if>
</if>
<if
test=
"subordinateBranch !=null "
>
<if
test=
"subordinateBranch !=null "
>
and ( v.park_branch_company_id = #{subordinateBranch} or
and ( v.park_branch_company_id = #{subordinateBranch})
v.expect_destination_branch_company_id=#{subordinateBranch} )
</if>
</if>
<if
test=
" addrProvince !=null or addrCity !=null or zoneId !=null "
>
<if
test=
" addrProvince !=null or addrCity !=null or zoneId !=null "
>
<if
test=
"addrProvince !=null"
>
<if
test=
"addrProvince !=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