获取vmodel详情时钻取导航属性的模型
This commit is contained in:
@@ -100,6 +100,7 @@ public class VmodelAppService : VengineAppService<Vmodel>, IVmodelAppService
|
||||
Vmodel vm = input.data.Adapt<Vmodel>();
|
||||
vm.areaCode = vm.areaCode.ToKebab();
|
||||
vm.vmCode = vm.vmCode.ToKebab();
|
||||
vm.navProps.ForEach(a => a.naviModel = null);
|
||||
await _db.Updateable(vm).WhereColumns(a => a.id).ExecuteCommandAsync();
|
||||
return input;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user