田爽 1 anno fa
parent
commit
6544794350

+ 1 - 0
src/Hotline.Api/Controllers/KnowledgeController.cs

@@ -571,6 +571,7 @@ namespace Hotline.Api.Controllers
 				.Includes(x => x.User)
 				.Includes(x => x.SystemOrganize)
 				.Includes(x => x.Workflow)
+				.Where(x=>x.KnowledgeId == id)
 				.Where(x => x.IsDeleted == false)
 				.ToPagedListAsync(0, 99999);
 			return new PagedDto<KnowledgeWorkFlowDto>(total, _mapper.Map<IReadOnlyList<KnowledgeWorkFlowDto>>(temp));

+ 1 - 1
src/Hotline.Share/Dtos/Knowledge/KnowledgeWorkFlowDto.cs

@@ -35,7 +35,7 @@ namespace Hotline.Share.Dtos.Knowledge
 		/// <summary>
 		/// 实际办理意见(办理中...or 最终办理意见)
 		/// </summary>
-		public string ActualOpinion { get; set; } = "办理中...";
+		public string ActualOpinion { get; set; } 
 
 		/// <summary>
 		/// 知识信息

+ 1 - 1
src/Hotline/KnowledgeBase/KnowledgeWorkFlow.cs

@@ -38,7 +38,7 @@ namespace Hotline.KnowledgeBase
         /// 实际办理意见(办理中...or 最终办理意见)
         /// </summary>
         [SugarColumn(Length = 2000)]
-        public string? ActualOpinion { get; set; } = "办理中...";
+        public string? ActualOpinion { get; set; } 
 
 		/// <summary>
 		/// 知识信息