package com.ningdatech.carapi.homepage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ningdatech.carapi.car.datascreen.model.dto.DataScreenParam;
import com.ningdatech.carapi.homepage.entity.dto.HomepageAbnormalBehaviorPageParamDTO;
import com.ningdatech.carapi.homepage.entity.po.DriverAbnormalBehaviorNumPO;
import org.apache.ibatis.annotations.Param;

public interface HomepageMapper extends BaseMapper<Object> {

    Integer searchAccumulativeOnlineNumByTable(@Param("tableName") String tableName, @Param("param") DataScreenParam param);

    Integer searchAccumulativeOnlineNum(@Param("param") DataScreenParam param);
    DriverAbnormalBehaviorNumPO selectDriverAbnormalBehaviorNum(@Param("param") HomepageAbnormalBehaviorPageParamDTO param);

}
