管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2023-03-02 23830e352b874e2a27dc8023e2dfca11edb2a6cc
src/main/java/com/lf/server/controller/data/DomainController.java
@@ -8,6 +8,7 @@
import com.lf.server.entity.sys.UserEntity;
import com.lf.server.helper.StringHelper;
import com.lf.server.service.all.BaseQueryService;
import com.lf.server.service.data.DictService;
import com.lf.server.service.data.DomainService;
import com.lf.server.service.sys.TokenService;
import io.swagger.annotations.Api;
@@ -36,6 +37,9 @@
    @Autowired
    BaseQueryService baseQueryService;
    @Autowired
    DictService dictService;
    @SysLog()
    @ApiOperation(value = "查询记录数")
@@ -123,10 +127,13 @@
    @SysLog()
    @ApiOperation(value = "查询值域表集合")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "name", value = "名称", dataType = "String", paramType = "query", example = "b_")
    })
    @GetMapping(value = "/selectDomainTabs")
    public ResponseMsg<List<TabEntity>> selectDomainTabs() {
    public ResponseMsg<List<TabEntity>> selectDomainTabs(String name) {
        try {
            List<TabEntity> list = domainService.selectDomainTabs();
            List<TabEntity> list = dictService.selectDictTab(name);
            return success(list);
        } catch (Exception ex) {