프로젝트 스케쥴 오류 수정

This commit is contained in:
chi
2025-04-08 08:23:48 +09:00
parent 8ac3600ec1
commit 8e76ee9692
10 changed files with 796 additions and 259 deletions

View File

@@ -94,14 +94,13 @@ namespace FPJ0000
this.taProjectInfo.FillByIDX(this.dsPRJ.Projects, this.projectindex);
//스케쥴 그룹(no)
var db = new dsPRJTableAdapters.EETGW_ProjectsScheduleTableAdapter();// EEEntities();
var nolist = db.GetNoList(FCOMMON.info.Login.gcode, this.projectindex);//.AsNoTracking().Where(t => t.gcode == FCOMMON.info.Login.gcode && t.project == this.projectindex).GroupBy(t => t.no).ToList();
var db = new dsPRJTableAdapters.EETGW_ProjectsSchedule_NoListTableAdapter();// EEEntities();
var nolist = db.GetData(FCOMMON.info.Login.gcode, this.projectindex);//.AsNoTracking().Where(t => t.gcode == FCOMMON.info.Login.gcode && t.project == this.projectindex).GroupBy(t => t.no).ToList();
this.comboBox1.Items.Clear();
if (nolist.Any())
{
foreach (var item in nolist)
{
if (item.IsnoNull()) continue;
this.comboBox1.Items.Add(item.no.ToString());
}
}