You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
885 B
28 lines
885 B
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<OnlineSum> queryByDateRangeOfDevice(Long deviceId, LocalDate startDate, LocalDate endDate);
|
|
|
|
List<OnlineSum> queryByDeviceTypeAndDate(
|
|
String[] deviceType,
|
|
LocalDateTime startDate,
|
|
LocalDateTime endDate,
|
|
String direction
|
|
);
|
|
List<OnlineSum> queryByDateOfDeviceType(LocalDate queryDate);
|
|
List<OnlineSum> queryByDateOfRoad(LocalDate queryDate);
|
|
|
|
List<OnlineSum> queryByDeviceTypesOfToday(OnlineQueryParams params);
|
|
|
|
//删除30天前的数据
|
|
boolean remove(String thirtyDaysAgoFormatted);
|
|
}
|
|
|