管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2022-11-03 bf2036e79b5e10f1d7c157ff4c114ca0689e8524
src/main/java/com/lf/server/controller/data/DomainController.java
@@ -3,8 +3,10 @@
import com.lf.server.aspect.SysLog;
import com.lf.server.controller.all.BaseController;
import com.lf.server.entity.all.ResponseMsg;
import com.lf.server.entity.ctrl.TabEntity;
import com.lf.server.entity.data.DomainEntity;
import com.lf.server.entity.sys.UserEntity;
import com.lf.server.service.all.BaseQueryService;
import com.lf.server.service.data.DomainService;
import com.lf.server.service.sys.TokenService;
import io.swagger.annotations.Api;
@@ -30,6 +32,9 @@
    @Autowired
    TokenService tokenService;
    @Autowired
    BaseQueryService baseQueryService;
    @SysLog()
    @ApiOperation(value = "查询记录数")
@@ -110,6 +115,19 @@
    }
    @SysLog()
    @ApiOperation(value = "查询所有表")
    @GetMapping(value = "/selectTabs")
    public ResponseMsg<List<TabEntity>> selectTabs() {
        try {
            List<TabEntity> list = baseQueryService.selectTabs();
            return success(list);
        } catch (Exception ex) {
            return fail(ex.getMessage(), null);
        }
    }
    @SysLog()
    @ApiOperation(value = "根据ID查询")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "id", value = "ID", dataType = "int", paramType = "query", example = "1")