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

import com.jeeplus.common.persistence.CrudDao;
import com.jeeplus.common.persistence.annotation.MyBatisDao;
import com.jeeplus.modules.oa_evection.entity.oa_evection.OaEvection;
import com.jeeplus.modules.projectrecord.entity.ProjectRecords;
import com.jeeplus.modules.workbidproject.entity.WorkBidProject;
import com.jeeplus.modules.workclientinfo.entity.WorkClientInfo;
import com.jeeplus.modules.workproject.entity.WorkProject;
import com.jeeplus.modules.workreimbursement.entity.WorkReimbursement;

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

/**
 * 财务报销DAO接口
 * @author 孟祥越
 * @version 2017-05-02
 */
@MyBatisDao
public interface WorkReimbursementDao extends CrudDao<WorkReimbursement> {

	public List<WorkBidProject> findListByproject(WorkBidProject project);
	public int queryCount(WorkReimbursement WorkReimbursement);

	public List<ProjectRecords> findListByprojectt(ProjectRecords project);
	/**
	 * 更新流程实例ID
	 * @return
	 */
	public int updateProcessInstanceId(WorkReimbursement workReimbursement);

    /**
     * 根据流程实例ID获取WorkReimbursement
     * @param processInstanceId
     * @return
     */
    public WorkReimbursement getByProcessInstanceId(String processInstanceId);

}