feiyu02
2023-11-23 e2392116cd6f875cdc2f46bc04b04d5305f21b56
src/main/java/com/flightfeather/monitor/domain/ds1/mapper/DustStatisticsValueMapper.kt
@@ -2,7 +2,20 @@
import com.flightfeather.monitor.domain.ds1.entity.DustStatisticsValue
import com.flightfeather.monitor.domain.util.MyMapper
import com.flightfeather.monitor.pojo.AnalysisDustData
import org.apache.ibatis.annotations.Mapper
import java.time.LocalDateTime
@Mapper
interface DustStatisticsValueMapper : MyMapper<DustStatisticsValue?>
interface DustStatisticsValueMapper : MyMapper<DustStatisticsValue?> {
    fun dailyStatics(beginTime: LocalDateTime, endTime: LocalDateTime)
    fun monthlyStatics(beginTime: LocalDateTime, endTime: LocalDateTime, count: Int)
    /**
     * 根据条件排序查询
     */
    fun selectByOrder(siteName: String, beginTime: String, endTime: String, orderProp: String?, asc: Boolean):
            List<AnalysisDustData?>
}