| | |
| | | } |
| | | } |
| | | |
| | | //----------------2023.06.02兼容代码,后期库位规则符合要求后可删除------------------------ |
| | | //如果以上都找不到库位,则强制搜索1、2堆垛机空库位进行入库,保障3号堆垛机库位都是符合要求的 |
| | | EntityWrapper<LocMast> wrapper = new EntityWrapper<>(); |
| | | wrapper.eq("loc_type1", locTypeDto.getLocType1()); |
| | | wrapper.in("crn_no", "1,2"); |
| | | wrapper.eq("loc_sts", "O"); |
| | | locMast = locMastService.selectOne(wrapper); |
| | | if (locMast != null) { |
| | | //找到库位,返回dto |
| | | return getLocNoFinalStep(staDescId, sourceStaNo, locMast);//返回dto |
| | | } |
| | | //----------------2023.06.02兼容代码end--------------------- |
| | | |
| | | throw new CoolException("检索库位失败,请联系管理员"); |
| | | } |
| | | |