diff --git a/src/main/resources/mapper/production/DailyPlanMapper.xml b/src/main/resources/mapper/production/DailyPlanMapper.xml index c4f68ef..c62c712 100644 --- a/src/main/resources/mapper/production/DailyPlanMapper.xml +++ b/src/main/resources/mapper/production/DailyPlanMapper.xml @@ -902,7 +902,7 @@ LEFT JOIN Part c on b.PartNo=c.PartNo and b.site=c.site - and a.Status!='已取消' and a.ToTypeFlag_DB not in ('I','Q') + and a.Status!='已取消' and a.ToTypeFlag_DB = 'W' and TransDate >= #{startDate}