|
|
@@ -57,6 +57,7 @@ namespace Learun.Application.Web.Controllers |
|
|
|
private StuSaverecordIBLL stuSaverecordIBLL = new StuSaverecordBLL(); |
|
|
|
private StuConsumptionIBLL stuConsumptionIBLL = new StuConsumptionBLL(); |
|
|
|
private MealCardRunTabIBLL mealCardRunTabIBLL = new MealCardRunTabBLL(); |
|
|
|
private Sys_UpdateRecordIBLL sys_UpdateRecordIBLL = new Sys_UpdateRecordBLL(); |
|
|
|
|
|
|
|
#region 统一身份认证2.0 |
|
|
|
/// <summary> |
|
|
@@ -1003,6 +1004,13 @@ namespace Learun.Application.Web.Controllers |
|
|
|
ViewBag.LanMailSendStr = JsonConvert.SerializeObject(ViewBag.LanMailSend); |
|
|
|
//来往邮件数量 |
|
|
|
ViewBag.LanMailTotalNum = maildataAll.Count() + mailsenddataAll.Count(); |
|
|
|
//获取在线用户人数 |
|
|
|
ViewBag.OnlineUserNum = 0; |
|
|
|
var onlineUserResult = sys_UpdateRecordIBLL.GetOnlineUserNum(); |
|
|
|
if (onlineUserResult != null) |
|
|
|
{ |
|
|
|
ViewBag.OnlineUserNum = onlineUserResult.OnlineUserNum; |
|
|
|
} |
|
|
|
//公文 |
|
|
|
paginationobj.sidx = "SendTime"; |
|
|
|
ViewBag.ReceiveFileList = sys_ReceiveFileIBLL.GetPageList(paginationobj, "{\"ReceiverId\":\"" + userInfo.userId + "\"}"); |
|
|
@@ -1341,6 +1349,13 @@ namespace Learun.Application.Web.Controllers |
|
|
|
ViewBag.LanMailSendStr = JsonConvert.SerializeObject(ViewBag.LanMailSend); |
|
|
|
//来往邮件数量 |
|
|
|
ViewBag.LanMailTotalNum = maildataAll.Count() + mailsenddataAll.Count(); |
|
|
|
//获取在线用户人数 |
|
|
|
ViewBag.OnlineUserNum = 0; |
|
|
|
var onlineUserResult = sys_UpdateRecordIBLL.GetOnlineUserNum(); |
|
|
|
if (onlineUserResult != null) |
|
|
|
{ |
|
|
|
ViewBag.OnlineUserNum = onlineUserResult.OnlineUserNum; |
|
|
|
} |
|
|
|
//公文 |
|
|
|
paginationobj.sidx = "SendTime"; |
|
|
|
ViewBag.ReceiveFileList = sys_ReceiveFileIBLL.GetPageList(paginationobj, "{\"ReceiverId\":\"" + userInfo.userId + "\"}"); |
|
|
|