package com.yida.data.school.epidemic.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yida.data.common.core.entity.epidemic.EpidemicBaseData;
import org.apache.ibatis.annotations.Param;

/**
 * @author ccl
 */
public interface EpidemicBaseDataMapper extends BaseMapper<EpidemicBaseData> {
    /**
     * 查询最近一次疫情数据
     * @return
     * @param deptId
     */
    EpidemicBaseData lastEpidemic(@Param("deptId") Long deptId);
}
