提交 770fb75f 作者: zhangqiliang

订单状态改为待派单的

父级 254d4aac
...@@ -72,8 +72,8 @@ public class WallboxApplyController { ...@@ -72,8 +72,8 @@ public class WallboxApplyController {
throw new ServiceException("订单不存在"); throw new ServiceException("订单不存在");
} }
Integer status = order.getStatus(); Integer status = order.getStatus();
// 检查订单状态是否在19-43之间 // 检查订单状态是否在1-43之间
boolean allowed = status >= OrderStatus.SURVEY_FINISH.getType() && status <= OrderStatus.INSTALLING.getType(); boolean allowed = status >= OrderStatus.DISPATCHING.getType() && status <= OrderStatus.INSTALLING.getType();
if (!allowed) { if (!allowed) {
throw new ServiceException("订单已在安装中,无法申请"); throw new ServiceException("订单已在安装中,无法申请");
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论