修复服务模版错误

This commit is contained in:
Master 2024-06-24 11:20:11 +08:00
parent b9d762f97f
commit 2312be25b5

View File

@ -109,11 +109,7 @@ if (@column.QueryWhether == "Y"){
} else {
@:.Select<@(@Model.ClassName)Output>();
}
@if(@Model.TableField.Any(x=>x.EffectType == "fk")){
@:return await query.OrderBuilder(input,"[u].","[@(PKName)]").ToPagedListAsync(input.Page, input.PageSize);
}else{
@:return await query.OrderBuilder(input).ToPagedListAsync(input.Page, input.PageSize);
}
return await query.OrderBuilder(input).ToPagedListAsync(input.Page, input.PageSize);
}
/// <summary>