Commit 3088e506 by 王力

Merge branch 'feature_mvp616_wangl' into 'develop'

修改

See merge request !111
2 parents 7f3a6bc0 c33d5374
...@@ -95,6 +95,10 @@ public class OrderAssignImpl implements OrderAssign { ...@@ -95,6 +95,10 @@ public class OrderAssignImpl implements OrderAssign {
throw new BusinessException("订单不存在"); throw new BusinessException("订单不存在");
} }
if (!order.getAppointmentStatus().equals("NOT_ASSIGNED")) {
throw new BusinessException("订单已指派成功,不必重新指派");
}
EngineerInfo engineer = this.queryEngineerInfo(engineerCode); EngineerInfo engineer = this.queryEngineerInfo(engineerCode);
String date = this.Timestamp2Datetime(order.getExpectTimeBegin(), "yyyy-MM-dd"); String date = this.Timestamp2Datetime(order.getExpectTimeBegin(), "yyyy-MM-dd");
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!