package com.yeejoin.precontrol.common.service.impl;

import java.util.Date;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yeejoin.precontrol.common.entity.TaskPerson;
import com.yeejoin.precontrol.common.mapper.TaskPersonMapper;
import com.yeejoin.precontrol.common.service.ITaskPersonService;

/**
 * 作业活动关联人员 服务实现类
 *
 * @author duanwei
 * @date 2020-06-30
 */
@Service
public class TaskPersonServiceImpl extends ServiceImpl<TaskPersonMapper, TaskPerson> implements ITaskPersonService {

	@Override
	public int noReadCount(Long personId, Long type, Date before) {
		return baseMapper.noReadCount(personId, type, before);
	}

	@Override
	public int riskExamPassCount(Long personId, Long riskworkId) {
		return baseMapper.riskExamPassCount(personId, riskworkId);
	}
}
