적정인원보고서 완료
This commit is contained in:
@@ -63,7 +63,7 @@ namespace Project._Common
|
||||
}
|
||||
|
||||
//부서목록 업데이트
|
||||
var db = new DataClasses1DataContext();
|
||||
var db = new EEEntitiesMain();
|
||||
var GrpList = db.UserGroup.Where(t => t.gcode != null && t.permission != null && t.gcode != "" && t.permission > 0);
|
||||
|
||||
//var tagrp = new dsMSSQLTableAdapters.UserGroupTableAdapter();
|
||||
@@ -176,7 +176,7 @@ namespace Project._Common
|
||||
if (tbProcess.Text.Trim() == "") tbProcess.Text = "%";
|
||||
this.dsMSSQL.Users.Clear();
|
||||
|
||||
var db = new DataClasses1DataContext();
|
||||
var db = new EEEntitiesMain();
|
||||
if (tbProcess.Text.Trim() != "" && tbProcess.Text.Trim() != "%")
|
||||
this.bs.DataSource = db.vGroupUser.Where(t => t.dept == this.cmbdept.Text && t.processs.Contains(tbProcess.Text.Trim()));
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user