Commit 5a1074da by huangjinxin

fix:优化指派状态

1 parent 55a356da
package com.dituhui.pea.order.enums;
public enum AppointmentStatus {
INTI("待指派"),
// 指派状态: INIT-待指派/PRE-预指派/CONFIRM-确认指派(通知BEAN)
INIT("待指派"),
PRE("预指派"),
CONFIRM("确认指派");
......
......@@ -147,7 +147,7 @@ public class OrderCreateServiceImpl implements OrderCreateService {
//先处理时间,后面用
entity.setExpectTimeBegin(DateUtil.fromDate(req.getExpectBegin()));
entity.setExpectTimeEnd(DateUtil.fromDate(req.getExpectEnd()));
entity.setAppointmentStatus(AppointmentStatus.INTI.getDescription());
entity.setAppointmentStatus(AppointmentStatus.INIT.getDescription());
//获取省市区
AdministrativeDistrictReq administrativeDistrictReq = new AdministrativeDistrictReq();
administrativeDistrictReq.setPoints(location.getLongitude() + "," + location.getLatitude());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!