package com.yeejoin.precontrol.common.mapper;

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

import java.util.Date;

/**
 * 作业活动关联人员 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);
}
