| | |
| | | .in(TStore::getId,storeIds)); |
| | | } |
| | | for (TFrameWarehousingDetailVO tFrameWarehousingDetailVO : list) { |
| | | if (tFrameWarehousingDetailVO.getOrderId()!=null){ |
| | | tFrameWarehousingDetailVO.setStatus(5); |
| | | } |
| | | if(CollectionUtils.isNotEmpty(stores)){ |
| | | TStore store = stores.stream().filter(tStore -> tStore.getId().equals(tFrameWarehousingDetailVO.getStoreId())).findFirst().orElse(null); |
| | | if(Objects.nonNull(store)){ |
| | |
| | | @GetMapping(value = "/cancelLineUp") |
| | | public ApiResult cancelLineUp(Integer id) { |
| | | TLineUp lineUp = tLineUpService.getById(id); |
| | | lineUp.setStatus(5); |
| | | lineUp.setStatus(4); |
| | | tLineUpService.updateById(lineUp); |
| | | TOptometry one = optometryService.lambdaQuery().eq(TOptometry::getLineUpId, lineUp.getId()).one(); |
| | | if (one!=null){ |
| | | one.setStatus(5); |
| | | one.setStatus(4); |
| | | optometryService.updateById(one); |
| | | } |
| | | return ApiResult.success(); |