/**
 * There are <a href="https://github.com/thinkgem/jeesite">JeeSite</a> code generation
 */
package com.lightinit.hsdatagateway.modules.oa.dao;

import com.lightinit.hsdatagateway.common.persistence.CrudDao;
import com.lightinit.hsdatagateway.common.persistence.annotation.MyBatisDao;
import com.lightinit.hsdatagateway.modules.oa.entity.Leave;

/**
 * 请假DAO接口
 * @Author yangrui
 * @version 2013-8-23
 */
@MyBatisDao
public interface LeaveDao extends CrudDao<Leave> {
	
	/**
	 * 更新流程实例ID
	 * @param leave
	 * @return
	 */
	public int updateProcessInstanceId(Leave leave);
	
	/**
	 * 更新实际开始结束时间
	 * @param leave
	 * @return
	 */
	public int updateRealityTime(Leave leave);
	
}
