fix: 修改区域选择
This commit is contained in:
@@ -85,9 +85,8 @@ public class AutoSendAirShaftAgvTask {
|
||||
// 获取任意一条
|
||||
PdmBiSlittingproductionplan demoPlan = plans.get(0);
|
||||
// 区域(B1, B2, B3, B4)
|
||||
String area = demoPlan.getContainer_name().substring(0, 2);
|
||||
StIvtCutpointivt deviceCut = cutpointivtService.getOne(new LambdaQueryWrapper<StIvtCutpointivt>()
|
||||
.eq(StIvtCutpointivt::getExt_code, demoPlan.getResource_name()));
|
||||
StIvtCutpointivt deviceCut = cutpointivtService.getPintByExtCode(demoPlan.getResource_name(), false);
|
||||
String area = deviceCut.getProduct_area();
|
||||
// 校验是否为一组
|
||||
if (ObjectUtil.isEmpty(cutPoint.getQzz_no1()) || ObjectUtil.isEmpty(cutPoint.getQzz_no2())) {
|
||||
// 单条可能还有一条未套轴
|
||||
|
||||
Reference in New Issue
Block a user