| | |
| | | @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 = ""), |
| | |
| | | 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("数据类型不匹配"); |
| | | } |