diff --git a/src/main/java/com/chint/infrastructure/repository/jdbc/JdbcOrderDetailRepository.java b/src/main/java/com/chint/infrastructure/repository/jdbc/JdbcOrderDetailRepository.java index ea8c593a..1889fff8 100644 --- a/src/main/java/com/chint/infrastructure/repository/jdbc/JdbcOrderDetailRepository.java +++ b/src/main/java/com/chint/infrastructure/repository/jdbc/JdbcOrderDetailRepository.java @@ -42,7 +42,7 @@ public interface JdbcOrderDetailRepository extends CrudRepository listByCondition(@Param("dto") OrderPageQuery dto, @Param("pageRequest")PageRequest pageRequest); @@ -51,7 +51,7 @@ public interface JdbcOrderDetailRepository extends CrudRepository employeeNos=null; private List routeIds=null; + + private boolean employeeNosEmpty; + + + public boolean getEmployeeNosEmpty() { + if(employeeNos==null||employeeNos.isEmpty()){ + return true; + }else { + return false; + } + } } diff --git a/src/main/java/com/chint/manage/service/impl/ManageServiceImpl.java b/src/main/java/com/chint/manage/service/impl/ManageServiceImpl.java index fa8ea10a..a8d67902 100644 --- a/src/main/java/com/chint/manage/service/impl/ManageServiceImpl.java +++ b/src/main/java/com/chint/manage/service/impl/ManageServiceImpl.java @@ -177,7 +177,7 @@ public class ManageServiceImpl implements ManageService { } dto.setRouteIds(dataRouteIds); - //预订人 todo 预订人查询还有点问题 + //预订人 if (!dto.getApplicant().equals("")){ List users=jdbcUserRepository.findAllByNameContains(dto.getApplicant()); if (users==null||users.isEmpty()) {