mitao
2024-12-19 d4f8d4b7b624628fbcaf3459546aaa55334a9922
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
package com.sinata.system.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.sinata.common.entity.PageDTO;
import com.sinata.system.domain.MwProtectionRegulation;
import com.sinata.system.domain.dto.MwProtectionRegulationDTO;
import com.sinata.system.domain.query.MwProtectionRegulationQuery;
import com.sinata.system.domain.vo.MwProtectionRegulationVO;
 
/**
 * <p>
 * 规章制度 服务类
 * </p>
 *
 * @author mitao
 * @since 2024-12-02
 */
public interface MwProtectionRegulationService extends IService<MwProtectionRegulation> {
    /**
     * 规章制度分页列表
     *
     * @param query
     * @return
     */
    PageDTO<MwProtectionRegulationVO> pageList(MwProtectionRegulationQuery query);
 
    /**
     * 详情
     *
     * @param id
     * @return
     */
    MwProtectionRegulationVO detail(Long id);
 
    /**
     * 新增规章制度
     *
     * @param dto
     * @return
     */
    void add(MwProtectionRegulationDTO dto);
 
    /**
     * 编辑规章制度
     *
     * @param dto
     * @return
     */
    void edit(MwProtectionRegulationDTO dto);
 
    /**
     * 删除
     *
     * @param id
     * @return
     */
    void delete(Long id);
}