package com.zc.business.service; import com.zc.business.controller.queryParams.OnlineQueryParams; import com.zc.business.domain.OnlineSum; import java.time.LocalDate; import java.time.LocalDateTime; import java.util.List; public interface IOnlineSumService { int duplicateKeyUpdate(OnlineSum onlineSum); List queryByDateRangeOfDevice(Long deviceId, LocalDate startDate, LocalDate endDate); List queryByDeviceTypeAndDate( String[] deviceType, LocalDateTime startDate, LocalDateTime endDate, String direction ); List queryByDateOfDeviceType(LocalDate queryDate); List queryByDateOfRoad(LocalDate queryDate); List queryByDeviceTypesOfToday(OnlineQueryParams params); //删除30天前的数据 boolean remove(String thirtyDaysAgoFormatted); }