ny
昨天 b6f169fe43a2b13f351aefc152374fc7f0bc8cb7
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
package jnpf.base.service;
 
import jnpf.base.entity.ScheduleNewEntity;
import jnpf.base.model.schedule.ScheduleDetailModel;
import jnpf.base.model.schedule.ScheduleJobModel;
import jnpf.base.model.schedule.ScheduleNewTime;
import jnpf.exception.WorkFlowException;
 
import java.util.Date;
import java.util.List;
 
/**
 * 日程
 *
 * @author JNPF开发平台组
 * @copyright 引迈信息技术有限公司(https://www.jnpfsoft.com)
 */
public interface ScheduleNewService extends SuperService<ScheduleNewEntity> {
 
    /**
     * 列表
     *
     * @return
     */
    List<ScheduleNewEntity> getList(ScheduleNewTime scheduleNewTime);
 
    /**
     * 列表
     *
     * @return
     */
    List<ScheduleNewEntity> getList(String groupId, Date date);
 
    /**
     * 列表
     *
     * @return
     */
    List<ScheduleNewEntity> getStartDayList(String groupId, Date date);
 
    /**
     * 列表
     *
     * @return
     */
    List<ScheduleNewEntity> getListAll(Date date);
 
    /**
     * 信息
     *
     * @param id 主键值
     * @return 单据规则
     */
    ScheduleNewEntity getInfo(String id);
 
    /**
     * 信息
     *
     * @return 单据规则
     */
    List<ScheduleNewEntity> getGroupList(ScheduleDetailModel detailModel);
 
    /**
     * 创建
     *
     * @param entity 实体
     * @param operationType 1.新增 2.修改
     */
    void create(ScheduleNewEntity entity, List<String> toUserIds, String groupId, String operationType,List<String> idList) throws WorkFlowException;
 
    /**
     * 更新
     *
     * @param id     主键值
     * @param entity 实体对象
     * @param type 1.此日程 2.此日程及后续 3.所有日程
     * @return ignore
     */
    boolean update(String id, ScheduleNewEntity entity, List<String> toUserIds, String type) throws WorkFlowException;
 
    /**
     * 删除
     *
     * @param idList
     */
    void deleteScheduleList(List<String> idList);
 
    /**
     * 更新
     *
     * @param id     主键值
     * @param entity 实体对象
     */
    boolean update(String id, ScheduleNewEntity entity);
 
    /**
     * 删除
     *
     * @param entity 实体
     * @param type 1.此日程 2.此日程及后续 3.所有日程
     */
    void delete(ScheduleNewEntity entity, String type);
 
    /**
     * 发送重复提醒
     * @param scheduleJobModel
     */
    void scheduleMessage(ScheduleJobModel scheduleJobModel);
}