From 66c991b89f3f22f04dd5d56f852938c31dd16798 Mon Sep 17 00:00:00 2001
From: L <L@123>
Date: 星期三, 21 一月 2026 08:19:00 +0800
Subject: [PATCH] *
---
src/main/java/com/zy/asrs/entity/WaitPakinLog.java | 17 ++++++++++++-----
1 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/src/main/java/com/zy/asrs/entity/WaitPakinLog.java b/src/main/java/com/zy/asrs/entity/WaitPakinLog.java
index a3769e7..bf7bd35 100644
--- a/src/main/java/com/zy/asrs/entity/WaitPakinLog.java
+++ b/src/main/java/com/zy/asrs/entity/WaitPakinLog.java
@@ -238,12 +238,19 @@
}
public int getBrandArmType$(){
- BasBoxTypeService basBoxTypeService = SpringUtils.getBean(BasBoxTypeService.class);
- List<BasBoxType> basBoxTypes = basBoxTypeService.selectList(new EntityWrapper<BasBoxType>().eq("box_type", this.brand).orderBy("id", true));
- for (BasBoxType basBoxType:basBoxTypes){
- return basBoxType.getArmType();
+ try{
+ BasBoxTypeService basBoxTypeService = SpringUtils.getBean(BasBoxTypeService.class);
+ List<BasBoxType> basBoxTypes = basBoxTypeService.selectList(new EntityWrapper<BasBoxType>().eq("box_type", this.brand).orderBy("id", true));
+ for (BasBoxType basBoxType:basBoxTypes){
+ if (basBoxType.getArmType()!=1){
+ return 999;
+ }
+ return basBoxType.getArmType();
+ }
+ return 999;
+ } catch (Exception e){
+ return 999;
}
- return 999;
}
}
--
Gitblit v1.9.1