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
4fb58da6
Commit
4fb58da6
authored
Aug 20, 2019
by
周健威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改租车列表新规则bug
parent
2e060b19
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
VehicleBiz.java
...c/main/java/com/xxfc/platform/vehicle/biz/VehicleBiz.java
+4
-2
VehicleMapper.xml
...ehicle-server/src/main/resources/mapper/VehicleMapper.xml
+2
-2
No files found.
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/biz/VehicleBiz.java
View file @
4fb58da6
...
...
@@ -1156,8 +1156,10 @@ public class VehicleBiz extends BaseBiz<VehicleMapper, Vehicle> implements UserR
List
<
String
>
notBookedDates
=
Lists
.
newArrayList
();
if
(
StringUtils
.
isNotBlank
(
dto
.
getStartDate
())&&
StringUtils
.
isNotBlank
(
dto
.
getEndDate
()))
{
notBookedDates
=
convertDatePeriod2List
(
dto
.
getStartDate
(),
dto
.
getEndDate
());
// notBookedDates = convertDatePeriod2List(dto.getStartDate(),
// dto.getEndDate());
notBookedDates
=
convertDatePeriod2List
(
dto
.
getStartDateExtend
(),
dto
.
getEndDateExtend
());
}
//若传入预定信息查询条件,则查询对应月份预定信息查询条件(不超过3个月)
...
...
xx-vehicle/xx-vehicle-server/src/main/resources/mapper/VehicleMapper.xml
View file @
4fb58da6
...
...
@@ -639,9 +639,9 @@
<!-- yearNo4Where 标识时间参数是否用于where条件 -->
<if
test=
"startCompanyId != null and endCompanyId != null "
>
and (
(abr.to_lift_company
=
null or abr.to_lift_company = #{startCompanyId})
(abr.to_lift_company
is
null or abr.to_lift_company = #{startCompanyId})
and
(abr.to_return_company
=
null or abr.to_return_company = #{endCompanyId})
(abr.to_return_company
is
null or abr.to_return_company = #{endCompanyId})
)
</if>
<if
test=
" modelId != 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