package com.chinaweal.aiccs.aiccs.punishment.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.chinaweal.aiccs.aiccs.punishment.entity.EntLock;
import com.chinaweal.aiccs.aiccs.punishment.entity.excel.EntLockExcel;
import com.chinaweal.youfool.framework.springboot.mybatis.plus.BaseService;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 业户锁定 服务类
 * </p>
 *
 * @author Lee
 * @since 2021-06-06
 */
public interface EntlockService extends BaseService<EntLock> {

    List<EntLock> selectEntLockList();

    List<EntLock> queryByPripid(String pripid);

    List<EntLockExcel> queryForExcel(IPage<EntLockExcel> page, Map<String, Object> customParamMap);

    List<EntLock> queryByState(String pripid,String punishFrom);

    List<EntLock> selectLockEntity(String entName);

    void insert(EntLock entLock);

    EntLock check(String pripid);
}
