数据大屏优化

This commit is contained in:
2026-09-23 17:55:18 +08:00
parent 147121cdb2
commit 4bb579d661
39 changed files with 2012 additions and 320 deletions
+10 -2
View File
@@ -82,7 +82,7 @@ namespace BLL
/// </summary>
/// <param name="userId">用户Id</param>
/// <returns>用户信息</returns>
public static void UpdateLastUserInfo(string userId, string LastMenuType, bool LastIsOffice, string LastProjectId)
public static void UpdateLastUserInfo(string userId, string LastMenuType, bool LastIsOffice, string LastProjectId, string LastUnitId)
{
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
{
@@ -92,7 +92,15 @@ namespace BLL
uU.LastMenuType = LastMenuType;
uU.LastIsOffice = LastIsOffice;
uU.LastMenuType = LastMenuType;
uU.LastProjectId = LastProjectId;
if (!string.IsNullOrWhiteSpace(LastProjectId))
{
uU.LastProjectId = LastProjectId;
uU.LoginProjectId = LastProjectId;
}
if (!string.IsNullOrWhiteSpace(LastUnitId))
{
uU.LastUnitId = LastUnitId;
}
db.SubmitChanges();
}
}