package com.ycl.mapper.caseHandler;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import com.ycl.dto.caseHandler.QueryForViolationParam;
|
import com.ycl.dto.cockpitManage.DelayDO;
|
import com.ycl.entity.caseHandler.BaseCase;
|
import com.ycl.vo.casePool.BaseCaseVO;
|
import com.ycl.vo.casePool.CasePoolIllegalBuildingVO;
|
import com.ycl.vo.casePool.CasePoolViolationVO;
|
import com.ycl.vo.casePool.QueryForViolationVO;
|
import com.ycl.vo.cockpit.enforcementEvents.EventVO;
|
import com.ycl.vo.cockpit.enforcementEvents.VideoAndAreaVO;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.time.LocalDateTime;
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* <p>
|
* 案件基本信息 Mapper 接口
|
* </p>
|
*
|
* @author wl
|
* @since 2022-09-24
|
*/
|
public interface BaseCaseMapper extends BaseMapper<BaseCase> {
|
Page<CasePoolViolationVO> listViolationsPage(Page page, List<Integer> state, Integer type, Integer resource, String code, String categoryBig, String categorySmall, Integer street, String site, String startTime, String endTime, Integer violationsTypeId, Integer videoId);
|
|
Page<CasePoolIllegalBuildingVO> listIllegalBuildingsPage(Page page, List<Integer> state, Integer type, Integer resource);
|
|
BaseCase selectCondMap(Map map);
|
|
Page<BaseCase> selectBaseCasePage(Page<BaseCase> page, @Param("code") String number, @Param("communityId") Integer communityId, @Param("categories") Integer categories, @Param("startTime") LocalDateTime startTime, @Param("endTime") LocalDateTime endTime, @Param("site") String site, @Param("state") Integer state, @Param("streetId") Integer streetId);
|
|
Page<QueryForViolationVO> selectViolationPage(Page<QueryForViolationVO> setCurrent, @Param(value = "queryForViolationParam") QueryForViolationParam queryForViolationParam);
|
|
List<QueryForViolationVO> selectViolationPage(@Param(value = "queryForViolationParam") QueryForViolationParam queryForViolationParam);
|
|
Page<BaseCaseVO> selectVideoInspection(Page<Object> objectPage, @Param("gradeId") Long gradeId, @Param("videoId") Long videoId, @Param("beginTime") String beginTime, @Param("endTime") String endTime, @Param("type") Integer type);
|
|
Integer dayCount();
|
|
Integer weekCount();
|
|
Integer dispatchCount();
|
|
IPage<EventVO> selectEventList(IPage<EventVO> page, String beginTime, String endTime);
|
|
Integer alCount();
|
|
Long selectRegisterCount();
|
|
Long selectStudyCount();
|
|
List<VideoAndAreaVO> areaCount();
|
|
List<DelayDO> selectDelayVOList();
|
|
List<VideoAndAreaVO> selectType();
|
|
Long selectLastMonthCount(List<Integer> states);
|
|
Long selectRecentlyMonthCount(List<Integer> states);
|
|
Long selectOnTimeCaseCount();
|
|
Long selectOnTimeCaseLastMonthCount();
|
|
Long selectOnTimeCaseRecentlyMonthCount();
|
}
|