|
@@ -81,7 +81,11 @@ public class ProductionPlanServiceImpl extends ServiceImpl<ProductionPlanMapper,
|
|
|
|
|
|
wrapper.eq(ProductionPlan::getStatus ,dto.getStatus());
|
|
|
|
|
|
- wrapper.orderByAsc("pp", ProductionPlan::getCreateTime);
|
|
|
+
|
|
|
+ wrapper.ge("pp",ProductionPlan::getStartDate,dto.getBeginTime());
|
|
|
+ wrapper.le("pp",ProductionPlan::getStartDate,dto.getEndTime());
|
|
|
+
|
|
|
+ wrapper.orderByAsc("pp", ProductionPlan::getStartDate);
|
|
|
|
|
|
|
|
|
wrapper.gt(Objects.equals(dto.getIsRemaining(),1),"pp.remainingQuantity",0);
|