|
@@ -3,6 +3,7 @@ using Newtonsoft.Json;
|
|
|
using OASystem.Domain;
|
|
|
using OASystem.Domain.Dtos.Groups;
|
|
|
using OASystem.Domain.Dtos.Resource;
|
|
|
+using OASystem.Domain.Entities.Customer;
|
|
|
using OASystem.Domain.Entities.Groups;
|
|
|
using OASystem.Domain.Entities.Resource;
|
|
|
using OASystem.Domain.ViewModels;
|
|
@@ -285,7 +286,22 @@ namespace OASystem.Infrastructure.Repositories.Resource
|
|
|
//CreateUserId = dto.CreateUserId,
|
|
|
Remark = dto.Remark
|
|
|
});
|
|
|
+
|
|
|
if (!res) return result;
|
|
|
+
|
|
|
+ //操作成功记录操作
|
|
|
+ Crm_TableOperationRecord operationRecord = new Crm_TableOperationRecord
|
|
|
+ {
|
|
|
+ CreateTime = DateTime.Now,
|
|
|
+ CreateUserId = dto.CreateUserId,
|
|
|
+ DataId = dto.Id,
|
|
|
+ IsDel = 0,
|
|
|
+ OperationItem = OperationEnum.Edit,
|
|
|
+ PortType = 1,
|
|
|
+ TableName = "Res_InvitationOfficialActivityData",
|
|
|
+ };
|
|
|
+
|
|
|
+ await _sqlSugar.Insertable(operationRecord).ExecuteCommandAsync();
|
|
|
}
|
|
|
else
|
|
|
{
|