package cn.besteam.modules.medical.mapper; import cn.besteam.modules.medical.entity.MwDataStatistics; import cn.besteam.modules.system.entity.SysDepartment; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Param; import org.springframework.web.bind.annotation.PathVariable; import java.util.List; import java.util.Map; /** * @Description: 大屏数据 * @author: besteam * @date: 2020-04-25 * @version: V1.0 */ public interface MwDataStatisticsMapper extends BaseMapper { /** * 获取所有的县级数据 * @return */ List getAreaDepartment(); /** * 根据县级获取医院数和预警数据统计数据 * @param parentId * @return */ List> getWarningRecordCount(@Param("parentId")Integer parentId); /** * 根据县级获取收集统计数据 * @param parentId * @return */ List> getCollectRecordSum(@Param("parentId")Integer parentId); /** * 七日数据集合 * @param parentId * @param state * @return */ List> getCollectRecordDays7(@Param("parentId")Integer parentId,@Param("state") String state); /** * 根据id获取大屏数据 * @param parentIds * @return */ List getDataStatisticsByParentIds(@Param("parentIds")String parentIds,@Param("type")Integer type); /** * 根据登录的省市区id获取下级的区县id * @param departmentId * @return */ List getDepartmentIds(@Param("departmentId")Integer departmentId); List getDepartmentIdsAll(@Param("departmentId")Integer departmentId); /** * 获取今日收集排行 * @param parentIds * @return */ List> getTodayWeightAnalyse(@Param("parentIds")String parentIds,@Param("type")Integer type,@Param("sortType")Integer sortType); }