| | |
| | | continue; |
| | | } |
| | | |
| | | LocMast sourceLocMast= locMastService.queryByLoc(sourceLocNo); |
| | | LocMast sourceLocMast = locMastService.queryByLoc(sourceLocNo); |
| | | if (sourceLocMast == null) { |
| | | log.info("[workNo={}]库位不存在", wrkMast.getWrkNo()); |
| | | continue; |
| | |
| | | } |
| | | |
| | | locMast.setLocSts("F"); |
| | | locMast.setBarcode(wrkMast.getBarcode()); |
| | | locMast.setModiTime(new Date()); |
| | | boolean result = locMastService.updateById(locMast); |
| | | if (!result) { |
| | |
| | | } |
| | | |
| | | sourceLocMast.setLocSts("O"); |
| | | sourceLocMast.setBarcode(""); |
| | | sourceLocMast.setModiTime(new Date()); |
| | | boolean result2 = locMastService.updateById(sourceLocMast); |
| | | if (!result2) { |