타 부서 로그인 가능 상태 해제
This commit is contained in:
@@ -47,6 +47,7 @@ namespace Project._Common
|
||||
tbDateO.Text = db_user.outdate;
|
||||
tbGrade.Text = db_user.grade;
|
||||
tbMemo.Text = db_user.memo;
|
||||
|
||||
}
|
||||
if (db_guser != null)
|
||||
{
|
||||
@@ -56,6 +57,7 @@ namespace Project._Common
|
||||
//this.chkJobReport.Checked = (db_guser.useJobReport == null ? false : (bool)db_guser.useJobReport);
|
||||
this.chkJobReport.Checked = (db_guser.useJobReport == null ? false : (bool)db_guser.useJobReport);
|
||||
this.chkUseState.Checked = (db_guser.useUserState == null ? false : (bool)db_guser.useUserState);
|
||||
this.chkExceptHoly.Checked = (db_guser.exceptHoly == null ? false : (bool)db_guser.exceptHoly);
|
||||
}
|
||||
|
||||
this.Text = "사용자 정보 변경";
|
||||
@@ -137,6 +139,7 @@ namespace Project._Common
|
||||
drGuser.state = this.tbState.Text.Trim();
|
||||
drGuser.useJobReport = chkJobReport.Checked;
|
||||
drGuser.useUserState = chkUseState.Checked;
|
||||
drGuser.exceptHoly = chkExceptHoly.Checked;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -158,6 +161,7 @@ namespace Project._Common
|
||||
//drGuser.useJobReport = this.chkJobReport.Checked;
|
||||
drGuser.useJobReport = this.chkJobReport.Checked;
|
||||
drGuser.useUserState = this.chkUseState.Checked;
|
||||
drGuser.exceptHoly = this.chkExceptHoly.Checked;
|
||||
db.EETGW_GroupUser.Add(drGuser);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user