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

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.chinaweal.aiccs.aiccs.punishment.entity.Personlock;
import com.chinaweal.aiccs.aiccs.punishment.entity.dto.PersonEntDto;
import com.chinaweal.aiccs.aiccs.punishment.mapper.PersonlockMapper;
import com.chinaweal.aiccs.aiccs.punishment.service.PersonlockService;
import com.chinaweal.youfool.framework.springboot.mybatis.plus.BaseServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 个人锁定 服务实现类
 * </p>
 *
 * @author sh
 * @since 2022-06-17
 */
@Service
public class PersonlockServiceImpl extends BaseServiceImpl<PersonlockMapper, Personlock> implements PersonlockService {

    @Resource
    private PersonlockMapper personlockMapper;

    @Override
    public List<Personlock> selectLockPerson(String entname) {
        return personlockMapper.selectLockPerson(entname);
    }

    @Override
    public Personlock check(String lerep) {
        return personlockMapper.check(lerep);
    }


}
