/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.work.dao.report;

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

import com.jeeplus.common.persistence.CrudDao;
import com.jeeplus.common.persistence.annotation.MyBatisDao;
import com.jeeplus.modules.oa.entity.OaNotifyRecord;
import com.jeeplus.modules.work.entity.report.WorkReport;
import com.jeeplus.modules.work.entity.report.WorkReportRecord;
import org.apache.ibatis.annotations.Param;

/**
 * 工作报告DAO接口
 * @author 许凯
 * @version 2017-04-21
 */
@MyBatisDao
public interface WorkReportRecordDao extends CrudDao<WorkReportRecord> {

	/**
	 * 插入用户通知记录
	 * @param oaNotifyRecordList
	 * @return
	 */
	public int insertAllUser(List<WorkReportRecord> workReportRecordListUser);
	/**
	 * 插入群组通知记录
	 * @param oaNotifyRecordList
	 * @return
	 */
	public int insertAllGroup(List<WorkReportRecord> workReportRecordListGroup);

	/**
	 * 根据通知ID删除通知记录
	 * @param oaNotifyId 通知ID
	 * @return
	 */
	public int deleteByReportId(String reportId);
	
	public List<WorkReportRecord> findUserList(WorkReportRecord workReportRecord);


}