fix: 套轴校验执行中任务过滤空值

This commit is contained in:
2024-07-14 14:46:15 +08:00
parent ec353aa614
commit 22c7fac30e
2 changed files with 2 additions and 0 deletions

View File

@@ -18,5 +18,6 @@
LEFT JOIN pdm_bi_slittingproductionplan p ON p.qzzno = t.vehicle_code OR p.qzzno = t.vehicle_code2
WHERE t.task_status <![CDATA[ <= ]]> '071' AND t.task_status <![CDATA[ <> ]]> '07' AND t.task_type = '010813'
AND p.resource_name = #{resourceName}
AND IFNULL(p.qzzno, '') <![CDATA[ <> ]]> ''
</select>
</mapper>

View File

@@ -112,6 +112,7 @@ public class AutoCallAirShaftTask {
makePullShaft(empty, specification);
return;
}
log.info("获取过滤后的分切计划数据:{}", plans);
// 查看套轴对接位是否满了
// todo: 这里需要注意不要去校验071的任务不然提前释放货位没意义。
List<BstIvtCutpointivt> emptyShaftPoint = bcutpointivtService.getAreaNotTaskPointByStatus("1",