赵士淞
2023-05-06 7af8a66fefff0c8ecf81b73c6c6baf9ded3f0c9f
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
package me.zhengjie.modules.attendance.service;
 
import me.zhengjie.modules.attendance.service.dto.AttendanceLeaveDto;
 
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;
}