Commit 77b03603ff15e649ccc9b905f66fba351083d0a6
1 parent
f404a354
fix: 添加测试人员
Showing
1 changed file
with
1 additions
and
1 deletions
ruoyi-admin/src/main/java/com/ruoyi/driver/service/impl/DriverServiceImpl.java
| @@ -336,7 +336,7 @@ public class DriverServiceImpl implements IDriverService { | @@ -336,7 +336,7 @@ public class DriverServiceImpl implements IDriverService { | ||
| 336 | for (Driver item : drivers) { | 336 | for (Driver item : drivers) { |
| 337 | dto = schedulingService.queryScheduling(item.getJobCode(), now); | 337 | dto = schedulingService.queryScheduling(item.getJobCode(), now); |
| 338 | DriverResponseVo vo = handlerRecommendation(item, now, dto, schedulingFlag, alcoholFlag); | 338 | DriverResponseVo vo = handlerRecommendation(item, now, dto, schedulingFlag, alcoholFlag); |
| 339 | - if (item.getJobCode().equals("722717") || item.getJobCode().equals("700001")) { | 339 | + if (CollectionUtil.isEmpty(dto) && (item.getJobCode().equals("722717") || item.getJobCode().equals("700001"))) { |
| 340 | vos.add(DriverResponseVo.createDriverResponseVo(null, item, null, true, true, "测试", "测试", "测试")); | 340 | vos.add(DriverResponseVo.createDriverResponseVo(null, item, null, true, true, "测试", "测试", "测试")); |
| 341 | }else { | 341 | }else { |
| 342 | // 无排班 | 342 | // 无排班 |