| | |
| | | package com.ard.sample.manage.service.impl; |
| | | |
| | | import com.ard.sample.common.error.CommonErrorEnum; |
| | | import com.ard.sample.storage.service.IStorageService; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | |
| | | import com.ard.sample.manage.service.IDeviceLogsService; |
| | | import com.ard.sample.manage.service.ILogsFileService; |
| | | import com.ard.sample.manage.service.ITopologyService; |
| | | import com.ard.sample.storage.service.IStorageService; |
| | | import com.fasterxml.jackson.core.type.TypeReference; |
| | | import com.fasterxml.jackson.databind.ObjectMapper; |
| | | import lombok.extern.slf4j.Slf4j; |
| | |
| | | .build()); |
| | | |
| | | if (ResponseResult.CODE_SUCCESS != reply.getResult()) { |
| | | return ResponseResult.error("Error Code : " + reply.getResult()); |
| | | String errorMsg = CommonErrorEnum.getMsgByCode(reply.getResult()); |
| | | return ResponseResult.error(reply.getResult() , errorMsg); |
| | | } |
| | | |
| | | return ResponseResult.success(); |