Commit dc6f40e5 by 丁伟峰

日期格式

1 parent a53448bb
......@@ -8,6 +8,6 @@ import java.util.List;
public interface OrderAppointmentDao extends JpaRepository<OrderAppointmentEntity, Integer> {
@Query("from OrderAppointmentEntity a where DATE(a.expectTime) = :date and a.engineerCode in :engineerCodes")
@Query("from OrderAppointmentEntity a where DATE_FORMAT(a.expectTime, '%Y-%m-%d') = :date and a.engineerCode in :engineerCodes")
List<?> findByDateAndEngineerCodeIn(String date, List<?> engineerCodes);
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!