Lius
2025-06-28 39f62fa03a2463652e971edfabab56313db6af10
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
package org.jeecg.modules.mdc.service;
 
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.mdc.entity.MdcShift;
import org.jeecg.modules.mdc.entity.MdcShiftSub;
 
import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;
 
/**
 * @Description: 班制表(主表)
 * @Author: Sake
 * @Date: 2023-04-03 11:54
 */
 
public interface IMdcShiftService extends IService<MdcShift> {
 
    /**
     * 分页查询
     *
     * @param page
     * @param mdcShift
     * @return
     */
    IPage<MdcShift> queryPageList(Page page, MdcShift mdcShift);
 
    /**
     * 新增班制
     *
     * @param mdcShift
     * @return
     */
    Boolean addShift(MdcShift mdcShift);
 
    /**
     * 新增时查询是否有重复数据
     *
     * @param mdcShift
     * @return
     */
    List<MdcShift> listMdcName(MdcShift mdcShift);
 
    /**
     * 修改
     *
     * @param mdcShift
     * @return
     */
    Boolean editShift(MdcShift mdcShift);
 
    /**
     * 根据id修改状态
     *
     * @param jsonObject
     * @return
     */
    Boolean changeStatus(JSONObject jsonObject);
 
    /**
     * 删除
     *
     * @param id
     * @return
     */
    Result<MdcShift> deleteShift(String id);
 
    /**
     * 加载班制下拉选项
     *
     * @return
     */
    List<Map<String, String>> initShiftList();
 
    /**
     * 设置默认班制
     *
     * @param id
     * @return
     */
    boolean changeDefaultShift(String id);
}