修改了自动派单排序
This commit is contained in:
@@ -245,7 +245,7 @@ public class ServiceWorkOrdersServiceImpl implements IServiceWorkOrdersService {
|
|||||||
.le(AttendanceUserGroup::getStartDate, today)
|
.le(AttendanceUserGroup::getStartDate, today)
|
||||||
.ge(AttendanceUserGroup::getEndDate, today)
|
.ge(AttendanceUserGroup::getEndDate, today)
|
||||||
.eq(AttendanceUserGroup::getDeptId, serviceWorkOrders.getCreateDept())
|
.eq(AttendanceUserGroup::getDeptId, serviceWorkOrders.getCreateDept())
|
||||||
.orderByAsc(AttendanceUserGroup::getCreateTime)
|
.orderByAsc(AttendanceUserGroup::getStartDate)
|
||||||
);
|
);
|
||||||
Assert.isTrue(CollUtil.isNotEmpty(attendanceUserGroups), "暂无排班人员");
|
Assert.isTrue(CollUtil.isNotEmpty(attendanceUserGroups), "暂无排班人员");
|
||||||
// 缓存当天排班数据(假设当天不会变)
|
// 缓存当天排班数据(假设当天不会变)
|
||||||
|
Reference in New Issue
Block a user