Commit 6a16eea2 by 周晓航

预定单,下单修改时间校验规则

Signed-off-by: 周晓航 <xiaohang.zhou@freemud.com>
parent a13a61f4
...@@ -281,7 +281,7 @@ public class CheckOrder { ...@@ -281,7 +281,7 @@ public class CheckOrder {
boolean isAdvanceOrder = this.getIsAdvanceOrder(createOrderVo.getBizType()); boolean isAdvanceOrder = this.getIsAdvanceOrder(createOrderVo.getBizType());
if (isAdvanceOrder) { if (isAdvanceOrder) {
// 预定单 到店&外卖 必须有取餐时间 // 预定单 到店&外卖 必须有取餐时间
if (Objects.isNull(takeMealTimes)) { if (StringUtils.isBlank(takeMealTimes)) {
throw new ServiceException(ResponseResult.PARAMETER_MISSING); throw new ServiceException(ResponseResult.PARAMETER_MISSING);
} }
} }
......
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