2024-06-15 13:02:35 +08:00
/* tslint:disable */
/* eslint-disable */
/ * *
* Admin . NET 通 用 权 限 开 发 平 台
* 让 . NET 开 发 更 简 单 、 更 通 用 、 更 流 行 。 整 合 最 新 技 术 , 模 块 插 件 式 开 发 , 前 后 端 分 离 , 开 箱 即 用 。 < br / > < u > < b > < font color = 'FF0000' > 👮 不 得 利 用 本 项 目 从 事 危 害 国 家 安 全 、 扰 乱 社 会 秩 序 、 侵 犯 他 人 合 法 权 益 等 法 律 法 规 禁 止 的 活 动 ! 任 何 基 于 本 项 目 二 次 开 发 而 产 生 的 一 切 法 律 纠 纷 和 责 任 , 我 们 不 承 担 任 何 责 任 ! < / font > < / b > < / u >
*
* OpenAPI spec version : 1.0.0
*
*
* NOTE : This class is auto generated by the swagger code generator program .
* https : //github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually .
* /
import globalAxios , { AxiosResponse , AxiosInstance , AxiosRequestConfig } from 'axios' ;
import { Configuration } from '../configuration' ;
// Some imports not used depending on template conditions
// @ts-ignore
import { BASE_PATH , COLLECTION_FORMATS , RequestArgs , BaseAPI , RequiredError } from '../base' ;
2025-01-23 13:11:06 +08:00
import { AdminNETResultIEnumerableEntityInfo } from '../models' ;
2025-01-18 03:16:27 +08:00
import { AdminNETResultListCodeGenConfig } from '../models' ;
2025-01-23 13:11:06 +08:00
import { AdminNETResultListColumnOuput } from '../models' ;
2025-01-18 03:16:27 +08:00
import { AdminNETResultSysCodeGenConfig } from '../models' ;
2024-06-15 13:02:35 +08:00
import { CodeGenConfig } from '../models' ;
2025-01-23 13:11:06 +08:00
import { Filter } from '../models' ;
import { FilterLogicEnum } from '../models' ;
import { FilterOperatorEnum } from '../models' ;
2024-08-28 11:37:37 +08:00
import { VerifyRuleItem } from '../models' ;
2024-06-15 13:02:35 +08:00
/ * *
* SysCodeGenConfigApi - axios parameter creator
* @export
* /
export const SysCodeGenConfigApiAxiosParamCreator = function ( configuration? : Configuration ) {
return {
2025-01-23 13:11:06 +08:00
/ * *
*
* @summary 获 取 数 据 表 列 ( 实 体 属 性 ) 集 合
* @param { string } entityName
* @param { string } configId
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
apiSysCodeGenConfigColumnListEntityNameConfigIdGet : async ( entityName : string , configId : string , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
// verify required parameter 'entityName' is not null or undefined
if ( entityName === null || entityName === undefined ) {
throw new RequiredError ( 'entityName' , 'Required parameter entityName was null or undefined when calling apiSysCodeGenConfigColumnListEntityNameConfigIdGet.' ) ;
}
// verify required parameter 'configId' is not null or undefined
if ( configId === null || configId === undefined ) {
throw new RequiredError ( 'configId' , 'Required parameter configId was null or undefined when calling apiSysCodeGenConfigColumnListEntityNameConfigIdGet.' ) ;
}
const localVarPath = ` /api/sysCodeGenConfig/columnList/{entityName}/{configId} `
. replace ( ` { ${ "entityName" } } ` , encodeURIComponent ( String ( entityName ) ) )
. replace ( ` { ${ "configId" } } ` , encodeURIComponent ( String ( configId ) ) ) ;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL ( localVarPath , 'https://example.com' ) ;
let baseOptions ;
if ( configuration ) {
baseOptions = configuration . baseOptions ;
}
const localVarRequestOptions :AxiosRequestConfig = { method : 'GET' , . . . baseOptions , . . . options } ;
const localVarHeaderParameter = { } as any ;
const localVarQueryParameter = { } as any ;
// authentication Bearer required
// http bearer authentication required
if ( configuration && configuration . accessToken ) {
const accessToken = typeof configuration . accessToken === 'function'
? await configuration . accessToken ( )
: await configuration . accessToken ;
localVarHeaderParameter [ "Authorization" ] = "Bearer " + accessToken ;
}
const query = new URLSearchParams ( localVarUrlObj . search ) ;
for ( const key in localVarQueryParameter ) {
query . set ( key , localVarQueryParameter [ key ] ) ;
}
for ( const key in options . params ) {
query . set ( key , options . params [ key ] ) ;
}
localVarUrlObj . search = ( new URLSearchParams ( query ) ) . toString ( ) ;
let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ;
localVarRequestOptions . headers = { . . . localVarHeaderParameter , . . . headersFromBaseOptions , . . . options . headers } ;
return {
url : localVarUrlObj.pathname + localVarUrlObj . search + localVarUrlObj . hash ,
options : localVarRequestOptions ,
} ;
} ,
/ * *
*
* @summary 获 取 数 据 表 列 ( 实 体 属 性 ) 集 合
* @param { string } tableName 数 据 库 表 名
* @param { string } busName 业 务 名 ( 业 务 代 码 包 名 称 )
* @param { string } nameSpace 命 名 空 间
* @param { string } authorName 作 者 姓 名
* @param { string } generateType 生 成 方 式
* @param { boolean } generateMenu 是 否 生 成 菜 单
* @param { boolean } [ isApiService ] 是 否 使 用 Api Service
* @param { Array < number > } [ codeGenTemplateIds ] 模 板 Id集合
* @param { string } [ leftTab ] 左 边 树 形 结 构 表
* @param { string } [ leftKey ] 左 边 关 联 字 段
* @param { string } [ leftPrimaryKey ] 左 边 关 联 主 表 字 段
* @param { string } [ leftName ] 左 边 树 Name
* @param { string } [ bottomTab ] 下 表 名 称
* @param { string } [ bottomKey ] 下 表 关 联 字 段
* @param { string } [ bottomPrimaryKey ] 下 表 关 联 主 表 字 段
* @param { string } [ template ] 模 板
* @param { string } [ className ] 类 名
* @param { string } [ tablePrefix ] 是 否 移 除 表 前 缀
* @param { string } [ configId ] 库 定 位 器 名
* @param { string } [ dbName ] 数 据 库 名 ( 保 留 字 段 )
* @param { string } [ dbType ] 数 据 库 类 型
* @param { string } [ connectionString ] 数 据 库 链 接
* @param { string } [ treeName ] 树 控 件 名 称
* @param { string } [ tableComment ] 功 能 名 ( 数 据 库 表 名 称 )
* @param { string } [ menuApplication ] 菜 单 应 用 分 类 ( 应 用 编 码 )
* @param { number } [ menuPid ] 菜 单 父 级
* @param { string } [ menuIcon ] 菜 单 图 标
* @param { string } [ pagePath ] 页 面 目 录
* @param { string } [ printType ] 支 持 打 印 类 型
* @param { string } [ printName ] 打 印 模 版 名 称
* @param { number } [ page ] 当 前 页 码
* @param { number } [ pageSize ] 页 码 容 量
* @param { string } [ field ] 排 序 字 段
* @param { string } [ order ] 排 序 方 向
* @param { string } [ descStr ] 降 序 排 序
* @param { Array < string > } [ searchFields ] 字 段 名 称 集 合
* @param { string } [ searchKeyword ] 关 键 字
* @param { string } [ keyword ] 模 糊 查 询 关 键 字
* @param { FilterLogicEnum } [ filterLogic ] 过 滤 条 件
* @param { Array < Filter > } [ filterFilters ] 筛 选 过 滤 条 件 子 项
* @param { string } [ filterField ] 字 段 名 称
* @param { FilterOperatorEnum } [ filterOperator ] 逻 辑 运 算 符
* @param { any } [ filterValue ] 字 段 值
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
apiSysCodeGenConfigColumnListGet : async ( tableName : string , busName : string , nameSpace : string , authorName : string , generateType : string , generateMenu : boolean , isApiService? : boolean , codeGenTemplateIds? : Array < number > , leftTab? : string , leftKey? : string , leftPrimaryKey? : string , leftName? : string , bottomTab? : string , bottomKey? : string , bottomPrimaryKey? : string , template? : string , className? : string , tablePrefix? : string , configId? : string , dbName? : string , dbType? : string , connectionString? : string , treeName? : string , tableComment? : string , menuApplication? : string , menuPid? : number , menuIcon? : string , pagePath? : string , printType? : string , printName? : string , page? : number , pageSize? : number , field? : string , order? : string , descStr? : string , searchFields? : Array < string > , searchKeyword? : string , keyword? : string , filterLogic? : FilterLogicEnum , filterFilters? : Array < Filter > , filterField? : string , filterOperator? : FilterOperatorEnum , filterValue? : any , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
// verify required parameter 'tableName' is not null or undefined
if ( tableName === null || tableName === undefined ) {
throw new RequiredError ( 'tableName' , 'Required parameter tableName was null or undefined when calling apiSysCodeGenConfigColumnListGet.' ) ;
}
// verify required parameter 'busName' is not null or undefined
if ( busName === null || busName === undefined ) {
throw new RequiredError ( 'busName' , 'Required parameter busName was null or undefined when calling apiSysCodeGenConfigColumnListGet.' ) ;
}
// verify required parameter 'nameSpace' is not null or undefined
if ( nameSpace === null || nameSpace === undefined ) {
throw new RequiredError ( 'nameSpace' , 'Required parameter nameSpace was null or undefined when calling apiSysCodeGenConfigColumnListGet.' ) ;
}
// verify required parameter 'authorName' is not null or undefined
if ( authorName === null || authorName === undefined ) {
throw new RequiredError ( 'authorName' , 'Required parameter authorName was null or undefined when calling apiSysCodeGenConfigColumnListGet.' ) ;
}
// verify required parameter 'generateType' is not null or undefined
if ( generateType === null || generateType === undefined ) {
throw new RequiredError ( 'generateType' , 'Required parameter generateType was null or undefined when calling apiSysCodeGenConfigColumnListGet.' ) ;
}
// verify required parameter 'generateMenu' is not null or undefined
if ( generateMenu === null || generateMenu === undefined ) {
throw new RequiredError ( 'generateMenu' , 'Required parameter generateMenu was null or undefined when calling apiSysCodeGenConfigColumnListGet.' ) ;
}
const localVarPath = ` /api/sysCodeGenConfig/columnList ` ;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL ( localVarPath , 'https://example.com' ) ;
let baseOptions ;
if ( configuration ) {
baseOptions = configuration . baseOptions ;
}
const localVarRequestOptions :AxiosRequestConfig = { method : 'GET' , . . . baseOptions , . . . options } ;
const localVarHeaderParameter = { } as any ;
const localVarQueryParameter = { } as any ;
// authentication Bearer required
// http bearer authentication required
if ( configuration && configuration . accessToken ) {
const accessToken = typeof configuration . accessToken === 'function'
? await configuration . accessToken ( )
: await configuration . accessToken ;
localVarHeaderParameter [ "Authorization" ] = "Bearer " + accessToken ;
}
if ( tableName !== undefined ) {
localVarQueryParameter [ 'TableName' ] = tableName ;
}
if ( busName !== undefined ) {
localVarQueryParameter [ 'BusName' ] = busName ;
}
if ( nameSpace !== undefined ) {
localVarQueryParameter [ 'NameSpace' ] = nameSpace ;
}
if ( authorName !== undefined ) {
localVarQueryParameter [ 'AuthorName' ] = authorName ;
}
if ( generateType !== undefined ) {
localVarQueryParameter [ 'GenerateType' ] = generateType ;
}
if ( generateMenu !== undefined ) {
localVarQueryParameter [ 'GenerateMenu' ] = generateMenu ;
}
if ( isApiService !== undefined ) {
localVarQueryParameter [ 'IsApiService' ] = isApiService ;
}
if ( codeGenTemplateIds ) {
localVarQueryParameter [ 'CodeGenTemplateIds' ] = codeGenTemplateIds ;
}
if ( leftTab !== undefined ) {
localVarQueryParameter [ 'LeftTab' ] = leftTab ;
}
if ( leftKey !== undefined ) {
localVarQueryParameter [ 'LeftKey' ] = leftKey ;
}
if ( leftPrimaryKey !== undefined ) {
localVarQueryParameter [ 'LeftPrimaryKey' ] = leftPrimaryKey ;
}
if ( leftName !== undefined ) {
localVarQueryParameter [ 'LeftName' ] = leftName ;
}
if ( bottomTab !== undefined ) {
localVarQueryParameter [ 'BottomTab' ] = bottomTab ;
}
if ( bottomKey !== undefined ) {
localVarQueryParameter [ 'BottomKey' ] = bottomKey ;
}
if ( bottomPrimaryKey !== undefined ) {
localVarQueryParameter [ 'BottomPrimaryKey' ] = bottomPrimaryKey ;
}
if ( template !== undefined ) {
localVarQueryParameter [ 'Template' ] = template ;
}
if ( className !== undefined ) {
localVarQueryParameter [ 'ClassName' ] = className ;
}
if ( tablePrefix !== undefined ) {
localVarQueryParameter [ 'TablePrefix' ] = tablePrefix ;
}
if ( configId !== undefined ) {
localVarQueryParameter [ 'ConfigId' ] = configId ;
}
if ( dbName !== undefined ) {
localVarQueryParameter [ 'DbName' ] = dbName ;
}
if ( dbType !== undefined ) {
localVarQueryParameter [ 'DbType' ] = dbType ;
}
if ( connectionString !== undefined ) {
localVarQueryParameter [ 'ConnectionString' ] = connectionString ;
}
if ( treeName !== undefined ) {
localVarQueryParameter [ 'TreeName' ] = treeName ;
}
if ( tableComment !== undefined ) {
localVarQueryParameter [ 'TableComment' ] = tableComment ;
}
if ( menuApplication !== undefined ) {
localVarQueryParameter [ 'MenuApplication' ] = menuApplication ;
}
if ( menuPid !== undefined ) {
localVarQueryParameter [ 'MenuPid' ] = menuPid ;
}
if ( menuIcon !== undefined ) {
localVarQueryParameter [ 'MenuIcon' ] = menuIcon ;
}
if ( pagePath !== undefined ) {
localVarQueryParameter [ 'PagePath' ] = pagePath ;
}
if ( printType !== undefined ) {
localVarQueryParameter [ 'PrintType' ] = printType ;
}
if ( printName !== undefined ) {
localVarQueryParameter [ 'PrintName' ] = printName ;
}
if ( page !== undefined ) {
localVarQueryParameter [ 'Page' ] = page ;
}
if ( pageSize !== undefined ) {
localVarQueryParameter [ 'PageSize' ] = pageSize ;
}
if ( field !== undefined ) {
localVarQueryParameter [ 'Field' ] = field ;
}
if ( order !== undefined ) {
localVarQueryParameter [ 'Order' ] = order ;
}
if ( descStr !== undefined ) {
localVarQueryParameter [ 'DescStr' ] = descStr ;
}
if ( searchFields ) {
localVarQueryParameter [ 'Search.Fields' ] = searchFields ;
}
if ( searchKeyword !== undefined ) {
localVarQueryParameter [ 'Search.Keyword' ] = searchKeyword ;
}
if ( keyword !== undefined ) {
localVarQueryParameter [ 'Keyword' ] = keyword ;
}
if ( filterLogic !== undefined ) {
localVarQueryParameter [ 'Filter.Logic' ] = filterLogic ;
}
if ( filterFilters ) {
localVarQueryParameter [ 'Filter.Filters' ] = filterFilters ;
}
if ( filterField !== undefined ) {
localVarQueryParameter [ 'Filter.Field' ] = filterField ;
}
if ( filterOperator !== undefined ) {
localVarQueryParameter [ 'Filter.Operator' ] = filterOperator ;
}
if ( filterValue !== undefined ) {
localVarQueryParameter [ 'Filter.Value' ] = filterValue ;
}
const query = new URLSearchParams ( localVarUrlObj . search ) ;
for ( const key in localVarQueryParameter ) {
query . set ( key , localVarQueryParameter [ key ] ) ;
}
for ( const key in options . params ) {
query . set ( key , options . params [ key ] ) ;
}
localVarUrlObj . search = ( new URLSearchParams ( query ) ) . toString ( ) ;
let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ;
localVarRequestOptions . headers = { . . . localVarHeaderParameter , . . . headersFromBaseOptions , . . . options . headers } ;
return {
url : localVarUrlObj.pathname + localVarUrlObj . search + localVarUrlObj . hash ,
options : localVarRequestOptions ,
} ;
} ,
2024-06-15 13:02:35 +08:00
/ * *
*
* @summary 获 取 代 码 生 成 配 置 详 情 🔖
* @param { number } [ id ] 主 键 Id
* @param { number } [ codeGenId ] 代 码 生 成 主 表 ID
* @param { string } [ columnName ] 数 据 库 字 段 名
* @param { string } [ propertyName ] 实 体 属 性 名
* @param { number } [ columnLength ] 字 段 数 据 长 度
* @param { string } [ lowerPropertyName ] 数 据 库 字 段 名 ( 首 字 母 小 写 )
* @param { string } [ columnComment ] 字 段 描 述
* @param { string } [ netType ] . NET类型
* @param { string } [ effectType ] 作 用 类 型 ( 字 典 )
2024-08-04 01:22:55 +08:00
* @param { string } [ fkConfigId ] 外 键 库 标 识
2024-06-15 13:02:35 +08:00
* @param { string } [ fkEntityName ] 外 键 实 体 名 称
* @param { string } [ fkTableName ] 外 键 表 名 称
* @param { string } [ lowerFkEntityName ] 外 键 实 体 名 称 ( 首 字 母 小 写 )
* @param { string } [ fkColumnName ] 外 键 显 示 字 段
2024-07-24 01:44:43 +08:00
* @param { string } [ fkLinkColumnName ] 外 键 链 接 字 段
2024-06-15 13:02:35 +08:00
* @param { string } [ lowerFkColumnName ] 外 键 显 示 字 段 ( 首 字 母 小 写 )
* @param { string } [ fkColumnNetType ] 外 键 显 示 字 段 . NET类型
* @param { string } [ dictTypeCode ] 字 典 code
* @param { string } [ whetherRetract ] 列 表 是 否 缩 进 ( 字 典 )
* @param { string } [ whetherRequired ] 是 否 必 填 ( 字 典 )
* @param { string } [ whetherSortable ] 是 否 可 排 序 ( 字 典 )
2025-01-23 13:11:06 +08:00
* @param { string } [ statistical ] 是 否 是 统 计 字 段
2025-03-01 12:02:59 +08:00
* @param { string } [ isGroupBy ] 是 否 是 GroupBy字段
2024-06-15 13:02:35 +08:00
* @param { string } [ queryWhether ] 是 否 是 查 询 条 件
* @param { string } [ queryType ] 查 询 方 式
* @param { string } [ whetherTable ] 列 表 显 示
* @param { string } [ whetherAddUpdate ] 增 改
* @param { string } [ columnKey ] 主 外 键
* @param { string } [ dataType ] 数 据 库 中 类 型 ( 物 理 类 型 )
* @param { string } [ whetherCommon ] 是 否 是 通 用 字 段
* @param { string } [ tableNickName ] 表 的 别 名 Table as XXX
* @param { string } [ displayColumn ] 显 示 文 本 字 段
* @param { string } [ valueColumn ] 选 中 值 字 段
* @param { string } [ pidColumn ] 父 级 字 段
* @param { number } [ orderNo ] 排 序
2024-08-28 11:37:37 +08:00
* @param { string } [ rules ] 字 段 验 证 规 则
2024-08-29 01:35:40 +08:00
* @param { string } [ defaultValue ] 默 认 值
2024-08-28 11:37:37 +08:00
* @param { Array < VerifyRuleItem > } [ ruleItems ] 字 段 验 证 集 合
* @param { boolean } [ remoteVerify ] 是 否 远 程 验 证
* @param { boolean } [ anyRule ] 是 否 存 在 验 证 规 则
* @param { string } [ trigger ] 验 证 触 发 器
2024-06-15 13:02:35 +08:00
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
2025-03-01 12:02:59 +08:00
apiSysCodeGenConfigDetailGet : async ( id? : number , codeGenId? : number , columnName? : string , propertyName? : string , columnLength? : number , lowerPropertyName? : string , columnComment? : string , netType? : string , effectType? : string , fkConfigId? : string , fkEntityName? : string , fkTableName? : string , lowerFkEntityName? : string , fkColumnName? : string , fkLinkColumnName? : string , lowerFkColumnName? : string , fkColumnNetType? : string , dictTypeCode? : string , whetherRetract? : string , whetherRequired? : string , whetherSortable? : string , statistical? : string , isGroupBy? : string , queryWhether? : string , queryType? : string , whetherTable? : string , whetherAddUpdate? : string , columnKey? : string , dataType? : string , whetherCommon? : string , tableNickName? : string , displayColumn? : string , valueColumn? : string , pidColumn? : string , orderNo? : number , rules? : string , defaultValue? : string , ruleItems? : Array < VerifyRuleItem > , remoteVerify? : boolean , anyRule? : boolean , trigger? : string , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
2024-06-15 13:02:35 +08:00
const localVarPath = ` /api/sysCodeGenConfig/detail ` ;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL ( localVarPath , 'https://example.com' ) ;
let baseOptions ;
if ( configuration ) {
baseOptions = configuration . baseOptions ;
}
const localVarRequestOptions :AxiosRequestConfig = { method : 'GET' , . . . baseOptions , . . . options } ;
const localVarHeaderParameter = { } as any ;
const localVarQueryParameter = { } as any ;
// authentication Bearer required
// http bearer authentication required
if ( configuration && configuration . accessToken ) {
const accessToken = typeof configuration . accessToken === 'function'
? await configuration . accessToken ( )
: await configuration . accessToken ;
localVarHeaderParameter [ "Authorization" ] = "Bearer " + accessToken ;
}
if ( id !== undefined ) {
localVarQueryParameter [ 'Id' ] = id ;
}
if ( codeGenId !== undefined ) {
localVarQueryParameter [ 'CodeGenId' ] = codeGenId ;
}
if ( columnName !== undefined ) {
localVarQueryParameter [ 'ColumnName' ] = columnName ;
}
if ( propertyName !== undefined ) {
localVarQueryParameter [ 'PropertyName' ] = propertyName ;
}
if ( columnLength !== undefined ) {
localVarQueryParameter [ 'ColumnLength' ] = columnLength ;
}
if ( lowerPropertyName !== undefined ) {
localVarQueryParameter [ 'LowerPropertyName' ] = lowerPropertyName ;
}
if ( columnComment !== undefined ) {
localVarQueryParameter [ 'ColumnComment' ] = columnComment ;
}
if ( netType !== undefined ) {
localVarQueryParameter [ 'NetType' ] = netType ;
}
if ( effectType !== undefined ) {
localVarQueryParameter [ 'EffectType' ] = effectType ;
}
2024-08-04 01:22:55 +08:00
if ( fkConfigId !== undefined ) {
localVarQueryParameter [ 'FkConfigId' ] = fkConfigId ;
}
2024-06-15 13:02:35 +08:00
if ( fkEntityName !== undefined ) {
localVarQueryParameter [ 'FkEntityName' ] = fkEntityName ;
}
if ( fkTableName !== undefined ) {
localVarQueryParameter [ 'FkTableName' ] = fkTableName ;
}
if ( lowerFkEntityName !== undefined ) {
localVarQueryParameter [ 'LowerFkEntityName' ] = lowerFkEntityName ;
}
if ( fkColumnName !== undefined ) {
localVarQueryParameter [ 'FkColumnName' ] = fkColumnName ;
}
2024-07-24 01:44:43 +08:00
if ( fkLinkColumnName !== undefined ) {
localVarQueryParameter [ 'FkLinkColumnName' ] = fkLinkColumnName ;
}
2024-06-15 13:02:35 +08:00
if ( lowerFkColumnName !== undefined ) {
localVarQueryParameter [ 'LowerFkColumnName' ] = lowerFkColumnName ;
}
if ( fkColumnNetType !== undefined ) {
localVarQueryParameter [ 'FkColumnNetType' ] = fkColumnNetType ;
}
if ( dictTypeCode !== undefined ) {
localVarQueryParameter [ 'DictTypeCode' ] = dictTypeCode ;
}
if ( whetherRetract !== undefined ) {
localVarQueryParameter [ 'WhetherRetract' ] = whetherRetract ;
}
if ( whetherRequired !== undefined ) {
localVarQueryParameter [ 'WhetherRequired' ] = whetherRequired ;
}
if ( whetherSortable !== undefined ) {
localVarQueryParameter [ 'WhetherSortable' ] = whetherSortable ;
}
2025-01-23 13:11:06 +08:00
if ( statistical !== undefined ) {
localVarQueryParameter [ 'Statistical' ] = statistical ;
}
2025-03-01 12:02:59 +08:00
if ( isGroupBy !== undefined ) {
localVarQueryParameter [ 'IsGroupBy' ] = isGroupBy ;
}
2024-06-15 13:02:35 +08:00
if ( queryWhether !== undefined ) {
localVarQueryParameter [ 'QueryWhether' ] = queryWhether ;
}
if ( queryType !== undefined ) {
localVarQueryParameter [ 'QueryType' ] = queryType ;
}
if ( whetherTable !== undefined ) {
localVarQueryParameter [ 'WhetherTable' ] = whetherTable ;
}
if ( whetherAddUpdate !== undefined ) {
localVarQueryParameter [ 'WhetherAddUpdate' ] = whetherAddUpdate ;
}
if ( columnKey !== undefined ) {
localVarQueryParameter [ 'ColumnKey' ] = columnKey ;
}
if ( dataType !== undefined ) {
localVarQueryParameter [ 'DataType' ] = dataType ;
}
if ( whetherCommon !== undefined ) {
localVarQueryParameter [ 'WhetherCommon' ] = whetherCommon ;
}
if ( tableNickName !== undefined ) {
localVarQueryParameter [ 'TableNickName' ] = tableNickName ;
}
if ( displayColumn !== undefined ) {
localVarQueryParameter [ 'DisplayColumn' ] = displayColumn ;
}
if ( valueColumn !== undefined ) {
localVarQueryParameter [ 'ValueColumn' ] = valueColumn ;
}
if ( pidColumn !== undefined ) {
localVarQueryParameter [ 'PidColumn' ] = pidColumn ;
}
if ( orderNo !== undefined ) {
localVarQueryParameter [ 'OrderNo' ] = orderNo ;
}
2024-08-28 11:37:37 +08:00
if ( rules !== undefined ) {
localVarQueryParameter [ 'Rules' ] = rules ;
}
2024-08-29 01:35:40 +08:00
if ( defaultValue !== undefined ) {
localVarQueryParameter [ 'DefaultValue' ] = defaultValue ;
}
2024-08-28 11:37:37 +08:00
if ( ruleItems ) {
localVarQueryParameter [ 'RuleItems' ] = ruleItems ;
}
if ( remoteVerify !== undefined ) {
localVarQueryParameter [ 'RemoteVerify' ] = remoteVerify ;
}
if ( anyRule !== undefined ) {
localVarQueryParameter [ 'AnyRule' ] = anyRule ;
}
if ( trigger !== undefined ) {
localVarQueryParameter [ 'Trigger' ] = trigger ;
}
2024-06-15 13:02:35 +08:00
const query = new URLSearchParams ( localVarUrlObj . search ) ;
for ( const key in localVarQueryParameter ) {
query . set ( key , localVarQueryParameter [ key ] ) ;
}
for ( const key in options . params ) {
query . set ( key , options . params [ key ] ) ;
}
localVarUrlObj . search = ( new URLSearchParams ( query ) ) . toString ( ) ;
let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ;
localVarRequestOptions . headers = { . . . localVarHeaderParameter , . . . headersFromBaseOptions , . . . options . headers } ;
return {
url : localVarUrlObj.pathname + localVarUrlObj . search + localVarUrlObj . hash ,
options : localVarRequestOptions ,
} ;
} ,
2025-01-23 13:11:06 +08:00
/ * *
*
* @summary 获 取 库 表 信 息
* @param { boolean } excludeSysTable 是 否 排 除 带 SysTable属性的表
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
apiSysCodeGenConfigEntityInfosExcludeSysTableGet : async ( excludeSysTable : boolean , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
// verify required parameter 'excludeSysTable' is not null or undefined
if ( excludeSysTable === null || excludeSysTable === undefined ) {
throw new RequiredError ( 'excludeSysTable' , 'Required parameter excludeSysTable was null or undefined when calling apiSysCodeGenConfigEntityInfosExcludeSysTableGet.' ) ;
}
const localVarPath = ` /api/sysCodeGenConfig/entityInfos/{excludeSysTable} `
. replace ( ` { ${ "excludeSysTable" } } ` , encodeURIComponent ( String ( excludeSysTable ) ) ) ;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL ( localVarPath , 'https://example.com' ) ;
let baseOptions ;
if ( configuration ) {
baseOptions = configuration . baseOptions ;
}
const localVarRequestOptions :AxiosRequestConfig = { method : 'GET' , . . . baseOptions , . . . options } ;
const localVarHeaderParameter = { } as any ;
const localVarQueryParameter = { } as any ;
// authentication Bearer required
// http bearer authentication required
if ( configuration && configuration . accessToken ) {
const accessToken = typeof configuration . accessToken === 'function'
? await configuration . accessToken ( )
: await configuration . accessToken ;
localVarHeaderParameter [ "Authorization" ] = "Bearer " + accessToken ;
}
const query = new URLSearchParams ( localVarUrlObj . search ) ;
for ( const key in localVarQueryParameter ) {
query . set ( key , localVarQueryParameter [ key ] ) ;
}
for ( const key in options . params ) {
query . set ( key , options . params [ key ] ) ;
}
localVarUrlObj . search = ( new URLSearchParams ( query ) ) . toString ( ) ;
let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ;
localVarRequestOptions . headers = { . . . localVarHeaderParameter , . . . headersFromBaseOptions , . . . options . headers } ;
return {
url : localVarUrlObj.pathname + localVarUrlObj . search + localVarUrlObj . hash ,
options : localVarRequestOptions ,
} ;
} ,
2024-06-15 13:02:35 +08:00
/ * *
*
* @summary 获 取 代 码 生 成 配 置 列 表 🔖
* @param { number } [ id ] 主 键 Id
* @param { number } [ codeGenId ] 代 码 生 成 主 表 ID
* @param { string } [ columnName ] 数 据 库 字 段 名
* @param { string } [ propertyName ] 实 体 属 性 名
* @param { number } [ columnLength ] 字 段 数 据 长 度
* @param { string } [ lowerPropertyName ] 数 据 库 字 段 名 ( 首 字 母 小 写 )
* @param { string } [ columnComment ] 字 段 描 述
* @param { string } [ netType ] . NET类型
* @param { string } [ effectType ] 作 用 类 型 ( 字 典 )
2024-08-04 01:22:55 +08:00
* @param { string } [ fkConfigId ] 外 键 库 标 识
2024-06-15 13:02:35 +08:00
* @param { string } [ fkEntityName ] 外 键 实 体 名 称
* @param { string } [ fkTableName ] 外 键 表 名 称
* @param { string } [ lowerFkEntityName ] 外 键 实 体 名 称 ( 首 字 母 小 写 )
* @param { string } [ fkColumnName ] 外 键 显 示 字 段
2024-07-24 01:44:43 +08:00
* @param { string } [ fkLinkColumnName ] 外 键 链 接 字 段
2024-06-15 13:02:35 +08:00
* @param { string } [ lowerFkColumnName ] 外 键 显 示 字 段 ( 首 字 母 小 写 )
* @param { string } [ fkColumnNetType ] 外 键 显 示 字 段 . NET类型
* @param { string } [ dictTypeCode ] 字 典 code
* @param { string } [ whetherRetract ] 列 表 是 否 缩 进 ( 字 典 )
* @param { string } [ whetherRequired ] 是 否 必 填 ( 字 典 )
* @param { string } [ whetherSortable ] 是 否 可 排 序 ( 字 典 )
2025-01-23 13:11:06 +08:00
* @param { string } [ statistical ] 是 否 是 统 计 字 段
2025-03-01 12:02:59 +08:00
* @param { string } [ isGroupBy ] 是 否 是 GroupBy字段
2024-06-15 13:02:35 +08:00
* @param { string } [ queryWhether ] 是 否 是 查 询 条 件
* @param { string } [ queryType ] 查 询 方 式
* @param { string } [ whetherTable ] 列 表 显 示
* @param { string } [ whetherAddUpdate ] 增 改
* @param { string } [ columnKey ] 主 外 键
* @param { string } [ dataType ] 数 据 库 中 类 型 ( 物 理 类 型 )
* @param { string } [ whetherCommon ] 是 否 是 通 用 字 段
* @param { string } [ tableNickName ] 表 的 别 名 Table as XXX
* @param { string } [ displayColumn ] 显 示 文 本 字 段
* @param { string } [ valueColumn ] 选 中 值 字 段
* @param { string } [ pidColumn ] 父 级 字 段
* @param { number } [ orderNo ] 排 序
2024-08-28 11:37:37 +08:00
* @param { string } [ rules ] 字 段 验 证 规 则
2024-08-29 01:35:40 +08:00
* @param { string } [ defaultValue ] 默 认 值
2024-08-28 11:37:37 +08:00
* @param { Array < VerifyRuleItem > } [ ruleItems ] 字 段 验 证 集 合
* @param { boolean } [ remoteVerify ] 是 否 远 程 验 证
* @param { boolean } [ anyRule ] 是 否 存 在 验 证 规 则
* @param { string } [ trigger ] 验 证 触 发 器
2024-06-15 13:02:35 +08:00
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
2025-03-01 12:02:59 +08:00
apiSysCodeGenConfigListGet : async ( id? : number , codeGenId? : number , columnName? : string , propertyName? : string , columnLength? : number , lowerPropertyName? : string , columnComment? : string , netType? : string , effectType? : string , fkConfigId? : string , fkEntityName? : string , fkTableName? : string , lowerFkEntityName? : string , fkColumnName? : string , fkLinkColumnName? : string , lowerFkColumnName? : string , fkColumnNetType? : string , dictTypeCode? : string , whetherRetract? : string , whetherRequired? : string , whetherSortable? : string , statistical? : string , isGroupBy? : string , queryWhether? : string , queryType? : string , whetherTable? : string , whetherAddUpdate? : string , columnKey? : string , dataType? : string , whetherCommon? : string , tableNickName? : string , displayColumn? : string , valueColumn? : string , pidColumn? : string , orderNo? : number , rules? : string , defaultValue? : string , ruleItems? : Array < VerifyRuleItem > , remoteVerify? : boolean , anyRule? : boolean , trigger? : string , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
2024-06-15 13:02:35 +08:00
const localVarPath = ` /api/sysCodeGenConfig/list ` ;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL ( localVarPath , 'https://example.com' ) ;
let baseOptions ;
if ( configuration ) {
baseOptions = configuration . baseOptions ;
}
const localVarRequestOptions :AxiosRequestConfig = { method : 'GET' , . . . baseOptions , . . . options } ;
const localVarHeaderParameter = { } as any ;
const localVarQueryParameter = { } as any ;
// authentication Bearer required
// http bearer authentication required
if ( configuration && configuration . accessToken ) {
const accessToken = typeof configuration . accessToken === 'function'
? await configuration . accessToken ( )
: await configuration . accessToken ;
localVarHeaderParameter [ "Authorization" ] = "Bearer " + accessToken ;
}
if ( id !== undefined ) {
localVarQueryParameter [ 'Id' ] = id ;
}
if ( codeGenId !== undefined ) {
localVarQueryParameter [ 'CodeGenId' ] = codeGenId ;
}
if ( columnName !== undefined ) {
localVarQueryParameter [ 'ColumnName' ] = columnName ;
}
if ( propertyName !== undefined ) {
localVarQueryParameter [ 'PropertyName' ] = propertyName ;
}
if ( columnLength !== undefined ) {
localVarQueryParameter [ 'ColumnLength' ] = columnLength ;
}
if ( lowerPropertyName !== undefined ) {
localVarQueryParameter [ 'LowerPropertyName' ] = lowerPropertyName ;
}
if ( columnComment !== undefined ) {
localVarQueryParameter [ 'ColumnComment' ] = columnComment ;
}
if ( netType !== undefined ) {
localVarQueryParameter [ 'NetType' ] = netType ;
}
if ( effectType !== undefined ) {
localVarQueryParameter [ 'EffectType' ] = effectType ;
}
2024-08-04 01:22:55 +08:00
if ( fkConfigId !== undefined ) {
localVarQueryParameter [ 'FkConfigId' ] = fkConfigId ;
}
2024-06-15 13:02:35 +08:00
if ( fkEntityName !== undefined ) {
localVarQueryParameter [ 'FkEntityName' ] = fkEntityName ;
}
if ( fkTableName !== undefined ) {
localVarQueryParameter [ 'FkTableName' ] = fkTableName ;
}
if ( lowerFkEntityName !== undefined ) {
localVarQueryParameter [ 'LowerFkEntityName' ] = lowerFkEntityName ;
}
if ( fkColumnName !== undefined ) {
localVarQueryParameter [ 'FkColumnName' ] = fkColumnName ;
}
2024-07-24 01:44:43 +08:00
if ( fkLinkColumnName !== undefined ) {
localVarQueryParameter [ 'FkLinkColumnName' ] = fkLinkColumnName ;
}
2024-06-15 13:02:35 +08:00
if ( lowerFkColumnName !== undefined ) {
localVarQueryParameter [ 'LowerFkColumnName' ] = lowerFkColumnName ;
}
if ( fkColumnNetType !== undefined ) {
localVarQueryParameter [ 'FkColumnNetType' ] = fkColumnNetType ;
}
if ( dictTypeCode !== undefined ) {
localVarQueryParameter [ 'DictTypeCode' ] = dictTypeCode ;
}
if ( whetherRetract !== undefined ) {
localVarQueryParameter [ 'WhetherRetract' ] = whetherRetract ;
}
if ( whetherRequired !== undefined ) {
localVarQueryParameter [ 'WhetherRequired' ] = whetherRequired ;
}
if ( whetherSortable !== undefined ) {
localVarQueryParameter [ 'WhetherSortable' ] = whetherSortable ;
}
2025-01-23 13:11:06 +08:00
if ( statistical !== undefined ) {
localVarQueryParameter [ 'Statistical' ] = statistical ;
}
2025-03-01 12:02:59 +08:00
if ( isGroupBy !== undefined ) {
localVarQueryParameter [ 'IsGroupBy' ] = isGroupBy ;
}
2024-06-15 13:02:35 +08:00
if ( queryWhether !== undefined ) {
localVarQueryParameter [ 'QueryWhether' ] = queryWhether ;
}
if ( queryType !== undefined ) {
localVarQueryParameter [ 'QueryType' ] = queryType ;
}
if ( whetherTable !== undefined ) {
localVarQueryParameter [ 'WhetherTable' ] = whetherTable ;
}
if ( whetherAddUpdate !== undefined ) {
localVarQueryParameter [ 'WhetherAddUpdate' ] = whetherAddUpdate ;
}
if ( columnKey !== undefined ) {
localVarQueryParameter [ 'ColumnKey' ] = columnKey ;
}
if ( dataType !== undefined ) {
localVarQueryParameter [ 'DataType' ] = dataType ;
}
if ( whetherCommon !== undefined ) {
localVarQueryParameter [ 'WhetherCommon' ] = whetherCommon ;
}
if ( tableNickName !== undefined ) {
localVarQueryParameter [ 'TableNickName' ] = tableNickName ;
}
if ( displayColumn !== undefined ) {
localVarQueryParameter [ 'DisplayColumn' ] = displayColumn ;
}
if ( valueColumn !== undefined ) {
localVarQueryParameter [ 'ValueColumn' ] = valueColumn ;
}
if ( pidColumn !== undefined ) {
localVarQueryParameter [ 'PidColumn' ] = pidColumn ;
}
if ( orderNo !== undefined ) {
localVarQueryParameter [ 'OrderNo' ] = orderNo ;
}
2024-08-28 11:37:37 +08:00
if ( rules !== undefined ) {
localVarQueryParameter [ 'Rules' ] = rules ;
}
2024-08-29 01:35:40 +08:00
if ( defaultValue !== undefined ) {
localVarQueryParameter [ 'DefaultValue' ] = defaultValue ;
}
2024-08-28 11:37:37 +08:00
if ( ruleItems ) {
localVarQueryParameter [ 'RuleItems' ] = ruleItems ;
}
if ( remoteVerify !== undefined ) {
localVarQueryParameter [ 'RemoteVerify' ] = remoteVerify ;
}
if ( anyRule !== undefined ) {
localVarQueryParameter [ 'AnyRule' ] = anyRule ;
}
if ( trigger !== undefined ) {
localVarQueryParameter [ 'Trigger' ] = trigger ;
}
2024-06-15 13:02:35 +08:00
const query = new URLSearchParams ( localVarUrlObj . search ) ;
for ( const key in localVarQueryParameter ) {
query . set ( key , localVarQueryParameter [ key ] ) ;
}
for ( const key in options . params ) {
query . set ( key , options . params [ key ] ) ;
}
localVarUrlObj . search = ( new URLSearchParams ( query ) ) . toString ( ) ;
let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ;
localVarRequestOptions . headers = { . . . localVarHeaderParameter , . . . headersFromBaseOptions , . . . options . headers } ;
return {
url : localVarUrlObj.pathname + localVarUrlObj . search + localVarUrlObj . hash ,
options : localVarRequestOptions ,
} ;
} ,
/ * *
*
* @summary 更 新 代 码 生 成 配 置 🔖
* @param { Array < CodeGenConfig > } [ body ]
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
apiSysCodeGenConfigUpdatePost : async ( body? : Array < CodeGenConfig > , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
const localVarPath = ` /api/sysCodeGenConfig/update ` ;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL ( localVarPath , 'https://example.com' ) ;
let baseOptions ;
if ( configuration ) {
baseOptions = configuration . baseOptions ;
}
const localVarRequestOptions :AxiosRequestConfig = { method : 'POST' , . . . baseOptions , . . . options } ;
const localVarHeaderParameter = { } as any ;
const localVarQueryParameter = { } as any ;
// authentication Bearer required
// http bearer authentication required
if ( configuration && configuration . accessToken ) {
const accessToken = typeof configuration . accessToken === 'function'
? await configuration . accessToken ( )
: await configuration . accessToken ;
localVarHeaderParameter [ "Authorization" ] = "Bearer " + accessToken ;
}
localVarHeaderParameter [ 'Content-Type' ] = 'application/json-patch+json' ;
const query = new URLSearchParams ( localVarUrlObj . search ) ;
for ( const key in localVarQueryParameter ) {
query . set ( key , localVarQueryParameter [ key ] ) ;
}
for ( const key in options . params ) {
query . set ( key , options . params [ key ] ) ;
}
localVarUrlObj . search = ( new URLSearchParams ( query ) ) . toString ( ) ;
let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ;
localVarRequestOptions . headers = { . . . localVarHeaderParameter , . . . headersFromBaseOptions , . . . options . headers } ;
const needsSerialization = ( typeof body !== "string" ) || localVarRequestOptions . headers [ 'Content-Type' ] === 'application/json' ;
localVarRequestOptions . data = needsSerialization ? JSON . stringify ( body !== undefined ? body : { } ) : ( body || "" ) ;
return {
url : localVarUrlObj.pathname + localVarUrlObj . search + localVarUrlObj . hash ,
options : localVarRequestOptions ,
} ;
} ,
}
} ;
/ * *
* SysCodeGenConfigApi - functional programming interface
* @export
* /
export const SysCodeGenConfigApiFp = function ( configuration? : Configuration ) {
return {
2025-01-23 13:11:06 +08:00
/ * *
*
* @summary 获 取 数 据 表 列 ( 实 体 属 性 ) 集 合
* @param { string } entityName
* @param { string } configId
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
async apiSysCodeGenConfigColumnListEntityNameConfigIdGet ( entityName : string , configId : string , options? : AxiosRequestConfig ) : Promise < ( axios? : AxiosInstance , basePath? : string ) = > Promise < AxiosResponse < AdminNETResultListColumnOuput > >> {
const localVarAxiosArgs = await SysCodeGenConfigApiAxiosParamCreator ( configuration ) . apiSysCodeGenConfigColumnListEntityNameConfigIdGet ( entityName , configId , options ) ;
return ( axios : AxiosInstance = globalAxios , basePath : string = BASE_PATH ) = > {
const axiosRequestArgs :AxiosRequestConfig = { . . . localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ;
return axios . request ( axiosRequestArgs ) ;
} ;
} ,
/ * *
*
* @summary 获 取 数 据 表 列 ( 实 体 属 性 ) 集 合
* @param { string } tableName 数 据 库 表 名
* @param { string } busName 业 务 名 ( 业 务 代 码 包 名 称 )
* @param { string } nameSpace 命 名 空 间
* @param { string } authorName 作 者 姓 名
* @param { string } generateType 生 成 方 式
* @param { boolean } generateMenu 是 否 生 成 菜 单
* @param { boolean } [ isApiService ] 是 否 使 用 Api Service
* @param { Array < number > } [ codeGenTemplateIds ] 模 板 Id集合
* @param { string } [ leftTab ] 左 边 树 形 结 构 表
* @param { string } [ leftKey ] 左 边 关 联 字 段
* @param { string } [ leftPrimaryKey ] 左 边 关 联 主 表 字 段
* @param { string } [ leftName ] 左 边 树 Name
* @param { string } [ bottomTab ] 下 表 名 称
* @param { string } [ bottomKey ] 下 表 关 联 字 段
* @param { string } [ bottomPrimaryKey ] 下 表 关 联 主 表 字 段
* @param { string } [ template ] 模 板
* @param { string } [ className ] 类 名
* @param { string } [ tablePrefix ] 是 否 移 除 表 前 缀
* @param { string } [ configId ] 库 定 位 器 名
* @param { string } [ dbName ] 数 据 库 名 ( 保 留 字 段 )
* @param { string } [ dbType ] 数 据 库 类 型
* @param { string } [ connectionString ] 数 据 库 链 接
* @param { string } [ treeName ] 树 控 件 名 称
* @param { string } [ tableComment ] 功 能 名 ( 数 据 库 表 名 称 )
* @param { string } [ menuApplication ] 菜 单 应 用 分 类 ( 应 用 编 码 )
* @param { number } [ menuPid ] 菜 单 父 级
* @param { string } [ menuIcon ] 菜 单 图 标
* @param { string } [ pagePath ] 页 面 目 录
* @param { string } [ printType ] 支 持 打 印 类 型
* @param { string } [ printName ] 打 印 模 版 名 称
* @param { number } [ page ] 当 前 页 码
* @param { number } [ pageSize ] 页 码 容 量
* @param { string } [ field ] 排 序 字 段
* @param { string } [ order ] 排 序 方 向
* @param { string } [ descStr ] 降 序 排 序
* @param { Array < string > } [ searchFields ] 字 段 名 称 集 合
* @param { string } [ searchKeyword ] 关 键 字
* @param { string } [ keyword ] 模 糊 查 询 关 键 字
* @param { FilterLogicEnum } [ filterLogic ] 过 滤 条 件
* @param { Array < Filter > } [ filterFilters ] 筛 选 过 滤 条 件 子 项
* @param { string } [ filterField ] 字 段 名 称
* @param { FilterOperatorEnum } [ filterOperator ] 逻 辑 运 算 符
* @param { any } [ filterValue ] 字 段 值
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
async apiSysCodeGenConfigColumnListGet ( tableName : string , busName : string , nameSpace : string , authorName : string , generateType : string , generateMenu : boolean , isApiService? : boolean , codeGenTemplateIds? : Array < number > , leftTab? : string , leftKey? : string , leftPrimaryKey? : string , leftName? : string , bottomTab? : string , bottomKey? : string , bottomPrimaryKey? : string , template? : string , className? : string , tablePrefix? : string , configId? : string , dbName? : string , dbType? : string , connectionString? : string , treeName? : string , tableComment? : string , menuApplication? : string , menuPid? : number , menuIcon? : string , pagePath? : string , printType? : string , printName? : string , page? : number , pageSize? : number , field? : string , order? : string , descStr? : string , searchFields? : Array < string > , searchKeyword? : string , keyword? : string , filterLogic? : FilterLogicEnum , filterFilters? : Array < Filter > , filterField? : string , filterOperator? : FilterOperatorEnum , filterValue? : any , options? : AxiosRequestConfig ) : Promise < ( axios? : AxiosInstance , basePath? : string ) = > Promise < AxiosResponse < AdminNETResultListColumnOuput > >> {
const localVarAxiosArgs = await SysCodeGenConfigApiAxiosParamCreator ( configuration ) . apiSysCodeGenConfigColumnListGet ( tableName , busName , nameSpace , authorName , generateType , generateMenu , isApiService , codeGenTemplateIds , leftTab , leftKey , leftPrimaryKey , leftName , bottomTab , bottomKey , bottomPrimaryKey , template , className , tablePrefix , configId , dbName , dbType , connectionString , treeName , tableComment , menuApplication , menuPid , menuIcon , pagePath , printType , printName , page , pageSize , field , order , descStr , searchFields , searchKeyword , keyword , filterLogic , filterFilters , filterField , filterOperator , filterValue , options ) ;
return ( axios : AxiosInstance = globalAxios , basePath : string = BASE_PATH ) = > {
const axiosRequestArgs :AxiosRequestConfig = { . . . localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ;
return axios . request ( axiosRequestArgs ) ;
} ;
} ,
2024-06-15 13:02:35 +08:00
/ * *
*
* @summary 获 取 代 码 生 成 配 置 详 情 🔖
* @param { number } [ id ] 主 键 Id
* @param { number } [ codeGenId ] 代 码 生 成 主 表 ID
* @param { string } [ columnName ] 数 据 库 字 段 名
* @param { string } [ propertyName ] 实 体 属 性 名
* @param { number } [ columnLength ] 字 段 数 据 长 度
* @param { string } [ lowerPropertyName ] 数 据 库 字 段 名 ( 首 字 母 小 写 )
* @param { string } [ columnComment ] 字 段 描 述
* @param { string } [ netType ] . NET类型
* @param { string } [ effectType ] 作 用 类 型 ( 字 典 )
2024-08-04 01:22:55 +08:00
* @param { string } [ fkConfigId ] 外 键 库 标 识
2024-06-15 13:02:35 +08:00
* @param { string } [ fkEntityName ] 外 键 实 体 名 称
* @param { string } [ fkTableName ] 外 键 表 名 称
* @param { string } [ lowerFkEntityName ] 外 键 实 体 名 称 ( 首 字 母 小 写 )
* @param { string } [ fkColumnName ] 外 键 显 示 字 段
2024-07-24 01:44:43 +08:00
* @param { string } [ fkLinkColumnName ] 外 键 链 接 字 段
2024-06-15 13:02:35 +08:00
* @param { string } [ lowerFkColumnName ] 外 键 显 示 字 段 ( 首 字 母 小 写 )
* @param { string } [ fkColumnNetType ] 外 键 显 示 字 段 . NET类型
* @param { string } [ dictTypeCode ] 字 典 code
* @param { string } [ whetherRetract ] 列 表 是 否 缩 进 ( 字 典 )
* @param { string } [ whetherRequired ] 是 否 必 填 ( 字 典 )
* @param { string } [ whetherSortable ] 是 否 可 排 序 ( 字 典 )
2025-01-23 13:11:06 +08:00
* @param { string } [ statistical ] 是 否 是 统 计 字 段
2025-03-01 12:02:59 +08:00
* @param { string } [ isGroupBy ] 是 否 是 GroupBy字段
2024-06-15 13:02:35 +08:00
* @param { string } [ queryWhether ] 是 否 是 查 询 条 件
* @param { string } [ queryType ] 查 询 方 式
* @param { string } [ whetherTable ] 列 表 显 示
* @param { string } [ whetherAddUpdate ] 增 改
* @param { string } [ columnKey ] 主 外 键
* @param { string } [ dataType ] 数 据 库 中 类 型 ( 物 理 类 型 )
* @param { string } [ whetherCommon ] 是 否 是 通 用 字 段
* @param { string } [ tableNickName ] 表 的 别 名 Table as XXX
* @param { string } [ displayColumn ] 显 示 文 本 字 段
* @param { string } [ valueColumn ] 选 中 值 字 段
* @param { string } [ pidColumn ] 父 级 字 段
* @param { number } [ orderNo ] 排 序
2024-08-28 11:37:37 +08:00
* @param { string } [ rules ] 字 段 验 证 规 则
2024-08-29 01:35:40 +08:00
* @param { string } [ defaultValue ] 默 认 值
2024-08-28 11:37:37 +08:00
* @param { Array < VerifyRuleItem > } [ ruleItems ] 字 段 验 证 集 合
* @param { boolean } [ remoteVerify ] 是 否 远 程 验 证
* @param { boolean } [ anyRule ] 是 否 存 在 验 证 规 则
* @param { string } [ trigger ] 验 证 触 发 器
2024-06-15 13:02:35 +08:00
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
2025-03-01 12:02:59 +08:00
async apiSysCodeGenConfigDetailGet ( id? : number , codeGenId? : number , columnName? : string , propertyName? : string , columnLength? : number , lowerPropertyName? : string , columnComment? : string , netType? : string , effectType? : string , fkConfigId? : string , fkEntityName? : string , fkTableName? : string , lowerFkEntityName? : string , fkColumnName? : string , fkLinkColumnName? : string , lowerFkColumnName? : string , fkColumnNetType? : string , dictTypeCode? : string , whetherRetract? : string , whetherRequired? : string , whetherSortable? : string , statistical? : string , isGroupBy? : string , queryWhether? : string , queryType? : string , whetherTable? : string , whetherAddUpdate? : string , columnKey? : string , dataType? : string , whetherCommon? : string , tableNickName? : string , displayColumn? : string , valueColumn? : string , pidColumn? : string , orderNo? : number , rules? : string , defaultValue? : string , ruleItems? : Array < VerifyRuleItem > , remoteVerify? : boolean , anyRule? : boolean , trigger? : string , options? : AxiosRequestConfig ) : Promise < ( axios? : AxiosInstance , basePath? : string ) = > Promise < AxiosResponse < AdminNETResultSysCodeGenConfig > >> {
const localVarAxiosArgs = await SysCodeGenConfigApiAxiosParamCreator ( configuration ) . apiSysCodeGenConfigDetailGet ( id , codeGenId , columnName , propertyName , columnLength , lowerPropertyName , columnComment , netType , effectType , fkConfigId , fkEntityName , fkTableName , lowerFkEntityName , fkColumnName , fkLinkColumnName , lowerFkColumnName , fkColumnNetType , dictTypeCode , whetherRetract , whetherRequired , whetherSortable , statistical , isGroupBy , queryWhether , queryType , whetherTable , whetherAddUpdate , columnKey , dataType , whetherCommon , tableNickName , displayColumn , valueColumn , pidColumn , orderNo , rules , defaultValue , ruleItems , remoteVerify , anyRule , trigger , options ) ;
2025-01-23 13:11:06 +08:00
return ( axios : AxiosInstance = globalAxios , basePath : string = BASE_PATH ) = > {
const axiosRequestArgs :AxiosRequestConfig = { . . . localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ;
return axios . request ( axiosRequestArgs ) ;
} ;
} ,
/ * *
*
* @summary 获 取 库 表 信 息
* @param { boolean } excludeSysTable 是 否 排 除 带 SysTable属性的表
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
async apiSysCodeGenConfigEntityInfosExcludeSysTableGet ( excludeSysTable : boolean , options? : AxiosRequestConfig ) : Promise < ( axios? : AxiosInstance , basePath? : string ) = > Promise < AxiosResponse < AdminNETResultIEnumerableEntityInfo > >> {
const localVarAxiosArgs = await SysCodeGenConfigApiAxiosParamCreator ( configuration ) . apiSysCodeGenConfigEntityInfosExcludeSysTableGet ( excludeSysTable , options ) ;
2024-06-15 13:02:35 +08:00
return ( axios : AxiosInstance = globalAxios , basePath : string = BASE_PATH ) = > {
const axiosRequestArgs :AxiosRequestConfig = { . . . localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ;
return axios . request ( axiosRequestArgs ) ;
} ;
} ,
/ * *
*
* @summary 获 取 代 码 生 成 配 置 列 表 🔖
* @param { number } [ id ] 主 键 Id
* @param { number } [ codeGenId ] 代 码 生 成 主 表 ID
* @param { string } [ columnName ] 数 据 库 字 段 名
* @param { string } [ propertyName ] 实 体 属 性 名
* @param { number } [ columnLength ] 字 段 数 据 长 度
* @param { string } [ lowerPropertyName ] 数 据 库 字 段 名 ( 首 字 母 小 写 )
* @param { string } [ columnComment ] 字 段 描 述
* @param { string } [ netType ] . NET类型
* @param { string } [ effectType ] 作 用 类 型 ( 字 典 )
2024-08-04 01:22:55 +08:00
* @param { string } [ fkConfigId ] 外 键 库 标 识
2024-06-15 13:02:35 +08:00
* @param { string } [ fkEntityName ] 外 键 实 体 名 称
* @param { string } [ fkTableName ] 外 键 表 名 称
* @param { string } [ lowerFkEntityName ] 外 键 实 体 名 称 ( 首 字 母 小 写 )
* @param { string } [ fkColumnName ] 外 键 显 示 字 段
2024-07-24 01:44:43 +08:00
* @param { string } [ fkLinkColumnName ] 外 键 链 接 字 段
2024-06-15 13:02:35 +08:00
* @param { string } [ lowerFkColumnName ] 外 键 显 示 字 段 ( 首 字 母 小 写 )
* @param { string } [ fkColumnNetType ] 外 键 显 示 字 段 . NET类型
* @param { string } [ dictTypeCode ] 字 典 code
* @param { string } [ whetherRetract ] 列 表 是 否 缩 进 ( 字 典 )
* @param { string } [ whetherRequired ] 是 否 必 填 ( 字 典 )
* @param { string } [ whetherSortable ] 是 否 可 排 序 ( 字 典 )
2025-01-23 13:11:06 +08:00
* @param { string } [ statistical ] 是 否 是 统 计 字 段
2025-03-01 12:02:59 +08:00
* @param { string } [ isGroupBy ] 是 否 是 GroupBy字段
2024-06-15 13:02:35 +08:00
* @param { string } [ queryWhether ] 是 否 是 查 询 条 件
* @param { string } [ queryType ] 查 询 方 式
* @param { string } [ whetherTable ] 列 表 显 示
* @param { string } [ whetherAddUpdate ] 增 改
* @param { string } [ columnKey ] 主 外 键
* @param { string } [ dataType ] 数 据 库 中 类 型 ( 物 理 类 型 )
* @param { string } [ whetherCommon ] 是 否 是 通 用 字 段
* @param { string } [ tableNickName ] 表 的 别 名 Table as XXX
* @param { string } [ displayColumn ] 显 示 文 本 字 段
* @param { string } [ valueColumn ] 选 中 值 字 段
* @param { string } [ pidColumn ] 父 级 字 段
* @param { number } [ orderNo ] 排 序
2024-08-28 11:37:37 +08:00
* @param { string } [ rules ] 字 段 验 证 规 则
2024-08-29 01:35:40 +08:00
* @param { string } [ defaultValue ] 默 认 值
2024-08-28 11:37:37 +08:00
* @param { Array < VerifyRuleItem > } [ ruleItems ] 字 段 验 证 集 合
* @param { boolean } [ remoteVerify ] 是 否 远 程 验 证
* @param { boolean } [ anyRule ] 是 否 存 在 验 证 规 则
* @param { string } [ trigger ] 验 证 触 发 器
2024-06-15 13:02:35 +08:00
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
2025-03-01 12:02:59 +08:00
async apiSysCodeGenConfigListGet ( id? : number , codeGenId? : number , columnName? : string , propertyName? : string , columnLength? : number , lowerPropertyName? : string , columnComment? : string , netType? : string , effectType? : string , fkConfigId? : string , fkEntityName? : string , fkTableName? : string , lowerFkEntityName? : string , fkColumnName? : string , fkLinkColumnName? : string , lowerFkColumnName? : string , fkColumnNetType? : string , dictTypeCode? : string , whetherRetract? : string , whetherRequired? : string , whetherSortable? : string , statistical? : string , isGroupBy? : string , queryWhether? : string , queryType? : string , whetherTable? : string , whetherAddUpdate? : string , columnKey? : string , dataType? : string , whetherCommon? : string , tableNickName? : string , displayColumn? : string , valueColumn? : string , pidColumn? : string , orderNo? : number , rules? : string , defaultValue? : string , ruleItems? : Array < VerifyRuleItem > , remoteVerify? : boolean , anyRule? : boolean , trigger? : string , options? : AxiosRequestConfig ) : Promise < ( axios? : AxiosInstance , basePath? : string ) = > Promise < AxiosResponse < AdminNETResultListCodeGenConfig > >> {
const localVarAxiosArgs = await SysCodeGenConfigApiAxiosParamCreator ( configuration ) . apiSysCodeGenConfigListGet ( id , codeGenId , columnName , propertyName , columnLength , lowerPropertyName , columnComment , netType , effectType , fkConfigId , fkEntityName , fkTableName , lowerFkEntityName , fkColumnName , fkLinkColumnName , lowerFkColumnName , fkColumnNetType , dictTypeCode , whetherRetract , whetherRequired , whetherSortable , statistical , isGroupBy , queryWhether , queryType , whetherTable , whetherAddUpdate , columnKey , dataType , whetherCommon , tableNickName , displayColumn , valueColumn , pidColumn , orderNo , rules , defaultValue , ruleItems , remoteVerify , anyRule , trigger , options ) ;
2024-06-15 13:02:35 +08:00
return ( axios : AxiosInstance = globalAxios , basePath : string = BASE_PATH ) = > {
const axiosRequestArgs :AxiosRequestConfig = { . . . localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ;
return axios . request ( axiosRequestArgs ) ;
} ;
} ,
/ * *
*
* @summary 更 新 代 码 生 成 配 置 🔖
* @param { Array < CodeGenConfig > } [ body ]
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
async apiSysCodeGenConfigUpdatePost ( body? : Array < CodeGenConfig > , options? : AxiosRequestConfig ) : Promise < ( axios? : AxiosInstance , basePath? : string ) = > Promise < AxiosResponse < void > >> {
const localVarAxiosArgs = await SysCodeGenConfigApiAxiosParamCreator ( configuration ) . apiSysCodeGenConfigUpdatePost ( body , options ) ;
return ( axios : AxiosInstance = globalAxios , basePath : string = BASE_PATH ) = > {
const axiosRequestArgs :AxiosRequestConfig = { . . . localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ;
return axios . request ( axiosRequestArgs ) ;
} ;
} ,
}
} ;
/ * *
* SysCodeGenConfigApi - factory interface
* @export
* /
export const SysCodeGenConfigApiFactory = function ( configuration? : Configuration , basePath? : string , axios? : AxiosInstance ) {
return {
2025-01-23 13:11:06 +08:00
/ * *
*
* @summary 获 取 数 据 表 列 ( 实 体 属 性 ) 集 合
* @param { string } entityName
* @param { string } configId
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
async apiSysCodeGenConfigColumnListEntityNameConfigIdGet ( entityName : string , configId : string , options? : AxiosRequestConfig ) : Promise < AxiosResponse < AdminNETResultListColumnOuput > > {
return SysCodeGenConfigApiFp ( configuration ) . apiSysCodeGenConfigColumnListEntityNameConfigIdGet ( entityName , configId , options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
} ,
/ * *
*
* @summary 获 取 数 据 表 列 ( 实 体 属 性 ) 集 合
* @param { string } tableName 数 据 库 表 名
* @param { string } busName 业 务 名 ( 业 务 代 码 包 名 称 )
* @param { string } nameSpace 命 名 空 间
* @param { string } authorName 作 者 姓 名
* @param { string } generateType 生 成 方 式
* @param { boolean } generateMenu 是 否 生 成 菜 单
* @param { boolean } [ isApiService ] 是 否 使 用 Api Service
* @param { Array < number > } [ codeGenTemplateIds ] 模 板 Id集合
* @param { string } [ leftTab ] 左 边 树 形 结 构 表
* @param { string } [ leftKey ] 左 边 关 联 字 段
* @param { string } [ leftPrimaryKey ] 左 边 关 联 主 表 字 段
* @param { string } [ leftName ] 左 边 树 Name
* @param { string } [ bottomTab ] 下 表 名 称
* @param { string } [ bottomKey ] 下 表 关 联 字 段
* @param { string } [ bottomPrimaryKey ] 下 表 关 联 主 表 字 段
* @param { string } [ template ] 模 板
* @param { string } [ className ] 类 名
* @param { string } [ tablePrefix ] 是 否 移 除 表 前 缀
* @param { string } [ configId ] 库 定 位 器 名
* @param { string } [ dbName ] 数 据 库 名 ( 保 留 字 段 )
* @param { string } [ dbType ] 数 据 库 类 型
* @param { string } [ connectionString ] 数 据 库 链 接
* @param { string } [ treeName ] 树 控 件 名 称
* @param { string } [ tableComment ] 功 能 名 ( 数 据 库 表 名 称 )
* @param { string } [ menuApplication ] 菜 单 应 用 分 类 ( 应 用 编 码 )
* @param { number } [ menuPid ] 菜 单 父 级
* @param { string } [ menuIcon ] 菜 单 图 标
* @param { string } [ pagePath ] 页 面 目 录
* @param { string } [ printType ] 支 持 打 印 类 型
* @param { string } [ printName ] 打 印 模 版 名 称
* @param { number } [ page ] 当 前 页 码
* @param { number } [ pageSize ] 页 码 容 量
* @param { string } [ field ] 排 序 字 段
* @param { string } [ order ] 排 序 方 向
* @param { string } [ descStr ] 降 序 排 序
* @param { Array < string > } [ searchFields ] 字 段 名 称 集 合
* @param { string } [ searchKeyword ] 关 键 字
* @param { string } [ keyword ] 模 糊 查 询 关 键 字
* @param { FilterLogicEnum } [ filterLogic ] 过 滤 条 件
* @param { Array < Filter > } [ filterFilters ] 筛 选 过 滤 条 件 子 项
* @param { string } [ filterField ] 字 段 名 称
* @param { FilterOperatorEnum } [ filterOperator ] 逻 辑 运 算 符
* @param { any } [ filterValue ] 字 段 值
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
async apiSysCodeGenConfigColumnListGet ( tableName : string , busName : string , nameSpace : string , authorName : string , generateType : string , generateMenu : boolean , isApiService? : boolean , codeGenTemplateIds? : Array < number > , leftTab? : string , leftKey? : string , leftPrimaryKey? : string , leftName? : string , bottomTab? : string , bottomKey? : string , bottomPrimaryKey? : string , template? : string , className? : string , tablePrefix? : string , configId? : string , dbName? : string , dbType? : string , connectionString? : string , treeName? : string , tableComment? : string , menuApplication? : string , menuPid? : number , menuIcon? : string , pagePath? : string , printType? : string , printName? : string , page? : number , pageSize? : number , field? : string , order? : string , descStr? : string , searchFields? : Array < string > , searchKeyword? : string , keyword? : string , filterLogic? : FilterLogicEnum , filterFilters? : Array < Filter > , filterField? : string , filterOperator? : FilterOperatorEnum , filterValue? : any , options? : AxiosRequestConfig ) : Promise < AxiosResponse < AdminNETResultListColumnOuput > > {
return SysCodeGenConfigApiFp ( configuration ) . apiSysCodeGenConfigColumnListGet ( tableName , busName , nameSpace , authorName , generateType , generateMenu , isApiService , codeGenTemplateIds , leftTab , leftKey , leftPrimaryKey , leftName , bottomTab , bottomKey , bottomPrimaryKey , template , className , tablePrefix , configId , dbName , dbType , connectionString , treeName , tableComment , menuApplication , menuPid , menuIcon , pagePath , printType , printName , page , pageSize , field , order , descStr , searchFields , searchKeyword , keyword , filterLogic , filterFilters , filterField , filterOperator , filterValue , options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
} ,
2024-06-15 13:02:35 +08:00
/ * *
*
* @summary 获 取 代 码 生 成 配 置 详 情 🔖
* @param { number } [ id ] 主 键 Id
* @param { number } [ codeGenId ] 代 码 生 成 主 表 ID
* @param { string } [ columnName ] 数 据 库 字 段 名
* @param { string } [ propertyName ] 实 体 属 性 名
* @param { number } [ columnLength ] 字 段 数 据 长 度
* @param { string } [ lowerPropertyName ] 数 据 库 字 段 名 ( 首 字 母 小 写 )
* @param { string } [ columnComment ] 字 段 描 述
* @param { string } [ netType ] . NET类型
* @param { string } [ effectType ] 作 用 类 型 ( 字 典 )
2024-08-04 01:22:55 +08:00
* @param { string } [ fkConfigId ] 外 键 库 标 识
2024-06-15 13:02:35 +08:00
* @param { string } [ fkEntityName ] 外 键 实 体 名 称
* @param { string } [ fkTableName ] 外 键 表 名 称
* @param { string } [ lowerFkEntityName ] 外 键 实 体 名 称 ( 首 字 母 小 写 )
* @param { string } [ fkColumnName ] 外 键 显 示 字 段
2024-07-24 01:44:43 +08:00
* @param { string } [ fkLinkColumnName ] 外 键 链 接 字 段
2024-06-15 13:02:35 +08:00
* @param { string } [ lowerFkColumnName ] 外 键 显 示 字 段 ( 首 字 母 小 写 )
* @param { string } [ fkColumnNetType ] 外 键 显 示 字 段 . NET类型
* @param { string } [ dictTypeCode ] 字 典 code
* @param { string } [ whetherRetract ] 列 表 是 否 缩 进 ( 字 典 )
* @param { string } [ whetherRequired ] 是 否 必 填 ( 字 典 )
* @param { string } [ whetherSortable ] 是 否 可 排 序 ( 字 典 )
2025-01-23 13:11:06 +08:00
* @param { string } [ statistical ] 是 否 是 统 计 字 段
2025-03-01 12:02:59 +08:00
* @param { string } [ isGroupBy ] 是 否 是 GroupBy字段
2024-06-15 13:02:35 +08:00
* @param { string } [ queryWhether ] 是 否 是 查 询 条 件
* @param { string } [ queryType ] 查 询 方 式
* @param { string } [ whetherTable ] 列 表 显 示
* @param { string } [ whetherAddUpdate ] 增 改
* @param { string } [ columnKey ] 主 外 键
* @param { string } [ dataType ] 数 据 库 中 类 型 ( 物 理 类 型 )
* @param { string } [ whetherCommon ] 是 否 是 通 用 字 段
* @param { string } [ tableNickName ] 表 的 别 名 Table as XXX
* @param { string } [ displayColumn ] 显 示 文 本 字 段
* @param { string } [ valueColumn ] 选 中 值 字 段
* @param { string } [ pidColumn ] 父 级 字 段
* @param { number } [ orderNo ] 排 序
2024-08-28 11:37:37 +08:00
* @param { string } [ rules ] 字 段 验 证 规 则
2024-08-29 01:35:40 +08:00
* @param { string } [ defaultValue ] 默 认 值
2024-08-28 11:37:37 +08:00
* @param { Array < VerifyRuleItem > } [ ruleItems ] 字 段 验 证 集 合
* @param { boolean } [ remoteVerify ] 是 否 远 程 验 证
* @param { boolean } [ anyRule ] 是 否 存 在 验 证 规 则
* @param { string } [ trigger ] 验 证 触 发 器
2024-06-15 13:02:35 +08:00
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
2025-03-01 12:02:59 +08:00
async apiSysCodeGenConfigDetailGet ( id? : number , codeGenId? : number , columnName? : string , propertyName? : string , columnLength? : number , lowerPropertyName? : string , columnComment? : string , netType? : string , effectType? : string , fkConfigId? : string , fkEntityName? : string , fkTableName? : string , lowerFkEntityName? : string , fkColumnName? : string , fkLinkColumnName? : string , lowerFkColumnName? : string , fkColumnNetType? : string , dictTypeCode? : string , whetherRetract? : string , whetherRequired? : string , whetherSortable? : string , statistical? : string , isGroupBy? : string , queryWhether? : string , queryType? : string , whetherTable? : string , whetherAddUpdate? : string , columnKey? : string , dataType? : string , whetherCommon? : string , tableNickName? : string , displayColumn? : string , valueColumn? : string , pidColumn? : string , orderNo? : number , rules? : string , defaultValue? : string , ruleItems? : Array < VerifyRuleItem > , remoteVerify? : boolean , anyRule? : boolean , trigger? : string , options? : AxiosRequestConfig ) : Promise < AxiosResponse < AdminNETResultSysCodeGenConfig > > {
return SysCodeGenConfigApiFp ( configuration ) . apiSysCodeGenConfigDetailGet ( id , codeGenId , columnName , propertyName , columnLength , lowerPropertyName , columnComment , netType , effectType , fkConfigId , fkEntityName , fkTableName , lowerFkEntityName , fkColumnName , fkLinkColumnName , lowerFkColumnName , fkColumnNetType , dictTypeCode , whetherRetract , whetherRequired , whetherSortable , statistical , isGroupBy , queryWhether , queryType , whetherTable , whetherAddUpdate , columnKey , dataType , whetherCommon , tableNickName , displayColumn , valueColumn , pidColumn , orderNo , rules , defaultValue , ruleItems , remoteVerify , anyRule , trigger , options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
2025-01-23 13:11:06 +08:00
} ,
/ * *
*
* @summary 获 取 库 表 信 息
* @param { boolean } excludeSysTable 是 否 排 除 带 SysTable属性的表
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
async apiSysCodeGenConfigEntityInfosExcludeSysTableGet ( excludeSysTable : boolean , options? : AxiosRequestConfig ) : Promise < AxiosResponse < AdminNETResultIEnumerableEntityInfo > > {
return SysCodeGenConfigApiFp ( configuration ) . apiSysCodeGenConfigEntityInfosExcludeSysTableGet ( excludeSysTable , options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
2024-06-15 13:02:35 +08:00
} ,
/ * *
*
* @summary 获 取 代 码 生 成 配 置 列 表 🔖
* @param { number } [ id ] 主 键 Id
* @param { number } [ codeGenId ] 代 码 生 成 主 表 ID
* @param { string } [ columnName ] 数 据 库 字 段 名
* @param { string } [ propertyName ] 实 体 属 性 名
* @param { number } [ columnLength ] 字 段 数 据 长 度
* @param { string } [ lowerPropertyName ] 数 据 库 字 段 名 ( 首 字 母 小 写 )
* @param { string } [ columnComment ] 字 段 描 述
* @param { string } [ netType ] . NET类型
* @param { string } [ effectType ] 作 用 类 型 ( 字 典 )
2024-08-04 01:22:55 +08:00
* @param { string } [ fkConfigId ] 外 键 库 标 识
2024-06-15 13:02:35 +08:00
* @param { string } [ fkEntityName ] 外 键 实 体 名 称
* @param { string } [ fkTableName ] 外 键 表 名 称
* @param { string } [ lowerFkEntityName ] 外 键 实 体 名 称 ( 首 字 母 小 写 )
* @param { string } [ fkColumnName ] 外 键 显 示 字 段
2024-07-24 01:44:43 +08:00
* @param { string } [ fkLinkColumnName ] 外 键 链 接 字 段
2024-06-15 13:02:35 +08:00
* @param { string } [ lowerFkColumnName ] 外 键 显 示 字 段 ( 首 字 母 小 写 )
* @param { string } [ fkColumnNetType ] 外 键 显 示 字 段 . NET类型
* @param { string } [ dictTypeCode ] 字 典 code
* @param { string } [ whetherRetract ] 列 表 是 否 缩 进 ( 字 典 )
* @param { string } [ whetherRequired ] 是 否 必 填 ( 字 典 )
* @param { string } [ whetherSortable ] 是 否 可 排 序 ( 字 典 )
2025-01-23 13:11:06 +08:00
* @param { string } [ statistical ] 是 否 是 统 计 字 段
2025-03-01 12:02:59 +08:00
* @param { string } [ isGroupBy ] 是 否 是 GroupBy字段
2024-06-15 13:02:35 +08:00
* @param { string } [ queryWhether ] 是 否 是 查 询 条 件
* @param { string } [ queryType ] 查 询 方 式
* @param { string } [ whetherTable ] 列 表 显 示
* @param { string } [ whetherAddUpdate ] 增 改
* @param { string } [ columnKey ] 主 外 键
* @param { string } [ dataType ] 数 据 库 中 类 型 ( 物 理 类 型 )
* @param { string } [ whetherCommon ] 是 否 是 通 用 字 段
* @param { string } [ tableNickName ] 表 的 别 名 Table as XXX
* @param { string } [ displayColumn ] 显 示 文 本 字 段
* @param { string } [ valueColumn ] 选 中 值 字 段
* @param { string } [ pidColumn ] 父 级 字 段
* @param { number } [ orderNo ] 排 序
2024-08-28 11:37:37 +08:00
* @param { string } [ rules ] 字 段 验 证 规 则
2024-08-29 01:35:40 +08:00
* @param { string } [ defaultValue ] 默 认 值
2024-08-28 11:37:37 +08:00
* @param { Array < VerifyRuleItem > } [ ruleItems ] 字 段 验 证 集 合
* @param { boolean } [ remoteVerify ] 是 否 远 程 验 证
* @param { boolean } [ anyRule ] 是 否 存 在 验 证 规 则
* @param { string } [ trigger ] 验 证 触 发 器
2024-06-15 13:02:35 +08:00
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
2025-03-01 12:02:59 +08:00
async apiSysCodeGenConfigListGet ( id? : number , codeGenId? : number , columnName? : string , propertyName? : string , columnLength? : number , lowerPropertyName? : string , columnComment? : string , netType? : string , effectType? : string , fkConfigId? : string , fkEntityName? : string , fkTableName? : string , lowerFkEntityName? : string , fkColumnName? : string , fkLinkColumnName? : string , lowerFkColumnName? : string , fkColumnNetType? : string , dictTypeCode? : string , whetherRetract? : string , whetherRequired? : string , whetherSortable? : string , statistical? : string , isGroupBy? : string , queryWhether? : string , queryType? : string , whetherTable? : string , whetherAddUpdate? : string , columnKey? : string , dataType? : string , whetherCommon? : string , tableNickName? : string , displayColumn? : string , valueColumn? : string , pidColumn? : string , orderNo? : number , rules? : string , defaultValue? : string , ruleItems? : Array < VerifyRuleItem > , remoteVerify? : boolean , anyRule? : boolean , trigger? : string , options? : AxiosRequestConfig ) : Promise < AxiosResponse < AdminNETResultListCodeGenConfig > > {
return SysCodeGenConfigApiFp ( configuration ) . apiSysCodeGenConfigListGet ( id , codeGenId , columnName , propertyName , columnLength , lowerPropertyName , columnComment , netType , effectType , fkConfigId , fkEntityName , fkTableName , lowerFkEntityName , fkColumnName , fkLinkColumnName , lowerFkColumnName , fkColumnNetType , dictTypeCode , whetherRetract , whetherRequired , whetherSortable , statistical , isGroupBy , queryWhether , queryType , whetherTable , whetherAddUpdate , columnKey , dataType , whetherCommon , tableNickName , displayColumn , valueColumn , pidColumn , orderNo , rules , defaultValue , ruleItems , remoteVerify , anyRule , trigger , options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
2024-06-15 13:02:35 +08:00
} ,
/ * *
*
* @summary 更 新 代 码 生 成 配 置 🔖
* @param { Array < CodeGenConfig > } [ body ]
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
async apiSysCodeGenConfigUpdatePost ( body? : Array < CodeGenConfig > , options? : AxiosRequestConfig ) : Promise < AxiosResponse < void > > {
return SysCodeGenConfigApiFp ( configuration ) . apiSysCodeGenConfigUpdatePost ( body , options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
} ,
} ;
} ;
/ * *
* SysCodeGenConfigApi - object - oriented interface
* @export
* @class SysCodeGenConfigApi
* @extends { BaseAPI }
* /
export class SysCodeGenConfigApi extends BaseAPI {
2025-01-23 13:11:06 +08:00
/ * *
*
* @summary 获 取 数 据 表 列 ( 实 体 属 性 ) 集 合
* @param { string } entityName
* @param { string } configId
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* @memberof SysCodeGenConfigApi
* /
public async apiSysCodeGenConfigColumnListEntityNameConfigIdGet ( entityName : string , configId : string , options? : AxiosRequestConfig ) : Promise < AxiosResponse < AdminNETResultListColumnOuput > > {
return SysCodeGenConfigApiFp ( this . configuration ) . apiSysCodeGenConfigColumnListEntityNameConfigIdGet ( entityName , configId , options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
}
/ * *
*
* @summary 获 取 数 据 表 列 ( 实 体 属 性 ) 集 合
* @param { string } tableName 数 据 库 表 名
* @param { string } busName 业 务 名 ( 业 务 代 码 包 名 称 )
* @param { string } nameSpace 命 名 空 间
* @param { string } authorName 作 者 姓 名
* @param { string } generateType 生 成 方 式
* @param { boolean } generateMenu 是 否 生 成 菜 单
* @param { boolean } [ isApiService ] 是 否 使 用 Api Service
* @param { Array < number > } [ codeGenTemplateIds ] 模 板 Id集合
* @param { string } [ leftTab ] 左 边 树 形 结 构 表
* @param { string } [ leftKey ] 左 边 关 联 字 段
* @param { string } [ leftPrimaryKey ] 左 边 关 联 主 表 字 段
* @param { string } [ leftName ] 左 边 树 Name
* @param { string } [ bottomTab ] 下 表 名 称
* @param { string } [ bottomKey ] 下 表 关 联 字 段
* @param { string } [ bottomPrimaryKey ] 下 表 关 联 主 表 字 段
* @param { string } [ template ] 模 板
* @param { string } [ className ] 类 名
* @param { string } [ tablePrefix ] 是 否 移 除 表 前 缀
* @param { string } [ configId ] 库 定 位 器 名
* @param { string } [ dbName ] 数 据 库 名 ( 保 留 字 段 )
* @param { string } [ dbType ] 数 据 库 类 型
* @param { string } [ connectionString ] 数 据 库 链 接
* @param { string } [ treeName ] 树 控 件 名 称
* @param { string } [ tableComment ] 功 能 名 ( 数 据 库 表 名 称 )
* @param { string } [ menuApplication ] 菜 单 应 用 分 类 ( 应 用 编 码 )
* @param { number } [ menuPid ] 菜 单 父 级
* @param { string } [ menuIcon ] 菜 单 图 标
* @param { string } [ pagePath ] 页 面 目 录
* @param { string } [ printType ] 支 持 打 印 类 型
* @param { string } [ printName ] 打 印 模 版 名 称
* @param { number } [ page ] 当 前 页 码
* @param { number } [ pageSize ] 页 码 容 量
* @param { string } [ field ] 排 序 字 段
* @param { string } [ order ] 排 序 方 向
* @param { string } [ descStr ] 降 序 排 序
* @param { Array < string > } [ searchFields ] 字 段 名 称 集 合
* @param { string } [ searchKeyword ] 关 键 字
* @param { string } [ keyword ] 模 糊 查 询 关 键 字
* @param { FilterLogicEnum } [ filterLogic ] 过 滤 条 件
* @param { Array < Filter > } [ filterFilters ] 筛 选 过 滤 条 件 子 项
* @param { string } [ filterField ] 字 段 名 称
* @param { FilterOperatorEnum } [ filterOperator ] 逻 辑 运 算 符
* @param { any } [ filterValue ] 字 段 值
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* @memberof SysCodeGenConfigApi
* /
public async apiSysCodeGenConfigColumnListGet ( tableName : string , busName : string , nameSpace : string , authorName : string , generateType : string , generateMenu : boolean , isApiService? : boolean , codeGenTemplateIds? : Array < number > , leftTab? : string , leftKey? : string , leftPrimaryKey? : string , leftName? : string , bottomTab? : string , bottomKey? : string , bottomPrimaryKey? : string , template? : string , className? : string , tablePrefix? : string , configId? : string , dbName? : string , dbType? : string , connectionString? : string , treeName? : string , tableComment? : string , menuApplication? : string , menuPid? : number , menuIcon? : string , pagePath? : string , printType? : string , printName? : string , page? : number , pageSize? : number , field? : string , order? : string , descStr? : string , searchFields? : Array < string > , searchKeyword? : string , keyword? : string , filterLogic? : FilterLogicEnum , filterFilters? : Array < Filter > , filterField? : string , filterOperator? : FilterOperatorEnum , filterValue? : any , options? : AxiosRequestConfig ) : Promise < AxiosResponse < AdminNETResultListColumnOuput > > {
return SysCodeGenConfigApiFp ( this . configuration ) . apiSysCodeGenConfigColumnListGet ( tableName , busName , nameSpace , authorName , generateType , generateMenu , isApiService , codeGenTemplateIds , leftTab , leftKey , leftPrimaryKey , leftName , bottomTab , bottomKey , bottomPrimaryKey , template , className , tablePrefix , configId , dbName , dbType , connectionString , treeName , tableComment , menuApplication , menuPid , menuIcon , pagePath , printType , printName , page , pageSize , field , order , descStr , searchFields , searchKeyword , keyword , filterLogic , filterFilters , filterField , filterOperator , filterValue , options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
}
2024-06-15 13:02:35 +08:00
/ * *
*
* @summary 获 取 代 码 生 成 配 置 详 情 🔖
* @param { number } [ id ] 主 键 Id
* @param { number } [ codeGenId ] 代 码 生 成 主 表 ID
* @param { string } [ columnName ] 数 据 库 字 段 名
* @param { string } [ propertyName ] 实 体 属 性 名
* @param { number } [ columnLength ] 字 段 数 据 长 度
* @param { string } [ lowerPropertyName ] 数 据 库 字 段 名 ( 首 字 母 小 写 )
* @param { string } [ columnComment ] 字 段 描 述
* @param { string } [ netType ] . NET类型
* @param { string } [ effectType ] 作 用 类 型 ( 字 典 )
2024-08-04 01:22:55 +08:00
* @param { string } [ fkConfigId ] 外 键 库 标 识
2024-06-15 13:02:35 +08:00
* @param { string } [ fkEntityName ] 外 键 实 体 名 称
* @param { string } [ fkTableName ] 外 键 表 名 称
* @param { string } [ lowerFkEntityName ] 外 键 实 体 名 称 ( 首 字 母 小 写 )
* @param { string } [ fkColumnName ] 外 键 显 示 字 段
2024-07-24 01:44:43 +08:00
* @param { string } [ fkLinkColumnName ] 外 键 链 接 字 段
2024-06-15 13:02:35 +08:00
* @param { string } [ lowerFkColumnName ] 外 键 显 示 字 段 ( 首 字 母 小 写 )
* @param { string } [ fkColumnNetType ] 外 键 显 示 字 段 . NET类型
* @param { string } [ dictTypeCode ] 字 典 code
* @param { string } [ whetherRetract ] 列 表 是 否 缩 进 ( 字 典 )
* @param { string } [ whetherRequired ] 是 否 必 填 ( 字 典 )
* @param { string } [ whetherSortable ] 是 否 可 排 序 ( 字 典 )
2025-01-23 13:11:06 +08:00
* @param { string } [ statistical ] 是 否 是 统 计 字 段
2025-03-01 12:02:59 +08:00
* @param { string } [ isGroupBy ] 是 否 是 GroupBy字段
2024-06-15 13:02:35 +08:00
* @param { string } [ queryWhether ] 是 否 是 查 询 条 件
* @param { string } [ queryType ] 查 询 方 式
* @param { string } [ whetherTable ] 列 表 显 示
* @param { string } [ whetherAddUpdate ] 增 改
* @param { string } [ columnKey ] 主 外 键
* @param { string } [ dataType ] 数 据 库 中 类 型 ( 物 理 类 型 )
* @param { string } [ whetherCommon ] 是 否 是 通 用 字 段
* @param { string } [ tableNickName ] 表 的 别 名 Table as XXX
* @param { string } [ displayColumn ] 显 示 文 本 字 段
* @param { string } [ valueColumn ] 选 中 值 字 段
* @param { string } [ pidColumn ] 父 级 字 段
* @param { number } [ orderNo ] 排 序
2024-08-28 11:37:37 +08:00
* @param { string } [ rules ] 字 段 验 证 规 则
2024-08-29 01:35:40 +08:00
* @param { string } [ defaultValue ] 默 认 值
2024-08-28 11:37:37 +08:00
* @param { Array < VerifyRuleItem > } [ ruleItems ] 字 段 验 证 集 合
* @param { boolean } [ remoteVerify ] 是 否 远 程 验 证
* @param { boolean } [ anyRule ] 是 否 存 在 验 证 规 则
* @param { string } [ trigger ] 验 证 触 发 器
2024-06-15 13:02:35 +08:00
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* @memberof SysCodeGenConfigApi
* /
2025-03-01 12:02:59 +08:00
public async apiSysCodeGenConfigDetailGet ( id? : number , codeGenId? : number , columnName? : string , propertyName? : string , columnLength? : number , lowerPropertyName? : string , columnComment? : string , netType? : string , effectType? : string , fkConfigId? : string , fkEntityName? : string , fkTableName? : string , lowerFkEntityName? : string , fkColumnName? : string , fkLinkColumnName? : string , lowerFkColumnName? : string , fkColumnNetType? : string , dictTypeCode? : string , whetherRetract? : string , whetherRequired? : string , whetherSortable? : string , statistical? : string , isGroupBy? : string , queryWhether? : string , queryType? : string , whetherTable? : string , whetherAddUpdate? : string , columnKey? : string , dataType? : string , whetherCommon? : string , tableNickName? : string , displayColumn? : string , valueColumn? : string , pidColumn? : string , orderNo? : number , rules? : string , defaultValue? : string , ruleItems? : Array < VerifyRuleItem > , remoteVerify? : boolean , anyRule? : boolean , trigger? : string , options? : AxiosRequestConfig ) : Promise < AxiosResponse < AdminNETResultSysCodeGenConfig > > {
return SysCodeGenConfigApiFp ( this . configuration ) . apiSysCodeGenConfigDetailGet ( id , codeGenId , columnName , propertyName , columnLength , lowerPropertyName , columnComment , netType , effectType , fkConfigId , fkEntityName , fkTableName , lowerFkEntityName , fkColumnName , fkLinkColumnName , lowerFkColumnName , fkColumnNetType , dictTypeCode , whetherRetract , whetherRequired , whetherSortable , statistical , isGroupBy , queryWhether , queryType , whetherTable , whetherAddUpdate , columnKey , dataType , whetherCommon , tableNickName , displayColumn , valueColumn , pidColumn , orderNo , rules , defaultValue , ruleItems , remoteVerify , anyRule , trigger , options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
2025-01-23 13:11:06 +08:00
}
/ * *
*
* @summary 获 取 库 表 信 息
* @param { boolean } excludeSysTable 是 否 排 除 带 SysTable属性的表
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* @memberof SysCodeGenConfigApi
* /
public async apiSysCodeGenConfigEntityInfosExcludeSysTableGet ( excludeSysTable : boolean , options? : AxiosRequestConfig ) : Promise < AxiosResponse < AdminNETResultIEnumerableEntityInfo > > {
return SysCodeGenConfigApiFp ( this . configuration ) . apiSysCodeGenConfigEntityInfosExcludeSysTableGet ( excludeSysTable , options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
2024-06-15 13:02:35 +08:00
}
/ * *
*
* @summary 获 取 代 码 生 成 配 置 列 表 🔖
* @param { number } [ id ] 主 键 Id
* @param { number } [ codeGenId ] 代 码 生 成 主 表 ID
* @param { string } [ columnName ] 数 据 库 字 段 名
* @param { string } [ propertyName ] 实 体 属 性 名
* @param { number } [ columnLength ] 字 段 数 据 长 度
* @param { string } [ lowerPropertyName ] 数 据 库 字 段 名 ( 首 字 母 小 写 )
* @param { string } [ columnComment ] 字 段 描 述
* @param { string } [ netType ] . NET类型
* @param { string } [ effectType ] 作 用 类 型 ( 字 典 )
2024-08-04 01:22:55 +08:00
* @param { string } [ fkConfigId ] 外 键 库 标 识
2024-06-15 13:02:35 +08:00
* @param { string } [ fkEntityName ] 外 键 实 体 名 称
* @param { string } [ fkTableName ] 外 键 表 名 称
* @param { string } [ lowerFkEntityName ] 外 键 实 体 名 称 ( 首 字 母 小 写 )
* @param { string } [ fkColumnName ] 外 键 显 示 字 段
2024-07-24 01:44:43 +08:00
* @param { string } [ fkLinkColumnName ] 外 键 链 接 字 段
2024-06-15 13:02:35 +08:00
* @param { string } [ lowerFkColumnName ] 外 键 显 示 字 段 ( 首 字 母 小 写 )
* @param { string } [ fkColumnNetType ] 外 键 显 示 字 段 . NET类型
* @param { string } [ dictTypeCode ] 字 典 code
* @param { string } [ whetherRetract ] 列 表 是 否 缩 进 ( 字 典 )
* @param { string } [ whetherRequired ] 是 否 必 填 ( 字 典 )
* @param { string } [ whetherSortable ] 是 否 可 排 序 ( 字 典 )
2025-01-23 13:11:06 +08:00
* @param { string } [ statistical ] 是 否 是 统 计 字 段
2025-03-01 12:02:59 +08:00
* @param { string } [ isGroupBy ] 是 否 是 GroupBy字段
2024-06-15 13:02:35 +08:00
* @param { string } [ queryWhether ] 是 否 是 查 询 条 件
* @param { string } [ queryType ] 查 询 方 式
* @param { string } [ whetherTable ] 列 表 显 示
* @param { string } [ whetherAddUpdate ] 增 改
* @param { string } [ columnKey ] 主 外 键
* @param { string } [ dataType ] 数 据 库 中 类 型 ( 物 理 类 型 )
* @param { string } [ whetherCommon ] 是 否 是 通 用 字 段
* @param { string } [ tableNickName ] 表 的 别 名 Table as XXX
* @param { string } [ displayColumn ] 显 示 文 本 字 段
* @param { string } [ valueColumn ] 选 中 值 字 段
* @param { string } [ pidColumn ] 父 级 字 段
* @param { number } [ orderNo ] 排 序
2024-08-28 11:37:37 +08:00
* @param { string } [ rules ] 字 段 验 证 规 则
2024-08-29 01:35:40 +08:00
* @param { string } [ defaultValue ] 默 认 值
2024-08-28 11:37:37 +08:00
* @param { Array < VerifyRuleItem > } [ ruleItems ] 字 段 验 证 集 合
* @param { boolean } [ remoteVerify ] 是 否 远 程 验 证
* @param { boolean } [ anyRule ] 是 否 存 在 验 证 规 则
* @param { string } [ trigger ] 验 证 触 发 器
2024-06-15 13:02:35 +08:00
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* @memberof SysCodeGenConfigApi
* /
2025-03-01 12:02:59 +08:00
public async apiSysCodeGenConfigListGet ( id? : number , codeGenId? : number , columnName? : string , propertyName? : string , columnLength? : number , lowerPropertyName? : string , columnComment? : string , netType? : string , effectType? : string , fkConfigId? : string , fkEntityName? : string , fkTableName? : string , lowerFkEntityName? : string , fkColumnName? : string , fkLinkColumnName? : string , lowerFkColumnName? : string , fkColumnNetType? : string , dictTypeCode? : string , whetherRetract? : string , whetherRequired? : string , whetherSortable? : string , statistical? : string , isGroupBy? : string , queryWhether? : string , queryType? : string , whetherTable? : string , whetherAddUpdate? : string , columnKey? : string , dataType? : string , whetherCommon? : string , tableNickName? : string , displayColumn? : string , valueColumn? : string , pidColumn? : string , orderNo? : number , rules? : string , defaultValue? : string , ruleItems? : Array < VerifyRuleItem > , remoteVerify? : boolean , anyRule? : boolean , trigger? : string , options? : AxiosRequestConfig ) : Promise < AxiosResponse < AdminNETResultListCodeGenConfig > > {
return SysCodeGenConfigApiFp ( this . configuration ) . apiSysCodeGenConfigListGet ( id , codeGenId , columnName , propertyName , columnLength , lowerPropertyName , columnComment , netType , effectType , fkConfigId , fkEntityName , fkTableName , lowerFkEntityName , fkColumnName , fkLinkColumnName , lowerFkColumnName , fkColumnNetType , dictTypeCode , whetherRetract , whetherRequired , whetherSortable , statistical , isGroupBy , queryWhether , queryType , whetherTable , whetherAddUpdate , columnKey , dataType , whetherCommon , tableNickName , displayColumn , valueColumn , pidColumn , orderNo , rules , defaultValue , ruleItems , remoteVerify , anyRule , trigger , options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
2024-06-15 13:02:35 +08:00
}
/ * *
*
* @summary 更 新 代 码 生 成 配 置 🔖
* @param { Array < CodeGenConfig > } [ body ]
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* @memberof SysCodeGenConfigApi
* /
public async apiSysCodeGenConfigUpdatePost ( body? : Array < CodeGenConfig > , options? : AxiosRequestConfig ) : Promise < AxiosResponse < void > > {
return SysCodeGenConfigApiFp ( this . configuration ) . apiSysCodeGenConfigUpdatePost ( body , options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
}
}