package com.yuchen.saas.park.service.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yuchen.saas.park.api.entity.park.PmgBatSecurityWarning;
import com.yuchen.saas.park.api.vo.park.security.WarningTrendVO;

import java.util.List;

/**
 * @author 颜艺波
 * @date 2022/6/24 17:16
 * @Description
 */
public interface PmgBatSecurityWarningMapper extends BaseMapper<PmgBatSecurityWarning> {

    /**
     * 今日预警发生趋势
     * @param parkId
     * @param dateFormat
     * @return
     */
    List<WarningTrendVO> warningTrendToday(Long parkId, String dateFormat);

}
