mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
chore: 优化代码生成模板
This commit is contained in:
8
docs/template/typings/soy.api.d.ts.vm
vendored
8
docs/template/typings/soy.api.d.ts.vm
vendored
@ -6,7 +6,7 @@
|
||||
* backend api module: "${ModuleName}"
|
||||
*/
|
||||
namespace ${ModuleName} {
|
||||
/** ${businessName} */
|
||||
/** ${businessname} */
|
||||
type ${BusinessName} = Api.Common.CommonRecord<{
|
||||
#foreach($column in $columns)#if(!$BaseEntity.contains($column.javaField))
|
||||
/** $column.columnComment */
|
||||
@ -14,7 +14,7 @@ namespace ${ModuleName} {
|
||||
#end#end
|
||||
}>;
|
||||
|
||||
/** ${businessName} search params */
|
||||
/** ${businessname} search params */
|
||||
type ${BusinessName}SearchParams = Api.CommonType.RecordNullable<
|
||||
Pick<
|
||||
Api.${ModuleName}.${BusinessName},
|
||||
@ -27,7 +27,7 @@ namespace ${ModuleName} {
|
||||
Api.Common.CommonSearchParams<${BusinessName}>
|
||||
>;
|
||||
|
||||
/** ${businessName} operate params */
|
||||
/** ${businessname} operate params */
|
||||
type ${BusinessName}OperateParams = Api.CommonType.RecordNullable<
|
||||
Pick<
|
||||
Api.${ModuleName}.${BusinessName},
|
||||
@ -39,6 +39,6 @@ namespace ${ModuleName} {
|
||||
>
|
||||
>;
|
||||
|
||||
/** ${businessName} list */
|
||||
/** ${businessname} list */
|
||||
type ${BusinessName}List = Api.Common.PaginatingQueryRecord<${BusinessName}>;
|
||||
}
|
||||
|
Reference in New Issue
Block a user