From 3e52d8536178f29f9efbe2513fd00bb3e4b17ff7 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期六, 18 三月 2023 09:54:42 +0800 Subject: [PATCH] 1 --- src/main/java/com/lf/server/controller/data/PublishController.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/lf/server/controller/data/PublishController.java b/src/main/java/com/lf/server/controller/data/PublishController.java index 52a7cfd..dcc2d7b 100644 --- a/src/main/java/com/lf/server/controller/data/PublishController.java +++ b/src/main/java/com/lf/server/controller/data/PublishController.java @@ -37,7 +37,7 @@ @ApiOperation(value = "鍒嗛〉鏌ヨ鍏冩暟鎹�") @ApiImplicitParams({ @ApiImplicitParam(name = "depcode", value = "鍗曚綅缂栫爜", dataType = "String", paramType = "query", example = "00"), - @ApiImplicitParam(name = "dircode", value = "鐩綍缂栫爜", dataType = "String", paramType = "query", example = "00"), + @ApiImplicitParam(name = "dircode", value = "鐩綍缂栫爜", dataType = "String", paramType = "query", example = "01"), @ApiImplicitParam(name = "verid", value = "鐗堟湰ID", dataType = "Integer", paramType = "query", example = "0"), @ApiImplicitParam(name = "type", value = "绫诲埆", dataType = "String", paramType = "query", example = "DOM"), @ApiImplicitParam(name = "name", value = "鍚嶇О", dataType = "String", paramType = "query", example = ""), @@ -74,13 +74,13 @@ private String getType(String type) throws Exception { switch (type) { case "DOM": - return "and type in ('tif', 'tiff', 'img')"; + return "type in ('tif', 'tiff', 'img')"; case "MPT": - return "and type = 'mpt'"; + return "type = 'mpt'"; case "3DML": - return "and type = '3dml'"; + return "type = '3dml'"; case "BIM": - return "and type in ('ifc', 'fbx', 'rvt')"; + return "type in ('ifc', 'fbx', 'rvt')"; default: throw new Exception("鏁版嵁绫诲瀷涓嶅尮閰�"); } -- Gitblit v1.9.3