管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2023-02-25 6f4eb64aa4beb0bd8a877780821cf5cdbb200538
src/main/java/com/lf/server/controller/all/BaseQueryController.java
@@ -581,23 +581,13 @@
    @SysLog()
    @ApiOperation(value = "查询基础地理类别")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "name", value = "名称", dataType = "String", paramType = "query", example = "D")
    })
    @GetMapping(value = "/selectBaseType")
    public ResponseMsg<Object> selectBaseType() {
    public ResponseMsg<Object> selectDirTypes(String name) {
        try {
            List<KeyValueEntity> list = baseQueryService.selectBaseType();
            return success(list);
        } catch (Exception ex) {
            return fail(ex.getMessage(), null);
        }
    }
    @SysLog()
    @ApiOperation(value = "查询业务类别")
    @GetMapping(value = "/selectBusinessType")
    public ResponseMsg<Object> selectBusinessType() {
        try {
            List<KeyValueEntity> list = baseQueryService.selectBusinessType();
            List<KeyValueEntity> list = baseQueryService.selectDirTypes(name);
            return success(list);
        } catch (Exception ex) {