Commit e9a52436 by 周晓航

删除无效日志

Signed-off-by: 周晓航 <xiaohang.zhou@freemud.com>
parent 8973cc00
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment