| | |
| | | // 检索库位 |
| | | List<String> matNos = waitPakins.stream().map(WaitPakin::getMatnr).distinct().collect(Collectors.toList()); |
| | | int rowCount = rowLastnoService.selectCount(null); |
| | | Integer integer = 1; |
| | | Integer integer = 2; |
| | | for (int i = 1; i <= rowCount; i++) { |
| | | integer = rowLastnoService.selectNextWhsType(); |
| | | BasCrnp crn_no = basCrnpService.selectOne(new EntityWrapper<BasCrnp>() |
| | | .eq("crn_no", i)); |
| | | if (crn_no.getInEnable().equals("Y") && crn_no.getCrnSts().equals("3")){ |
| | | .eq("crn_no", integer)); |
| | | if (crn_no.getInEnable().equals("Y") && crn_no.getCrnSts() == 3){ |
| | | break; |
| | | } |
| | | } |