项目进度分析
This commit is contained in:
parent
2d9e3604d7
commit
1be8a758c4
|
|
@ -80,7 +80,7 @@ public class ParamSecureHandler implements AsyncHandlerInterceptor {
|
||||||
"/largeScreen/deviceEnergyAnalysis/selectDeviceEnergyByDateRange",
|
"/largeScreen/deviceEnergyAnalysis/selectDeviceEnergyByDateRange",
|
||||||
"/largeScreen/deviceEnergyAnalysis/selectAnomalyByDateRange",
|
"/largeScreen/deviceEnergyAnalysis/selectAnomalyByDateRange",
|
||||||
"/largeScreen/deviceEnergyAnalysis/selectLatestAll",
|
"/largeScreen/deviceEnergyAnalysis/selectLatestAll",
|
||||||
|
"/largeScreen/tb_project_new/list4progress",
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,7 @@
|
||||||
package com.securitycontrol.screen.controller;
|
package com.securitycontrol.screen.controller;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.util.HashMap;
|
import java.util.*;
|
||||||
import java.util.List;
|
|
||||||
import java.util.Map;
|
|
||||||
import java.util.Random;
|
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
|
|
@ -14,6 +11,7 @@ import com.securitycontrol.common.core.web.page.TableDataInfo;
|
||||||
import com.securitycontrol.common.log.annotation.Log;
|
import com.securitycontrol.common.log.annotation.Log;
|
||||||
import com.securitycontrol.common.log.enums.OperationType;
|
import com.securitycontrol.common.log.enums.OperationType;
|
||||||
import com.securitycontrol.screen.WordUtils;
|
import com.securitycontrol.screen.WordUtils;
|
||||||
|
import com.securitycontrol.screen.domain.ProjectProgressNew;
|
||||||
import com.securitycontrol.screen.domain.ScreemDocData;
|
import com.securitycontrol.screen.domain.ScreemDocData;
|
||||||
import io.swagger.annotations.Api;
|
import io.swagger.annotations.Api;
|
||||||
import io.swagger.annotations.ApiOperation;
|
import io.swagger.annotations.ApiOperation;
|
||||||
|
|
@ -55,6 +53,40 @@ public class ProjectNewController extends BaseController {
|
||||||
return getDataTable(list);
|
return getDataTable(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ApiOperation(value = "查询工程进度表")
|
||||||
|
@GetMapping("/list4progress")
|
||||||
|
public TableDataInfo list4chart() {
|
||||||
|
List<ProjectNew> list = new ArrayList<>();
|
||||||
|
ProjectNew projectProgress1 = new ProjectNew();
|
||||||
|
ProjectNew projectProgress2 = new ProjectNew();
|
||||||
|
ProjectNew projectProgress3 = new ProjectNew();
|
||||||
|
ProjectNew projectProgress4 = new ProjectNew();
|
||||||
|
ProjectNew projectProgress5 = new ProjectNew();
|
||||||
|
ProjectNew projectProgress6 = new ProjectNew();
|
||||||
|
ProjectNew projectProgress7 = new ProjectNew();
|
||||||
|
projectProgress1.setMonth("一月");
|
||||||
|
projectProgress1.setMonthProgress("90");
|
||||||
|
projectProgress2.setMonth("二月");
|
||||||
|
projectProgress2.setMonthProgress("75");
|
||||||
|
projectProgress3.setMonth("三月");
|
||||||
|
projectProgress3.setMonthProgress("56");
|
||||||
|
projectProgress4.setMonth("四月");
|
||||||
|
projectProgress4.setMonthProgress("45");
|
||||||
|
projectProgress5.setMonth("五月");
|
||||||
|
projectProgress5.setMonthProgress("33");
|
||||||
|
projectProgress6.setMonth("六月");
|
||||||
|
projectProgress6.setMonthProgress("22");
|
||||||
|
projectProgress7.setMonth("七月");
|
||||||
|
projectProgress7.setMonthProgress("9");
|
||||||
|
list.add(projectProgress1);
|
||||||
|
list.add(projectProgress2);
|
||||||
|
list.add(projectProgress3);
|
||||||
|
list.add(projectProgress4);
|
||||||
|
list.add(projectProgress5);
|
||||||
|
list.add(projectProgress6);
|
||||||
|
list.add(projectProgress7);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取工程信息详细信息
|
* 获取工程信息详细信息
|
||||||
|
|
|
||||||
|
|
@ -83,4 +83,8 @@ public class ProjectNew extends BaseEntity {
|
||||||
private String suggestion;
|
private String suggestion;
|
||||||
|
|
||||||
private String taskName;
|
private String taskName;
|
||||||
|
|
||||||
|
private String month;
|
||||||
|
|
||||||
|
private String monthProgress;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue