package com.panzhihua.service_community.dao;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import com.panzhihua.common.model.dtos.property.CommonPage;
|
import com.panzhihua.common.model.vos.community.ComActSocialOrgVO;
|
import com.panzhihua.common.model.vos.community.ComPropertyVO;
|
import com.panzhihua.common.model.vos.community.StatisticsCommVO;
|
import org.apache.ibatis.annotations.Mapper;
|
import com.panzhihua.service_community.entity.ComProperty;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
|
/**
|
* (ComProperty)表数据库访问层
|
*
|
* @author makejava
|
* @since 2021-09-18 10:46:51
|
*/
|
@Mapper
|
public interface ComPropertyDao extends BaseMapper<ComProperty> {
|
/**
|
* 分页查询
|
* @param page
|
* @param commonPage
|
* @return
|
*/
|
IPage<ComPropertyVO> pageList(Page page, @Param("commonPage") CommonPage commonPage);
|
|
/**
|
* 居民自治大屏统计数据获取
|
* @param communityId
|
* @return
|
*/
|
List<StatisticsCommVO> getRepairPolylineDate(@Param("communityId") Long communityId);
|
|
/**
|
* 报事报修date之前的累计数量
|
* @param communityId
|
* @param date
|
* @return
|
*/
|
StatisticsCommVO getRepairTotalPolylineDate(@Param("communityId") Long communityId, @Param("date") String date);
|
|
List<StatisticsCommVO> getEventAddPolylineData(@Param("communityId") Long communityId);
|
|
StatisticsCommVO getEventTotalPolylineDate(@Param("communityId") Long communityId, @Param("date") String date);
|
}
|