|
@@ -64,6 +64,17 @@ public class DataController {
|
|
|
return "datas/data/dataInfo";
|
|
|
}
|
|
|
|
|
|
+ @GetMapping("dataInfoNoPerms")
|
|
|
+ String dataInfoNoPerms(String type, String status, String cityName, Model model) {
|
|
|
+ log.info("dataLevel:" + type);
|
|
|
+ log.info("dataStatus:" + status);
|
|
|
+ log.info("cityName:" + cityName);
|
|
|
+ model.addAttribute("dataLevel", type);
|
|
|
+ model.addAttribute("dataStatus", status);
|
|
|
+ model.addAttribute("cityName", cityName);
|
|
|
+ return "datas/data/dataInfo";
|
|
|
+ }
|
|
|
+
|
|
|
@ResponseBody
|
|
|
@GetMapping("/list")
|
|
|
@RequiresPermissions("datas:data:data")
|
|
@@ -81,6 +92,22 @@ public class DataController {
|
|
|
return pageUtils;
|
|
|
}
|
|
|
|
|
|
+ @ResponseBody
|
|
|
+ @GetMapping("/listNoPerms")
|
|
|
+ public PageUtils listNoPerms(@RequestParam Map<String, Object> params) {
|
|
|
+ // 查询列表数据
|
|
|
+
|
|
|
+ Query query = new Query(params);
|
|
|
+ query.put("dataStatusArrs", Lists.newArrayList(3));
|
|
|
+ query.put("auditStageMenu", "2");
|
|
|
+ query.put("neqDataStatus", "4");
|
|
|
+
|
|
|
+ List<GyDataImportDTO> dataList = gyDataService.list(query);
|
|
|
+ int total = gyDataService.countTotal(query);
|
|
|
+ PageUtils pageUtils = new PageUtils(dataList, total);
|
|
|
+ return pageUtils;
|
|
|
+ }
|
|
|
+
|
|
|
@GetMapping("/add")
|
|
|
@RequiresPermissions("datas:data:add")
|
|
|
String add() {
|