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();
|
}
|