| | |
| | | } |
| | | |
| | | locMast.setLocSts("F"); |
| | | locMast.setBarcode(wrkMast.getBarcode()); |
| | | locMast.setModiTime(new Date()); |
| | | boolean result = locMastService.updateById(locMast); |
| | | if (!result) { |
| | |
| | | } |
| | | |
| | | locMast.setLocSts("O"); |
| | | locMast.setBarcode(""); |
| | | locMast.setModiTime(new Date()); |
| | | boolean result = locMastService.updateById(locMast); |
| | | if (!result) { |
| | |
| | | locMastService.updateById(locMast); |
| | | } else if (wrkMast.getIoType() == WrkIoType.OUT.id) { |
| | | LocMast locMast = locMastService.queryByLoc(wrkMast.getSourceLocNo()); |
| | | locMast.setLocSts(String.valueOf(LocStsType.O)); |
| | | locMast.setLocSts(String.valueOf(LocStsType.F)); |
| | | locMast.setModiTime(new Date()); |
| | | locMastService.updateById(locMast); |
| | | } else if (wrkMast.getIoType() == WrkIoType.LOC_MOVE.id) { |