|
|
@ -63,6 +63,8 @@ public class CatchPalletServiceImpl extends ServiceImpl<CatchPalletMapper, Catch |
|
|
|
|
|
|
|
|
List<Pallet> list = palletService.lambdaQuery() |
|
|
List<Pallet> list = palletService.lambdaQuery() |
|
|
.eq(Pallet::getPalletNo, pallet.getPalletNo().trim()) |
|
|
.eq(Pallet::getPalletNo, pallet.getPalletNo().trim()) |
|
|
|
|
|
.orderByAsc(Pallet::getSku) |
|
|
|
|
|
.orderByAsc(Pallet::getSn) |
|
|
.list(); |
|
|
.list(); |
|
|
if (list.isEmpty()){ |
|
|
if (list.isEmpty()){ |
|
|
throw new RuntimeException("no Pallet Label found \""+pallet.getPalletNo().trim()+"\""); |
|
|
throw new RuntimeException("no Pallet Label found \""+pallet.getPalletNo().trim()+"\""); |
|
|
|