|
@@ -18,6 +18,7 @@ using GxPress.Repository.Interface.FlowAttachment;
|
|
|
using GxPress.Service.Interface.UserMiddle;
|
|
|
using GxPress.Service.Interface.Analyze;
|
|
|
using GxPress.Request.Analyze;
|
|
|
+using GxPress.EnumConst;
|
|
|
|
|
|
namespace GxPress.Api.WebControllers
|
|
|
{
|
|
@@ -449,11 +450,13 @@ namespace GxPress.Api.WebControllers
|
|
|
};
|
|
|
//是否是自己创建
|
|
|
meetingSummaryResult.IsAdmin = _loginContext.AccountId == summary.UserId;
|
|
|
- var analyzeRequest = new Request.App.Analyze.AnalyzeRequest();
|
|
|
- analyzeRequest.TypeValue = 10;
|
|
|
- analyzeRequest.AnalyzeType = 1;
|
|
|
- analyzeRequest.SourceId = meetingSummaryResult.Id;
|
|
|
- analyzeRequest.UserId = _loginContext.AccountId;
|
|
|
+ var analyzeRequest = new Request.App.Analyze.AnalyzeRequest()
|
|
|
+ {
|
|
|
+ TypeValue = AllTypeConst.MeetingSummary.GetHashCode(),
|
|
|
+ AnalyzeType = 1,
|
|
|
+ SourceId = meetingSummaryResult.Id,
|
|
|
+ UserId = _loginContext.AccountId
|
|
|
+ };
|
|
|
//点赞数量
|
|
|
meetingSummaryResult.PraiseCount = await _analyzeService.CountAsync(analyzeRequest);
|
|
|
//获取话题的评论数量
|