2023-07-12 11:44:36 基本完成策略下发执行设备调控逻辑,根据终端上传结果来反馈给前端页面展示!

master
魔神煜修罗皇 2 years ago
parent 58bfb1720a
commit 5dd5fcee72
  1. 3
      psdc-web/src/main/java/com/psdc/controller/evaluate/PsdcStrategyLogController.java

@ -35,7 +35,8 @@ public class PsdcStrategyLogController{
if (null != strategyCode){
PsdcStrategyLog newLog = psdcStrategyLogService.selMyNewLog(Long.valueOf(strategyCode));
AjaxResult ajaxResult ;
if (null != newLog){
if (null != newLog && null != newLog.getStrategyRunRes()){
// System.out.println("查询成功: " + newLog + "\n");
String s = newLog.getStrategyRunRes();
ajaxResult = new AjaxResult(200, "查询成功", s.split(","));
} else {

Loading…
Cancel
Save