lihao 4 lat temu
rodzic
commit
1a56d56274

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

@@ -366,7 +366,10 @@ namespace GxPress.Service.Implement.Notice
             else if (request.SearchType > 3)
             {
                 if (request.SearchType == 16)
+                {
                     query.WhereIn("tede_notice.TypeValue", new List<int> { AllTypeConst.Notice.GetHashCode(), AllTypeConst.Missive.GetHashCode(), request.SearchType, AllTypeConst.Anonymity.GetHashCode() });
+                    query.Where("tede_middle.IsAdmin", true);
+                }
                 else
                     query.Where("tede_notice.TypeValue", request.SearchType);
                 query.WhereNot("tede_middle.NoticeAddresseeType", 2);