提交 028bc879 作者: zhangqiliang

订单号必须是勘测完成之后

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