diff --git a/src/main/resources/mapper/production/DailyPlanMapper.xml b/src/main/resources/mapper/production/DailyPlanMapper.xml index 0f714af..e0283db 100644 --- a/src/main/resources/mapper/production/DailyPlanMapper.xml +++ b/src/main/resources/mapper/production/DailyPlanMapper.xml @@ -1374,7 +1374,7 @@ , a.c_sys_scrap_rate as csysScrapRate, b.shiftType as shiftType, - dbo.Get_SFDC_TimeHist_EventTime(a.site,a.OrderNo,a.ItemNo,a.SeqNo) as lastStartTime, + dbo.Get_SFDC_TimeHist_EventTime(a.site,a.OrderNo,a.ItemNo,a.AssJobSeqNo) as lastStartTime, case when a.ReportQty!=0 then Round((a.ReportQty - a.ApproveQty) * 100 / a.ReportQty, 2) else 0 end as scrapRate