管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2023-03-30 e2cfc347670213e159da4b9e68e814953d48b0dc
src/main/java/com/lf/server/controller/all/BaseQueryController.java
@@ -395,7 +395,7 @@
            }
            dirs = DataLibService.copeCodes(dirs, "dirid");
            if (dirs != null) {
                filters += String.format(" and (%s)", dirs);
                filters += String.format(" and %s", dirs);
            }
            String field = null == hasGeom || !hasGeom ? "gid" : "geom";
@@ -579,8 +579,8 @@
            @ApiImplicitParam(name = "dr", value = "请求下载实体", dataType = "DownloadReqEntity", paramType = "body")
    })
    @ResponseBody
    @PostMapping(value = "/downloadDbReq")
    public ResponseMsg<Object> downloadDbReq(@RequestBody DownloadReqEntity dr, HttpServletRequest req) {
    @PostMapping(value = "/downloadDbData")
    public ResponseMsg<Object> downloadDbData(@RequestBody DownloadReqEntity dr, HttpServletRequest req) {
        try {
            if (null == dr || null == dr.getEntities() || dr.getEntities().isEmpty()) {
                return fail("请选择要下载的实体名");
@@ -607,7 +607,7 @@
        }
    }
    @SysLog()
    /*@SysLog()
    @ApiOperation(value = "请求DB数据下载")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "dr", value = "请求下载实体", dataType = "DownloadReqEntity", paramType = "body")
@@ -671,7 +671,7 @@
        } catch (Exception ex) {
            return fail(ex, null);
        }
    }
    }*/
    @SysLog()
    @ApiOperation(value = "查看文件")