|
|
|
@ -4385,6 +4385,19 @@ public partial class CommonServices : BaseServices<RootEntityTkey<int>>, ICommon |
|
|
|
|
.Where(it => ids.Contains(it.Id)) |
|
|
|
|
.ExecuteCommandAsync(); |
|
|
|
|
} |
|
|
|
|
if (dict1.ReflectionAttachments.Any()) |
|
|
|
|
{ |
|
|
|
|
var ids = dict1.ReflectionAttachments.Select(x => x.AttachmentID).ToList(); |
|
|
|
|
await Db.Updateable<Ghre_Attachment>() |
|
|
|
|
.SetColumns(it => new Ghre_Attachment() |
|
|
|
|
{ |
|
|
|
|
TableName = "Ghre_ExternalTrainApplyOrder_Boltone", |
|
|
|
|
TableKeyID = id.ObjToInt(), |
|
|
|
|
Reverse1 = "ReflectionAttachments" |
|
|
|
|
}) |
|
|
|
|
.Where(it => ids.Contains(it.Id)) |
|
|
|
|
.ExecuteCommandAsync(); |
|
|
|
|
} |
|
|
|
|
#endregion |
|
|
|
|
|
|
|
|
|
break; |
|
|
|
|