修复产业公司代理填单无法找到行程规划单的bug

This commit is contained in:
lulz1 2024-03-15 10:31:17 +08:00
parent 2af5c45f37
commit 46b428d0ab
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ public class RouteCacheService {
}
return routeListByIds;
} else {
List<RouteOrder> routeOrders = jdbcRouteRepository.findByUserId(employeeNo);
List<RouteOrder> routeOrders = jdbcRouteRepository.findByUserIdOrApproveOrderNo_Creator(employeeNo, employeeNo);
routeCacheManage.getRouteIdsByEmployeeNo(employeeNo, routeOrders, null);
return routeOrders;
}