package com.chinaweal.aiccs.aiccs.punishment.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.chinaweal.aiccs.aiccs.abnormal.entity.TSAbnList;
import com.chinaweal.aiccs.aiccs.punishment.entity.EntLock;
import com.chinaweal.aiccs.aiccs.punishment.entity.dto.PersonEntDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PersonEntMapper extends BaseMapper<PersonEntDto> {

    IPage<PersonEntDto> queryEntCjjsByPage(IPage<PersonEntDto> page,@Param("regorg")String regorg,@Param("entname")String entname, @Param("locktype")String locktype, @Param("searchCode")String searchCode);

    List<PersonEntDto> queryEnt(@Param("regorg")String regorg,@Param("entname")String entname, @Param("locktype")String locktype, @Param("searchCode")String searchCode);

    List<PersonEntDto> queryPerson( @Param("regorg")String regorg, @Param("entname")String entname, @Param("searchCode")String searchCode);

    IPage<PersonEntDto> queryPerson(IPage<PersonEntDto> page, @Param("regorg")String regorg,  @Param("entname")String entname,  @Param("searchCode")String searchCode);


}
