This commit is contained in:
chikyun.kim
2019-07-26 17:28:19 +09:00
parent ae209e00af
commit 11d7c7f704
58 changed files with 3360 additions and 6285 deletions

View File

@@ -46,10 +46,10 @@ namespace FPJ0000
cn.Open();
string sql = "select uid,dbo.getUserName(uid) as uname " +
" from JobReport" +
" where uid <> '{0}'" +
" where gcode='{1}' and uid <> '{0}'" +
" group by uid " +
" order by uname";
sql = string.Format(sql, FCOMMON.info.Login.no);
sql = string.Format(sql, FCOMMON.info.Login.no, FCOMMON.info.Login.gcode);
var cmd = new System.Data.SqlClient.SqlCommand(sql, cn);
var rdr = cmd.ExecuteReader();
while (rdr.Read())
@@ -84,7 +84,7 @@ namespace FPJ0000
//일반사용자의경우에는 상태를 변경하지 못한다.
int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAutoType.jobreport));
int curLevel = Math.Max(FCOMMON.info.Login.level, FCOMMON.DBM.getAuth(FCOMMON.DBM.eAuthType.jobreport));
if (curLevel >= 5)
{
btSave.Visible = true;
@@ -493,5 +493,10 @@ namespace FPJ0000
var f = new JobReport.fJobChartMenu(name, request);
f.ShowDialog();
}
private void toolStripButton2_Click(object sender, EventArgs e)
{
this.Close();
}
}
}