app动火作业延时监火在完成延时监火时,判断是否超时

liujun-2024-05-23-接口漏洞修复
limingyu 2024-05-15 17:40:56 +08:00
parent d681ca5a30
commit 304a261c35
1 changed files with 6 additions and 0 deletions

View File

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