|
@@ -318,6 +318,18 @@ public class BusinessServiceImpl implements IBusinessService {
|
|
|
if (!redisCache.lockCacheObject(RedisKey.LOCK_LOCATION + b.getId(), b.getId().toString(), token)) {
|
|
|
continue;
|
|
|
}
|
|
|
+ // 永湖仓储区一层高度为1700,其他为2300
|
|
|
+ // 入库和回库的时候,入库位IN-02-01(200)和回库位RET-01-01(500)只能入到一层,其他的不能入到一层
|
|
|
+ if (b.getLocationNo().equals("IN-02-01") || b.getLocationNo().equals("RET-01-01")
|
|
|
+ || b.getAgvStation() == 200 || b.getAgvStation() == 500) {
|
|
|
+ if (!b.getShiftNo().equals("1")) {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ if (b.getShiftNo().equals("1")) {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
+ }
|
|
|
locationInfo = b;
|
|
|
break;
|
|
|
}
|