赵士淞
2023-05-09 f906f120e7c9b3f2832d12a07fb9d0149ab27488
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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<AttendanceLeaveDto>
     */
    Map<String, Object> report() throws Exception;
 
    /**
     * 待审批的
     * @return List<AttendanceLeaveDto>
     */
    Map<String, Object> 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;
}