济菏高速数据中心代码
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.
 
 
 
 
 

23 lines
1.0 KiB

package com.zc.business.mapper;
import com.zc.business.controller.queryParams.OnlineQueryParams;
import com.zc.business.domain.OnlineSum;
import org.apache.ibatis.annotations.Param;
import java.time.LocalDate;
import java.util.List;
public interface OnlineSumMapper {
int duplicateKeyUpdate(OnlineSum onlineSum);
List<OnlineSum> queryByDateRangeOfDevice(@Param("deviceId") Long deviceId,
@Param("startDate") LocalDate startDate,
@Param("endDate") LocalDate endDate);
List<OnlineSum> queryByDeviceTypeAndDate(
@Param("types") String[] types,
@Param("startDate") LocalDate startDate,
@Param("endDate") LocalDate endDate,
@Param("direction") String direction
);
List<OnlineSum> queryByDateOfDeviceType(@Param("queryDate") LocalDate queryDate);
List<OnlineSum> queryByDateOfRoad(@Param("queryDate") LocalDate queryDate);
List<OnlineSum> queryByDeviceTypesOfToday(OnlineQueryParams params);
}