package cn.gistack.sm.sg.mapper;
|
|
import cn.gistack.sm.sg.DO.SgGxRoleDO;
|
import cn.gistack.sm.sg.DTO.ProjectSearchDTO;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
|
/**
|
* <p>
|
* 施工工序角色配置表 Mapper 接口
|
* </p>
|
*
|
* @author shenyijian
|
* @since 2024-06-13 15:46:18
|
*/
|
public interface SgGxRoleMapper extends BaseMapper<SgGxRoleDO> {
|
|
List<SgGxRoleDO> selectSgGxRole(@Param("gxDeviceType") String gxDeviceType,@Param("gxStepId") String gxStepId);
|
|
/**
|
* 批量插入
|
* @param sgGxRoles
|
*/
|
void insertBach(List<SgGxRoleDO> sgGxRoles);
|
|
/**
|
* 根据工序类型、工序步骤id删除绑定
|
* @param gxDeviceType
|
* @param gxStepId
|
*/
|
void deleteSgGxRoleDOs(@Param("gxDeviceType") String gxDeviceType,@Param("gxStepId") String gxStepId);
|
|
List<String> getSgGxRoles(@Param("gxDeviceType") String gxDeviceType,@Param("gxStepId") String gxStepId);
|
}
|