|
|
|
@ -10,6 +10,7 @@ import com.bellmann.model.vo.FaultBasicInfoVO; |
|
|
|
|
import com.bellmann.model.vo.FaultDiagnosisResult; |
|
|
|
|
import com.bellmann.model.vo.FaultQueryVO; |
|
|
|
|
import com.bellmann.plugin.dupsubmit.annotation.PreventDuplicateSubmit; |
|
|
|
|
import com.bellmann.security.util.SecurityUtils; |
|
|
|
|
import com.bellmann.service.DeviceStaticService; |
|
|
|
|
import com.bellmann.service.FaultService; |
|
|
|
|
import com.bellmann.service.RemoteOperateTaskService; |
|
|
|
@ -58,8 +59,8 @@ public class FaultController { |
|
|
|
|
@Operation(summary = "业务/终端状态") |
|
|
|
|
@GetMapping("/basic_info/service_status") |
|
|
|
|
public Result<Map<String,String>> serviceStatus(@RequestParam Long devId, @RequestParam String remote){ |
|
|
|
|
// Long taskId = remoteOperateTaskService.sendTaskByDevId(devId, SecurityUtils.getUsername(),remote);
|
|
|
|
|
Map<String,String> map = faultService.getServiceStatusResult(17675921L); |
|
|
|
|
Long taskId = remoteOperateTaskService.sendTaskByDevId(devId, SecurityUtils.getUsername(),remote); |
|
|
|
|
Map<String,String> map = faultService.getServiceStatusResult(taskId); |
|
|
|
|
return Result.success(map); |
|
|
|
|
} |
|
|
|
|
@Operation(summary = "修改ALG功能") |
|
|
|
|