|
|
|
@ -204,16 +204,16 @@ public class DistributionParcelListServiceImpl extends BaseServiceImpl<Distribut
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
try{ |
|
|
|
|
QueryWrapper<DistributionParcelListEntity> queryWrapper = new QueryWrapper<>(); |
|
|
|
|
queryWrapper.eq("order_package_code",orderPackageCode) |
|
|
|
|
.eq("warehouse_id",warehouseId) |
|
|
|
|
.eq("is_deleted",0); |
|
|
|
|
DistributionParcelListEntity parcelListEntity = baseMapper.selectOne(queryWrapper); |
|
|
|
|
parcelListEntity.setOrderPackageGroundingStatus(groundingStatus); |
|
|
|
|
int i = baseMapper.updateById(parcelListEntity); |
|
|
|
|
// QueryWrapper<DistributionParcelListEntity> queryWrapper = new QueryWrapper<>();
|
|
|
|
|
// queryWrapper.eq("order_package_code",orderPackageCode)
|
|
|
|
|
// .eq("warehouse_id",warehouseId)
|
|
|
|
|
// .eq("is_deleted",0);
|
|
|
|
|
// DistributionParcelListEntity parcelListEntity = baseMapper.selectOne(queryWrapper);
|
|
|
|
|
// parcelListEntity.setOrderPackageGroundingStatus(groundingStatus);
|
|
|
|
|
// int i = baseMapper.updateById(parcelListEntity);
|
|
|
|
|
|
|
|
|
|
// 更新状态
|
|
|
|
|
baseMapper.updateOrderPackageCodeById(parcelListEntity.getId(),groundingStatus); |
|
|
|
|
baseMapper.updateGroundingStatusByOrderPackageCode(orderPackageCode,groundingStatus,warehouseId); |
|
|
|
|
}catch (Exception e){ |
|
|
|
|
// 更新状态报错
|
|
|
|
|
log.error(">>>>>> updateGroundingStatus 异常信息",e); |
|
|
|
|