yeg
2026-08-27 210663040bf65ee00b5f86545fdc31bd0356fddf
ruoyi-system/src/main/java/com/ruoyi/system/mapper/TDetectionCabinetMapper.java
@@ -30,9 +30,9 @@
    /**
     * 查询设备选择弹窗需要的已发现检测柜事实。
     *
     * @return 已发现且未删除的检测柜
     * @return 已发现、在线且未登记的检测柜
     */
    List<TDetectionCabinet> selectDiscoveredCabinetList();
    List<String> selectRegisteredCabinetCodes();
    /**
     * 根据设备编码查询未删除检测柜。
@@ -56,7 +56,13 @@
     * @param detectionCabinet 候选主键及操作员填写的信息
     * @return 影响行数
     */
    int registerDiscoveredCabinet(TDetectionCabinet detectionCabinet);
    int insertDetectionCabinet(TDetectionCabinet detectionCabinet);
    /** 写入正式登记检测柜的稳定通道身份。 */
    int insertDetectionChannel(com.ruoyi.system.domain.TDetectionChannel channel);
    /** 软删除正式检测柜对应的通道拓扑。 */
    int deleteDetectionChannelsByCabinetId(@Param("cabinetId") Long cabinetId);
    /**
     * 修改检测柜基础信息。
@@ -75,7 +81,7 @@
    int updateDetectionCabinetStatus(TDetectionCabinet detectionCabinet);
    /**
     * 将检测柜标记为逻辑删除。
     * 取消检测柜登记,使仍在线的设备重新进入发现候选列表。
     *
     * @param cabinetId 检测柜主键
     * @param updateBy 更新人