| | |
| | | import java.time.Instant; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import com.ruoyi.system.domain.TDetectionCabinet; |
| | | import com.ruoyi.system.domain.TDetectionChannel; |
| | | import com.ruoyi.system.domain.TDeviceAdapter; |
| | | |
| | | public interface TDeviceAdapterMapper |
| | |
| | | int updateDiscoverySuccess(@Param("adapterId") Long adapterId, @Param("observedAt") Instant observedAt); |
| | | int updateDiscoveryFailure(@Param("adapterId") Long adapterId, @Param("errorCode") String errorCode, |
| | | @Param("errorMessage") String errorMessage); |
| | | Long selectCabinetIdByIdentity(@Param("adapterId") Long adapterId, |
| | | @Param("devtype") Integer devtype, @Param("devid") Integer devid); |
| | | int insertDetectedCabinet(TDetectionCabinet cabinet); |
| | | int updateDetectedCabinet(TDetectionCabinet cabinet); |
| | | int upsertDetectedChannel(TDetectionChannel channel); |
| | | List<TDetectionChannel> selectDetectionChannelsByAdapterId(Long adapterId); |
| | | } |