package com.yeejoin.precontrol.common.mapper;

import java.util.Date;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yeejoin.precontrol.common.entity.TaskPerson;

/**
 * 作业活动关联人员 Mapper 接口
 *
 * @author duanwei
 * @date 2020-06-30
 */
public interface TaskPersonMapper extends BaseMapper<TaskPerson> {

	int noReadCount(Long personId, Long type, Date before);

	int riskExamPassCount(Long personId, Long riskworkId);
}
