|
@@ -162,17 +162,17 @@ namespace OASystem.API.Controllers
|
|
|
//消息类型
|
|
|
string typeStr = "";
|
|
|
List<NotificationTypeView> messageTypeViews = AppSettingsHelper.Get<NotificationTypeView>("MessageNotificationType");
|
|
|
- if (dto.Type == 1020) //团组操作通知
|
|
|
+ if (dto.Type == 1020) //任务操作通知
|
|
|
{
|
|
|
- typeStr = String.Join(",", messageTypeViews.Where(it => it.TypeId == 1).FirstOrDefault().MsgTypeIds.ToList());
|
|
|
+ typeStr = String.Join(",", messageTypeViews.Where(it => it.TypeId == 2).FirstOrDefault().MsgTypeIds.ToList());
|
|
|
}
|
|
|
- else if (dto.Type == 1021)//任务操作通知
|
|
|
+ else if (dto.Type == 1021)//团组操作通知
|
|
|
{
|
|
|
- typeStr = String.Join(",", messageTypeViews.Where(it => it.TypeId == 2).FirstOrDefault().MsgTypeIds.ToList());
|
|
|
+ typeStr = String.Join(",", messageTypeViews.Where(it => it.TypeId == 1).FirstOrDefault().MsgTypeIds.ToList());
|
|
|
}
|
|
|
else if (dto.Type == 1022)//公告通知
|
|
|
{
|
|
|
- typeStr = String.Join(",", messageTypeViews.Where(it => it.TypeId == 2).FirstOrDefault().MsgTypeIds.ToList());
|
|
|
+ typeStr = String.Join(",", messageTypeViews.Where(it => it.TypeId == 0).FirstOrDefault().MsgTypeIds.ToList());
|
|
|
}
|
|
|
|
|
|
if (!string.IsNullOrEmpty(typeStr))
|