package cn.iocoder.yudao.module.inspection.mapper;

import cn.iocoder.yudao.module.inspection.entity.InspectionWorkNode;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 检测流程表 Mapper 接口
 * </p>
 *
 * @author dianliang
 * @since 2024-10-31
 */
@Mapper
public interface InspectionWorkNodeMapper extends BaseMapper<InspectionWorkNode> {

    /**
     * 根据检测id获取检测流程
     * @param inspectionId
     * @return
     */
    List<InspectionWorkNode> getWeorkNodesById(Integer inspectionId);
}
