修复延时动火点击完成延时动火无响应的问题

0927cmt
songwenxuan 2024-06-05 16:07:42 +08:00
parent 36ff0c5e64
commit 9909333a2c
1 changed files with 6 additions and 0 deletions

View File

@ -13,6 +13,7 @@ import java.util.Map;
import com.alibaba.fastjson.JSON;
import com.zcloud.aspect.DockAnnotation;
import com.zcloud.service.highriskwork.HotWorkApplicationService;
import com.zcloud.util.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
@ -43,6 +44,8 @@ public class AppHotWorkApplicationDelayedController extends BaseController {
@Autowired
private HotWorkApplicationDelayedService hotworkapplicationdelayedService;
@Autowired
private HotWorkApplicationService hotWorkApplicationService;
/**
* @param
@ -178,6 +181,9 @@ public class AppHotWorkApplicationDelayedController extends BaseController {
PageData pd = new PageData();
pd = this.getPageData();
List<PageData> varList = hotworkapplicationdelayedService.listAll(pd); //列出HotWorkApplicationDelayed列表
// 获取动火作业的作业开始和结束时间
PageData data = hotWorkApplicationService.findById(pd);
map.put("data", data);
map.put("varList", varList);
map.put("page", page);
map.put("result", errInfo);