Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
order-group
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
order-group-application
order-group
Commits
e9a52436
Commit
e9a52436
authored
Aug 17, 2021
by
周晓航
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除无效日志
Signed-off-by: 周晓航 <xiaohang.zhou@freemud.com>
parent
8973cc00
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
order-application-service/src/main/java/cn/freemud/service/impl/CheckOrder.java
+0
-5
No files found.
order-application-service/src/main/java/cn/freemud/service/impl/CheckOrder.java
View file @
e9a52436
...
...
@@ -41,7 +41,6 @@ import cn.freemud.service.thirdparty.ShoppingCartClient;
import
cn.freemud.service.thirdparty.StoreBaseApiClient
;
import
cn.freemud.service.thirdparty.StoreClient
;
import
cn.freemud.utils.AppLogUtil
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONObject
;
import
com.freemud.api.assortment.datamanager.entity.db.AssortmentOpenPlatformIappWxappConfig
;
...
...
@@ -328,7 +327,6 @@ public class CheckOrder {
// 设置预约时间
Date
takeMealDateTime
=
getOrderExpectTime
(
takeMealFlag
,
takeMealTimes
,
createOrderVo
.
getExpectTime
(),
CreateOrderType
.
getByCode
(
createOrderVo
.
getOrderType
()),
storeResponseDto
.
getServiceTime
(),
storeResponseDto
);
AppLogUtil
.
infoLog
(
"fisherman 校验门店时间数据 00"
,
JSON
.
toJSONString
(
takeMealDateTime
),
takeMealTimes
);
if
(
takeMealDateTime
!=
null
&&
!
isAdvanceOrder
)
{
//校验预约时间 -->
checkOrderExpectTime
(
createOrderVo
,
storeResponseDto
,
takeMealDateTime
);
...
...
@@ -422,8 +420,6 @@ public class CheckOrder {
* @param storeResponseDto
*/
private
void
checkAdvanceOrderExpectTime
(
BusinessInfoDto
queryBusinessInfoNew
,
StoreResponse
.
BizVO
storeResponseDto
,
Date
takeMealDateTime
)
{
AppLogUtil
.
infoLog
(
"fisherman 校验门店时间数据 01"
,
JSON
.
toJSONString
(
storeResponseDto
),
JSON
.
toJSONString
(
takeMealDateTime
));
if
(
Objects
.
isNull
(
queryBusinessInfoNew
))
{
return
;
}
...
...
@@ -446,7 +442,6 @@ public class CheckOrder {
for
(
String
todayTime
:
todayBusinessTimes
)
{
//每段营业时间校验
BusinessDate
businessDate2
=
this
.
getStoreBusinessDate
(
todayTime
,
true
);
AppLogUtil
.
infoLog
(
"fisherman 校验门店时间数据 03"
,
JSON
.
toJSONString
(
businessDate2
),
null
);
if
(
createOrder
.
after
(
businessDate2
.
getEndDate
()))
{
throw
new
ServiceException
(
ResponseResult
.
ORDER_TAKEMEALTIME_INVAILD
);
}
...
...
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