|
@@ -6,6 +6,7 @@ import java.text.SimpleDateFormat;
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.HashMap;
|
|
|
import java.util.List;
|
|
|
+import java.util.Map;
|
|
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
import com.ruoyi.common.utils.StringUtils;
|
|
@@ -67,7 +68,6 @@ public class TReportHiYlgdController extends BaseController {
|
|
|
/**
|
|
|
* 查询压力管道报告历史列表
|
|
|
*/
|
|
|
- @PreAuthorize("@ss.hasPermi('sems:historyYlgd:list')")
|
|
|
@GetMapping("/list")
|
|
|
public TableDataInfo list(TReportHiYlgd tReportHiYlgd) {
|
|
|
startPage();
|
|
@@ -208,7 +208,12 @@ public class TReportHiYlgdController extends BaseController {
|
|
|
//获取信息,就是上面的结构
|
|
|
HashMap<String, Object> map = new HashMap<>();
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
|
|
|
- List<TReportHiYlgd> tReportHiYlgds = this.tReportHiYlgdService.selectTReportHiYlgdForYear(year);
|
|
|
+ //
|
|
|
+ TReportHiYlgd hiYlgd = new TReportHiYlgd();
|
|
|
+ Map param = new HashMap();
|
|
|
+ param.put("year" , year);
|
|
|
+ hiYlgd.setParams(param);
|
|
|
+ List<TReportHiYlgd> tReportHiYlgds = this.tReportHiYlgdService.selectTReportHiYlgdForYear(hiYlgd);
|
|
|
List<SysDictData> con = iSysDictTypeService.selectDictDataByType("REPORT_CON");
|
|
|
//使用当前时间作为文件夹,所有文件保存在当中
|
|
|
long now = System.currentTimeMillis();
|