|
@@ -337,12 +337,12 @@ namespace GxPress.Service.Implement.Notice
|
|
|
var result = await _noticeRepository.GetNoticeListPageAsync(request);
|
|
|
foreach (var item in result.Items)
|
|
|
{
|
|
|
+ if (item.UserId == request.UserId)
|
|
|
+ item.IsAdmin = true;
|
|
|
var typeValueIds = new List<int>{AllTypeConst.MyChecked.GetHashCode()
|
|
|
,AllTypeConst.MyCc.GetHashCode(),AllTypeConst.MySubmitted.GetHashCode()};
|
|
|
if (typeValueIds.Contains(item.TypeValue))
|
|
|
{
|
|
|
- // if (item.TypeValue == AllTypeConst.MySubmitted.GetHashCode())
|
|
|
- // item.IsAdmin = true;
|
|
|
item.TodoId = item.SonId;
|
|
|
item.MiddleId = item.SourceId;
|
|
|
//item.UserName = item.SendUserName;
|