|
|
@@ -28,6 +28,7 @@ using OASystem.Domain.Dtos.CRM;
|
|
|
using OASystem.Domain.Dtos.FileDto;
|
|
|
using OASystem.Domain.Dtos.Financial;
|
|
|
using OASystem.Domain.Dtos.Groups;
|
|
|
+using OASystem.Domain.Dtos.System;
|
|
|
using OASystem.Domain.Entities.Customer;
|
|
|
using OASystem.Domain.Entities.Financial;
|
|
|
using OASystem.Domain.Entities.Groups;
|
|
|
@@ -503,7 +504,11 @@ namespace OASystem.API.Controllers
|
|
|
_logger.LogInformation("用户 {UserName}(ID:{UserId}) 批量确认了 {GroupCount} 个团组的费用类型,共添加 {RecordCount} 条确认记录",
|
|
|
userInfo.CnName, dto.CurrUserId, validGroupIds.Count, successCount);
|
|
|
|
|
|
- return Ok(JsonView(true, $"操作成功!共为 {validGroupIds.Count} 个团组添加了 {successCount} 条确认记录"));
|
|
|
+ // 10. 操作成功 返回成功视图
|
|
|
+ var result = await GetGroupNamesByUserId(dto.CurrUserId,dto.DaysAgo);
|
|
|
+
|
|
|
+ return Ok(result);
|
|
|
+ //return Ok(JsonView(true, $"操作成功!共为 {validGroupIds.Count} 个团组添加了 {successCount} 条确认记录"));
|
|
|
}
|
|
|
|
|
|
/// <summary>
|