资产展示{KLTV}的代码
parent
b2ab146577
commit
2500e74674
|
@ -2,21 +2,16 @@ package com.muyu.source.controller;
|
|||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.dtflys.forest.annotation.NotNull;
|
||||
|
||||
import com.muyu.common.core.domain.Result;
|
||||
import com.muyu.source.domain.Structure;
|
||||
import com.muyu.source.domain.TableInfo;
|
||||
import com.muyu.source.domain.model.TableInfoModel;
|
||||
import com.muyu.source.domain.rep.TableInfoRep;
|
||||
import com.muyu.source.domain.rep.TableInfoResp;
|
||||
import com.muyu.source.domain.rep.TableInfoTreeRep;
|
||||
import com.muyu.source.service.StructureService;
|
||||
import com.muyu.source.service.TableInfoService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
@ -81,4 +76,10 @@ public class TableInfoController {
|
|||
return Result.success(list);
|
||||
}
|
||||
|
||||
@PostMapping("/findTableName")
|
||||
public Result findTableName(@RequestParam("id") Long id) {
|
||||
TableInfo byId = tableInfoService.getById(id);
|
||||
return Result.success(byId);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -110,7 +110,6 @@ public class DataValueServiceImpl extends ServiceImpl<DataValueMapper, DataValue
|
|||
.type(DataType.convertTypeString(columnTypeName))
|
||||
.build();
|
||||
list.add(build);
|
||||
|
||||
}
|
||||
}
|
||||
} catch (SQLException e) {
|
||||
|
|
Loading…
Reference in New Issue