|
@@ -284,8 +284,7 @@ namespace EfemDualUI.Views.History.ProcessHistory
|
|
|
|
|
|
try
|
|
|
{
|
|
|
- string sql = $"SELECT * FROM \"process_data\" where \"process_begin_time\" >='{StartDateTime.ToString("yyyy/MM/dd HH:mm:ss.fff")}' and \"process_begin_time\" <='{EndDateTime.ToString("yyyy/MM/dd HH:mm:ss.fff")}' ";
|
|
|
-
|
|
|
+ string sql = $"SELECT waferData.lot_id AS wafer_lot_id,processdata.* FROM process_data processdata LEFT JOIN wafer_data waferData ON processdata.wafer_data_guid=waferData.guid where \"process_begin_time\" >='{StartDateTime.ToString("yyyy/MM/dd HH:mm:ss.fff")}' and \"process_begin_time\" <='{EndDateTime.ToString("yyyy/MM/dd HH:mm:ss.fff")}' ";
|
|
|
if (!string.IsNullOrEmpty(SelectedValuePM))
|
|
|
{
|
|
|
string[] pms = SelectedValuePM.Split(',');
|
|
@@ -323,7 +322,7 @@ namespace EfemDualUI.Views.History.ProcessHistory
|
|
|
item.Chamber = dbData.Rows[i]["process_in"].ToString();
|
|
|
item.Status = dbData.Rows[i]["process_status"].ToString();
|
|
|
item.SlotID = dbData.Rows[i]["slot_id"].ToString();
|
|
|
- item.LotID = dbData.Rows[i]["lot_id"].ToString();
|
|
|
+ item.LotID = dbData.Rows[i]["wafer_lot_id"].ToString();
|
|
|
if (!dbData.Rows[i]["process_begin_time"].Equals(DBNull.Value))
|
|
|
item.StartTime = ((DateTime)dbData.Rows[i]["process_begin_time"]).ToString("yyyy-MM-dd HH:mm:ss.fff");
|
|
|
if (!dbData.Rows[i]["process_end_time"].Equals(DBNull.Value))
|
|
@@ -658,8 +657,7 @@ namespace EfemDualUI.Views.History.ProcessHistory
|
|
|
|
|
|
try
|
|
|
{
|
|
|
- string sql = $"SELECT * FROM \"process_data\" where \"process_begin_time\" >='{StartDateTime.ToString("yyyy/MM/dd HH:mm:ss.fff")}' and \"process_begin_time\" <='{EndDateTime.ToString("yyyy/MM/dd HH:mm:ss.fff")}' ";
|
|
|
-
|
|
|
+ string sql = $"SELECT waferData.lot_id AS wafer_lot_id,processdata.* FROM process_data processdata LEFT JOIN wafer_data waferData ON processdata.wafer_data_guid=waferData.guid where \"process_begin_time\" >='{StartDateTime.ToString("yyyy/MM/dd HH:mm:ss.fff")}' and \"process_begin_time\" <='{EndDateTime.ToString("yyyy/MM/dd HH:mm:ss.fff")}' ";
|
|
|
if (!string.IsNullOrEmpty(SelectedValuePM))
|
|
|
{
|
|
|
string[] pms = SelectedValuePM.Split(',');
|
|
@@ -697,7 +695,7 @@ namespace EfemDualUI.Views.History.ProcessHistory
|
|
|
item.Chamber = dbData.Rows[i]["process_in"].ToString();
|
|
|
item.Status = dbData.Rows[i]["process_status"].ToString();
|
|
|
item.SlotID = dbData.Rows[i]["slot_id"].ToString();
|
|
|
- item.LotID = dbData.Rows[i]["lot_id"].ToString();
|
|
|
+ item.LotID = dbData.Rows[i]["wafer_lot_id"].ToString();
|
|
|
if (!dbData.Rows[i]["process_end_time"].Equals(DBNull.Value))
|
|
|
item.EndTime = ((DateTime)dbData.Rows[i]["process_end_time"]).ToString("yyyy-MM-dd HH:mm:ss.fff");
|
|
|
if (!dbData.Rows[i]["process_begin_time"].Equals(DBNull.Value))
|