package me.zhengjie.modules.attendance.service; import me.zhengjie.modules.attendance.service.dto.AttendanceLeaveDto; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.util.Map; public interface AttendanceLeaveFlowableService { /** * 我发起的 * @return List */ Map report() throws Exception; /** * 待审批的 * @return List */ Map approve() throws Exception; /** * 创建 * @param resources / */ void create(AttendanceLeaveDto resources) throws Exception; /** * 同意 * @param processInstanceId / */ void agree(String processInstanceId) throws Exception; /** * 拒绝 * @param processInstanceId / */ void reject(String processInstanceId) throws Exception; /** * 流程图 * @param request * @param response * @param processInstanceId * @throws Exception */ void processDiagram(HttpServletRequest request, HttpServletResponse response, String processInstanceId) throws Exception; }