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
cdc6b446
Commit
cdc6b446
authored
Aug 07, 2019
by
hanfeng
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/base-modify' into base-modify
parents
ae437036
751c5de1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
OrderMsgBiz.java
...n/java/com/xxfc/platform/order/biz/inner/OrderMsgBiz.java
+1
-1
VehicleBiz.java
...c/main/java/com/xxfc/platform/vehicle/biz/VehicleBiz.java
+4
-4
No files found.
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/biz/inner/OrderMsgBiz.java
View file @
cdc6b446
...
@@ -243,7 +243,7 @@ public class OrderMsgBiz {
...
@@ -243,7 +243,7 @@ public class OrderMsgBiz {
}
}
break
;
break
;
case
TOUR:
case
TOUR:
CompanyDetail
startCompanyDetailTour
=
vehicleFeign
.
getCompanyDetail
(
o
rv
d
.
getStartCompanyId
()).
getData
();
CompanyDetail
startCompanyDetailTour
=
vehicleFeign
.
getCompanyDetail
(
o
t
d
.
getStartCompanyId
()).
getData
();
sms2AppUser
(
startCompanyDetailTour
,
null
,
orvd
,
otd
,
omd
,
baseOrder
,
appUserDTO
,
SmsTemplateDTO
.
PAY_F
,
smsParams
);
sms2AppUser
(
startCompanyDetailTour
,
null
,
orvd
,
otd
,
omd
,
baseOrder
,
appUserDTO
,
SmsTemplateDTO
.
PAY_F
,
smsParams
);
break
;
break
;
case
MEMBER:
case
MEMBER:
...
...
xx-vehicle/xx-vehicle-server/src/main/java/com/xxfc/platform/vehicle/biz/VehicleBiz.java
View file @
cdc6b446
...
@@ -1127,10 +1127,10 @@ public class VehicleBiz extends BaseBiz<VehicleMapper, Vehicle> implements UserR
...
@@ -1127,10 +1127,10 @@ public class VehicleBiz extends BaseBiz<VehicleMapper, Vehicle> implements UserR
throw
new
BaseException
(
ResultCode
.
NOTEXIST_CODE
);
throw
new
BaseException
(
ResultCode
.
NOTEXIST_CODE
);
}
}
//筛选出查询条件所在月份
//筛选出查询条件所在月份
如 想预定 8月29 ~ 9月 4日
Set
<
String
>
allYearMonth
=
new
HashSet
<>();
//记录所有年月
Set
<
String
>
allYearMonth
=
new
HashSet
<>();
//记录所有年月
"2019-08","2019-09"
Map
<
String
,
List
<
String
>>
yearMonthAndDate
=
new
HashMap
<>();
//
预定年月 - 预定日期列表
Map
<
String
,
List
<
String
>>
yearMonthAndDate
=
new
HashMap
<>();
//
需比较已预定的年月 - 预定日期列表 为空(拒绝 预约记录时用到)
Map
<
String
,
List
<
String
>>
yearMonthAndDateNotBooked
=
new
HashMap
<>();
//
未预定年月 - 未预定日期列表
Map
<
String
,
List
<
String
>>
yearMonthAndDateNotBooked
=
new
HashMap
<>();
//
需比较未预定的年月 - 未预定日期列表 "2019-08-29"...."2019-09-04",
classifyByYearMonth
(
notBookedDates
,
yearMonthAndDateNotBooked
,
allYearMonth
);
classifyByYearMonth
(
notBookedDates
,
yearMonthAndDateNotBooked
,
allYearMonth
);
if
(
allYearMonth
.
size
()>
MAX_MONTH_COUNT_BOOKED_INFO_QUERY
){
if
(
allYearMonth
.
size
()>
MAX_MONTH_COUNT_BOOKED_INFO_QUERY
){
throw
new
CustomIllegalParamException
(
" only 3 month can be included <bookedInfo> param."
);
throw
new
CustomIllegalParamException
(
" only 3 month can be included <bookedInfo> param."
);
...
...
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