|
@@ -72,6 +72,12 @@ public class CommonController {
|
|
|
return Response.success(map);
|
|
|
}
|
|
|
|
|
|
+ @GetMapping("/getDictMessage")
|
|
|
+ @Operation(summary = "获取字典项信息")
|
|
|
+ public String getDictMessage() {
|
|
|
+ return systemDictService.getDictMessage();
|
|
|
+ }
|
|
|
+
|
|
|
@GetMapping("getDictTreeByParentDictValue")
|
|
|
@Operation(summary = "获取字典项之间的级联关系")
|
|
|
public String getDictTreeByParentDictValue(@RequestParam(value = "value") List<String> value, String type, Integer flag) {
|
|
@@ -86,7 +92,7 @@ public class CommonController {
|
|
|
return Response.success(JsonUtils.jsonToMap(str));
|
|
|
}
|
|
|
|
|
|
- @Permission(roles = {1,2,4})
|
|
|
+ @Permission(roles = {1, 2, 4})
|
|
|
@checkAuth(FunId = "/workspace/folder/analyticSystem/chartAnalysis/moreMenu/export")
|
|
|
@PostMapping("export")
|
|
|
@Operation(summary = "导出分析结果")
|
|
@@ -215,15 +221,15 @@ public class CommonController {
|
|
|
|
|
|
@GetMapping("downloadPoi")
|
|
|
@Operation(summary = "下载word文件")
|
|
|
- public void downloadPoi( @RequestBody PoiVO poiVO) throws IOException, InvalidFormatException {
|
|
|
+ public void downloadPoi(@RequestBody PoiVO poiVO) throws IOException, InvalidFormatException {
|
|
|
|
|
|
poiService.writeFile(poiVO);
|
|
|
}
|
|
|
|
|
|
@GetMapping("readPoi")
|
|
|
@Operation(summary = "回显word文件")
|
|
|
- public PoiVO readPoi() throws IOException {
|
|
|
+ public PoiVO readPoi() throws IOException {
|
|
|
|
|
|
- return poiService.readWordFile();
|
|
|
+ return poiService.readWordFile();
|
|
|
}
|
|
|
}
|