李昊 4 роки тому
батько
коміт
de45f0f4cf

+ 10 - 0
gx_api/GxPress/Model/GxPress.Result/Notice/NoticeListPageResult.cs

@@ -183,5 +183,15 @@ namespace GxPress.Result.Notice
         /// </summary>
         /// <value></value>
         public FlowState FlowState { get; set; }
+        /// <summary>
+        /// 工作流
+        /// </summary>
+        /// <value></value>
+        public int SonId { get; set; }
+        /// <summary>
+        /// 工作流todoId
+        /// </summary>
+        /// <value></value>
+        public int TodoId { get; set; }
     }
 }

+ 1 - 0
gx_api/GxPress/Repository/GxPress.Repository.Implement/NoticeRepository.cs

@@ -563,6 +563,7 @@ namespace GxPress.Repository.Implement
                     {
                         noticeListPageResult.Title = notice != null ? notice.Title : "";
                         noticeListPageResult.TypeValue = notice != null ? notice.TypeValue : 0;
+                        noticeListPageResult.SonId = notice != null ? notice.SonId : 0;
                         noticeListPageResult.Content = notice != null ? notice.Content : "[]";
                         noticeListPageResult.UserName = user != null ? user.Name : "";
                         noticeListPageResult.SourceId = notice != null ? notice.SourceId : 0;

+ 1 - 0
gx_api/GxPress/Service/GxPress.Service.Implement/Notice/NoticeService.cs

@@ -339,6 +339,7 @@ namespace GxPress.Service.Implement.Notice
             {
                 if (item.TypeValue > 0)
                 {
+                    item.TodoId=item.SonId;
                     item.MiddleId=item.SourceId;
                     //item.UserName = item.SendUserName;
                     item.ReadCount = item.CheckedCount;