Commit 80cee2f0 by wangli

修改

1 parent 6e4f4d74
...@@ -182,12 +182,10 @@ public class DispatchServiceImpl implements DispatchService { ...@@ -182,12 +182,10 @@ public class DispatchServiceImpl implements DispatchService {
lqw.in(levelType.equals("branch"), OrderRequest::getOrgBranchId, levelIds); lqw.in(levelType.equals("branch"), OrderRequest::getOrgBranchId, levelIds);
lqw.in(levelType.equals("group"), OrderRequest::getOrgGroupId, levelIds); lqw.in(levelType.equals("group"), OrderRequest::getOrgGroupId, levelIds);
lqw.eq(OrderRequest::getStatus, "open"); lqw.eq(OrderRequest::getStatus, "open");
lqw.eq(OrderRequest::getAppointmentStatus, "NOT_ASSIGNED");
lqw.ge(OrderRequest::getExpectTimeBegin, this.getTimestampFromDate(date, "00:00:00")); lqw.ge(OrderRequest::getExpectTimeBegin, this.getTimestampFromDate(date, "00:00:00"));
lqw.le(OrderRequest::getExpectTimeBegin, this.getTimestampFromDate(date, "23:59:59")); lqw.le(OrderRequest::getExpectTimeBegin, this.getTimestampFromDate(date, "23:59:59"));
List<String> statuses = List.of("", "未派单", "未派工"); // TODO
lqw.in(OrderRequest::getAppointmentStatus, statuses);
return orderRequestMPDao.selectList(lqw); return orderRequestMPDao.selectList(lqw);
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!