20230308派遣方法优化
This commit is contained in:
@@ -596,7 +596,7 @@ namespace FineUIPro.Web
|
||||
protected void btnHome_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (string.IsNullOrEmpty(this.CurrUser.LastProjectId)
|
||||
&& ((this.CurrUser.UnitId == Const.UnitId_SEDIN && this.CurrUser.IsOffice == true) || this.CurrUser.PersonId == Const.sysglyId || this.CurrUser.PersonId == Const.hfnbdId))
|
||||
&& ((this.CurrUser.UnitId == Const.UnitId_SEDIN && (this.CurrUser.IsOffice == true || this.CurrUser.RoleIds != null)) || this.CurrUser.PersonId == Const.sysglyId || this.CurrUser.PersonId == Const.hfnbdId))
|
||||
{
|
||||
Person_PersonsService.UpdateLastUserInfo(this.CurrUser.PersonId, null, true, this.CurrUser.LoginProjectId);
|
||||
this.CurrUser.LastProjectId = this.CurrUser.LoginProjectId;
|
||||
|
||||
Reference in New Issue
Block a user