@Query("select a from CapacityEngineerCalendarEntity a where a.engineerCode=:engineerCode AND a.type = :type and a.workday between :beginDate and :endDate")
@Query("select count(*) from CapacityEngineerCalendarEntity a where a.type = :type and (a.startTime BETWEEN :startDate and :endDate) and a.engineerCode in :engineers")