修改同步
This commit is contained in:
@@ -543,11 +543,20 @@ namespace IRaCIS.Core.Application.Service.Inspection
|
||||
#endregion
|
||||
|
||||
#region 取操作类型
|
||||
var from =await _frontAuditConfigRepository.FirstOrDefaultAsync(x => x.Identification == Data.Identification);
|
||||
Data.ObjectType = from.ObjectTypeId;
|
||||
Data.OptType = from.OptTypeId;
|
||||
Data.ChildrenType = from.ChildrenTypeId;
|
||||
Data.ModuleType = from.ModuleTypeId;
|
||||
try
|
||||
{
|
||||
var from = await _frontAuditConfigRepository.FirstOrDefaultAsync(x => x.Identification == Data.Identification);
|
||||
Data.ObjectType = from.ObjectTypeId;
|
||||
Data.OptType = from.OptTypeId;
|
||||
Data.ChildrenType = from.ChildrenTypeId;
|
||||
Data.ModuleType = from.ModuleTypeId;
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
|
||||
throw new BusinessValidationFailedException("操作标识异常");
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user