POST
/infra/codegen/queryCodegenTableList管理后台代码生成表定义-列表查询
平台与系统 / 代码生成·表
基本信息
- 接口状态脚手架生成·未接入前端
- 接口URLPOST
https://dscp-dev.hn12301.net/manage-api/infra/codegen/queryCodegenTableList - 请求方式
POST - Content-Type
application/json - 暴露渠道管理后台 前缀
/manage-api - 名称来源源码注释
- 调用方本次扫描未发现调用
- 需求上下文
- 维护人 / 最后改动AsiQue 2023-11-27
- 读写数据表
infra_codegen_table反查该表全部接口 → - 控制器
com.jxxx.dscp.api.controller.infra.CodegenTableController#queryCodegenTableList - 源码位置
jxxx-dscp/dscp-service-business/src/main/java/com/jxxx/dscp/api/controller/infra/CodegenTableController.java:47 - 判定依据
请求参数
Header 请求参数
| 参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
|---|---|---|---|---|
| 无(渠道统一鉴权头见《认证方式》) | ||||
Query 请求参数
| 参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
|---|---|---|---|---|
| 无 | ||||
路径参数及说明
| 参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
|---|---|---|---|---|
| 无 | ||||
Body 请求参数
| 参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
|---|---|---|---|---|
| dataSourceConfigId | … | 否 | Long | 数据源配置的编号 → infra_codegen_table.data_source_config_id |
| scene | … | 否 | Integer | 生成场景 → infra_codegen_table.scene |
| tableName | … | 否 | String | 表名称 → infra_codegen_table.table_name |
| tableComment | … | 否 | String | 表描述 → infra_codegen_table.table_comment |
| remark | … | 否 | String | 备注 → infra_codegen_table.remark |
| moduleName | … | 否 | String | 模块名 → infra_codegen_table.module_name |
| businessName | … | 否 | String | 业务名 → infra_codegen_table.business_name |
| className | … | 否 | String | 类名称 → infra_codegen_table.class_name |
| classComment | … | 否 | String | 类描述 → infra_codegen_table.class_comment |
| author | … | 否 | String | 作者 → infra_codegen_table.author |
| templateType | … | 否 | Integer | 模板类型 → infra_codegen_table.template_type |
| frontType | … | 否 | Integer | 前端类型 → infra_codegen_table.front_type |
| parentMenuId | … | 否 | Long | 父菜单编号 → infra_codegen_table.parent_menu_id |
| masterTableId | … | 否 | Long | 主表的编号 → infra_codegen_table.master_table_id |
| subJoinColumnId | … | 否 | Long | 子表关联主表的字段编号 → infra_codegen_table.sub_join_column_id |
| subJoinMany | … | 否 | Boolean | 主表与子表是否一对多 → infra_codegen_table.sub_join_many |
| treeParentColumnId | … | 否 | Long | 树表的父字段编号 → infra_codegen_table.tree_parent_column_id |
| treeNameColumnId | … | 否 | Long | 树表的名字字段编号 → infra_codegen_table.tree_name_column_id |
| idList | … | 否 | List<Long> | id列表 |
| keywords | … | 否 | String | 关键字 |
认证方式
响应参数
| 参数名 | 参数值 | 是否必填 | 参数类型 | 描述说明 |
|---|---|---|---|---|
| id | … | 否 | Long | 编号 → infra_codegen_table.id |
| dataSourceConfigId | … | 否 | Long | 数据源配置的编号 → infra_codegen_table.data_source_config_id |
| scene | … | 否 | Integer | 生成场景 → infra_codegen_table.scene |
| tableName | … | 否 | String | 表名称 → infra_codegen_table.table_name |
| tableComment | … | 否 | String | 表描述 → infra_codegen_table.table_comment |
| remark | … | 否 | String | 备注 → infra_codegen_table.remark |
| moduleName | … | 否 | String | 模块名 → infra_codegen_table.module_name |
| businessName | … | 否 | String | 业务名 → infra_codegen_table.business_name |
| className | … | 否 | String | 类名称 → infra_codegen_table.class_name |
| classComment | … | 否 | String | 类描述 → infra_codegen_table.class_comment |
| author | … | 否 | String | 作者 → infra_codegen_table.author |
| templateType | … | 否 | Integer | 模板类型 → infra_codegen_table.template_type |
| frontType | … | 否 | Integer | 前端类型 → infra_codegen_table.front_type |
| parentMenuId | … | 否 | Long | 父菜单编号 → infra_codegen_table.parent_menu_id |
| masterTableId | … | 否 | Long | 主表的编号 → infra_codegen_table.master_table_id |
| subJoinColumnId | … | 否 | Long | 子表关联主表的字段编号 → infra_codegen_table.sub_join_column_id |
| subJoinMany | … | 否 | Boolean | 主表与子表是否一对多 → infra_codegen_table.sub_join_many |
| treeParentColumnId | … | 否 | Long | 树表的父字段编号 → infra_codegen_table.tree_parent_column_id |
| treeNameColumnId | … | 否 | Long | 树表的名字字段编号 → infra_codegen_table.tree_name_column_id |
响应示例
成功响应示例
{
"errcode": 0,
"errmsg": "",
"data": {
"id": "1",
"dataSourceConfigId": "1",
"scene": "1",
"tableName": "\"string\"",
"tableComment": "\"string\"",
"remark": "\"string\"",
"moduleName": "\"string\"",
"businessName": "\"string\"",
"className": "\"string\"",
"classComment": "\"string\"",
"author": "\"string\"",
"templateType": "1"
}
}附录 · 实现细节
调用链 / 数据表 / 调用点证据 / 源码注释 / 逻辑摘要
涉及数据表:infra_codegen_table 反查全部引用接口 →
- CodegenTableController#queryCodegenTableList
- CodegenTableService#queryList(CodegenTableServiceImpl)
- CodegenTableMapper#queryList
- BeanUtils.map → CodegenTableQuery
- BeanUtils.mapList → CodegenTableResponse
逻辑摘要:列表查询(infraService.queryList);入参与返回值经 BeanUtils 做对象/分页映射
旧站环境备注:pro:(仓库 .env.pro 指向 uat;生产域名未确认,此处沿用 uat 主机示意)