fix: 套轴过滤一期分切计划
This commit is contained in:
@@ -90,7 +90,9 @@ public class AutoCallAirShaftTask {
|
|||||||
String specification = empty.getQzz_generation();
|
String specification = empty.getQzz_generation();
|
||||||
String location = empty.getPoint_location();
|
String location = empty.getPoint_location();
|
||||||
// 2、获取分切计划数据 校验代数
|
// 2、获取分切计划数据 校验代数
|
||||||
List<SlitterPlanDistinctDto> plans = slittingproductionplanService.getAllCutPlan();
|
List<SlitterPlanDistinctDto> planAll = slittingproductionplanService.getAllCutPlan();
|
||||||
|
List<SlitterPlanDistinctDto> plans = planAll.stream()
|
||||||
|
.filter(p -> p.getResource_name().startsWith("B")).collect(Collectors.toList());
|
||||||
if (plans.size() == 0) {
|
if (plans.size() == 0) {
|
||||||
// 如果不需要套轴,就只做拔轴
|
// 如果不需要套轴,就只做拔轴
|
||||||
makePullShaft(empty, specification);
|
makePullShaft(empty, specification);
|
||||||
|
|||||||
Reference in New Issue
Block a user