更新 Admin.NET/Admin.NET.Web.Entry/wwwroot/Template/Service.cs.vm
修复模版错误
This commit is contained in:
parent
b9d762f97f
commit
0cd9cf46ad
@ -109,11 +109,7 @@ if (@column.QueryWhether == "Y"){
|
|||||||
} else {
|
} else {
|
||||||
@:.Select<@(@Model.ClassName)Output>();
|
@:.Select<@(@Model.ClassName)Output>();
|
||||||
}
|
}
|
||||||
@if(@Model.TableField.Any(x=>x.EffectType == "fk")){
|
return await query.OrderBuilder(input).ToPagedListAsync(input.Page, input.PageSize);
|
||||||
@:return await query.OrderBuilder(input,"[u].","[@(PKName)]").ToPagedListAsync(input.Page, input.PageSize);
|
|
||||||
}else{
|
|
||||||
@:return await query.OrderBuilder(input).ToPagedListAsync(input.Page, input.PageSize);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user