修改公司级除了五环也能进
This commit is contained in:
parent
f0a453cda2
commit
c628c83364
|
@ -730,8 +730,10 @@ namespace FineUIPro.Web
|
|||
|
||||
protected void btnHome_Click(object sender, EventArgs e)
|
||||
{
|
||||
//修改本部用户都能进
|
||||
//this.CurrUser.UnitId == Const.UnitId_CWCEC &&
|
||||
if (string.IsNullOrEmpty(this.CurrUser.LastProjectId)
|
||||
&& ((this.CurrUser.UnitId == Const.UnitId_CWCEC && this.CurrUser.IsOffice == true) || this.CurrUser.UserId == Const.sysglyId || this.CurrUser.UserId == Const.hfnbdId))
|
||||
&& ((this.CurrUser.IsOffice == true) || this.CurrUser.UserId == Const.sysglyId || this.CurrUser.UserId == Const.hfnbdId))
|
||||
{
|
||||
UserService.UpdateLastUserInfo(this.CurrUser.UserId, this.CurrUser.LastMenuType, false, this.CurrUser.LoginProjectId);
|
||||
this.CurrUser.LastProjectId = this.CurrUser.LoginProjectId;
|
||||
|
|
Loading…
Reference in New Issue