업무일지 삭제 화면만 불러도 데이터가 삭제되는 현상 수정
사용자 목록이 실 데이터 입력자로 변경 함 업무일지 : 개인별/일자별 집계 추가
This commit is contained in:
@@ -296,14 +296,16 @@ namespace FCOMMON
|
||||
var retval = new sItemInfo();
|
||||
retval.idx = -1;
|
||||
|
||||
string sql = "select [id],[name],concat([name],'(',[id],')') as dispName,[dept],[email],[level],[tel] from Users where dept like '%장비기술%' order by [name]";
|
||||
string sql = "select [id],[name],concat([name],'(',[id],')') as dispName,[dept],[email],[level],[tel] from Users " +
|
||||
" where [id] <> 'dev' and dept like '%장비기술%' and dept like '%1파트%' order by [name]";
|
||||
var cmd = new SqlCommand(sql, cn);
|
||||
var da = new SqlDataAdapter(sql, cn);
|
||||
var ds = new System.Data.DataSet();
|
||||
da.Fill(ds);
|
||||
cn.Close();
|
||||
cn.Dispose();
|
||||
return ds.Tables[0];
|
||||
if (ds.Tables.Count > 0) return ds.Tables[0];
|
||||
else return null;
|
||||
}
|
||||
|
||||
private static Dictionary<string,string> MakeDataTable(List<string> list)
|
||||
|
||||
Reference in New Issue
Block a user