yxm
2024-07-15 eb0760c36778d07c0d13d917c0db30dfa03aa0fd
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
package cn.gistack.sm.sg.service;
 
import cn.gistack.sm.sg.DO.SgGxRoleDO;
import cn.gistack.sm.sg.DO.SgGxStepDO;
import cn.gistack.sm.sg.DTO.ProjectSearchDTO;
import cn.gistack.sm.sg.VO.SgGxRoleVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
/**
 * <p>
 * 施工工序步骤表 服务类
 * </p>
 *
 * @author shenyijian
 * @since 2024-06-13 15:46:18
 */
public interface SgGxStepService extends IService<SgGxStepDO> {
 
    void add(SgGxStepDO sgGxStepDO);
 
    void updateOne(SgGxStepDO sgGxStepDO);
 
    void delete(String id);
 
    IPage<SgGxStepDO> queryPageList(IPage<SgGxStepDO> page, @Param("dto") ProjectSearchDTO searchDTO);
 
 
    /**
     * 新增绑定的角色
     * @param sgGxRoleVO
     */
    void insertSgGxRole(SgGxRoleVO sgGxRoleVO);
 
    /**
     * 更新绑定的角色
     * @param sgGxRoleVO
     */
    void updateSgGxRole(SgGxRoleVO sgGxRoleVO);
 
    /**
     * 获取绑定的角色
     * @param gxDeviceType
     * @param gxStepId
     * @return
     */
    List<String> getSgGxRoles(String gxDeviceType, String gxStepId);
 
    List<SgGxStepDO> sgGxStepList();
}