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 queryByDateRangeOfDevice(@Param("deviceId") Long deviceId, @Param("startDate") LocalDate startDate, @Param("endDate") LocalDate endDate); List queryByDeviceTypeAndDate( @Param("types") String[] types, @Param("startDate") LocalDate startDate, @Param("endDate") LocalDate endDate, @Param("direction") String direction ); List queryByDateOfDeviceType(@Param("queryDate") LocalDate queryDate); List queryByDateOfRoad(@Param("queryDate") LocalDate queryDate); List queryByDeviceTypesOfToday(OnlineQueryParams params); }