diff --git a/aucma-production/src/main/resources/mapper/production/ProductPlanInfoMapper.xml b/aucma-production/src/main/resources/mapper/production/ProductPlanInfoMapper.xml
index 38546c6..c6364a5 100644
--- a/aucma-production/src/main/resources/mapper/production/ProductPlanInfoMapper.xml
+++ b/aucma-production/src/main/resources/mapper/production/ProductPlanInfoMapper.xml
@@ -72,24 +72,25 @@
and pp.material_name like concat(concat('%',
#{materialName}), '%')
- and pp.productline_code = #{productLineCode}
+ and pl.PRODUCT_LINE_CODE = #{productLineCode}
+ and pp.productline_code = #{stationCode}
and pp.plan_amount = #{planAmount}
and pp.complete_amount = #{completeAmount}
+
+ and bo.BEGIN_DATE between to_date(#{params.beginEndTime}, 'yyyy-mm-dd') and
+ to_date(#{params.endEndTime}, 'yyyy-mm-dd')
+
and pp.begin_time between to_date(#{params.beginBeginTime}, 'yyyy-mm-dd hh24:mi:ss') and
to_date(#{params.endBeginTime}, 'yyyy-mm-dd hh24:mi:ss')
-
- and pp.end_time between to_date(#{params.beginEndTime}, 'yyyy-mm-dd hh24:mi:ss') and
- to_date(#{params.endEndTime}, 'yyyy-mm-dd hh24:mi:ss')
-
and pp.is_flag = #{isFlag}
and pp.created_by = #{createdBy}
and pp.created_time = #{createdTime}
and pp.updated_by = #{updatedBy}
and pp.updated_time = #{updatedTime}
- order by pp.order_code desc, pp.plan_code
+ order by bo.BEGIN_DATE desc
-