fix:查询木箱高度报错

This commit is contained in:
zhangzq
2025-01-12 18:11:39 +08:00
parent baf1dc6cb1
commit f6f0b6938f

View File

@@ -464,11 +464,13 @@ public class AutoCallAirShaftTask {
*/
private void makePullShaft(BstIvtShafttubeivt empty, String specification) {
log.info("不需要套轴,只做拔轴!");
//查询套轴缓存位哦:point_type=1
List<BstIvtCutpointivt> notTaskPoints = bcutpointivtService.getAreaNotTaskPointByLocationAreaAndStatus(empty.getPoint_location());
if (notTaskPoints.size() == 0) {
return;
}
// 筛选一个满足的位置3寸看代数4/56寸直接
//判断气胀轴代
BstIvtCutpointivt cutpointivt = notTaskPoints.stream()
.filter(cut -> "6".equals(cut.getQzz_size()) ||
("3".equals(cut.getQzz_size()) && specification.equals(cut.getQzz_generation())))