|
@@ -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);
|