|
|
@ -17,59 +17,10 @@ import com.logpm.distribution.dto.DistributionStockArticleDTO; |
|
|
|
import com.logpm.distribution.dto.app.DistrilbutionloadingscanDTO; |
|
|
|
import com.logpm.distribution.dto.app.DistrilbutionloadingscanDTO; |
|
|
|
import com.logpm.distribution.dto.app.StockupDTO; |
|
|
|
import com.logpm.distribution.dto.app.StockupDTO; |
|
|
|
import com.logpm.distribution.dto.app.StockupZeroDTO; |
|
|
|
import com.logpm.distribution.dto.app.StockupZeroDTO; |
|
|
|
import com.logpm.distribution.entity.DisStockListDetailEntity; |
|
|
|
import com.logpm.distribution.entity.*; |
|
|
|
import com.logpm.distribution.entity.DistributionBillLadingScanEntity; |
|
|
|
import com.logpm.distribution.mapper.*; |
|
|
|
import com.logpm.distribution.entity.DistributionDeliveryDetailsEntity; |
|
|
|
import com.logpm.distribution.service.*; |
|
|
|
import com.logpm.distribution.entity.DistributionDeliveryListEntity; |
|
|
|
import com.logpm.distribution.vo.*; |
|
|
|
import com.logpm.distribution.entity.DistributionLoadscanEntity; |
|
|
|
|
|
|
|
import com.logpm.distribution.entity.DistributionLoadscaninvnEntity; |
|
|
|
|
|
|
|
import com.logpm.distribution.entity.DistributionParcelListEntity; |
|
|
|
|
|
|
|
import com.logpm.distribution.entity.DistributionParcelNumberEntity; |
|
|
|
|
|
|
|
import com.logpm.distribution.entity.DistributionReservationEntity; |
|
|
|
|
|
|
|
import com.logpm.distribution.entity.DistributionReservationPackageEntity; |
|
|
|
|
|
|
|
import com.logpm.distribution.entity.DistributionReservationStockarticleEntity; |
|
|
|
|
|
|
|
import com.logpm.distribution.entity.DistributionReservationStocklistEntity; |
|
|
|
|
|
|
|
import com.logpm.distribution.entity.DistributionReservationZeroPackageEntity; |
|
|
|
|
|
|
|
import com.logpm.distribution.entity.DistributionSignforEntity; |
|
|
|
|
|
|
|
import com.logpm.distribution.entity.DistributionStockArticleEntity; |
|
|
|
|
|
|
|
import com.logpm.distribution.entity.DistributionStockEntity; |
|
|
|
|
|
|
|
import com.logpm.distribution.entity.DistributionStockListEntity; |
|
|
|
|
|
|
|
import com.logpm.distribution.entity.DistributionStockupEntity; |
|
|
|
|
|
|
|
import com.logpm.distribution.entity.DistributionStockupInfoEntity; |
|
|
|
|
|
|
|
import com.logpm.distribution.entity.DistrilbutionBillLadingEntity; |
|
|
|
|
|
|
|
import com.logpm.distribution.entity.DistrilbutionBillPackageEntity; |
|
|
|
|
|
|
|
import com.logpm.distribution.entity.DistrilbutionBillStockEntity; |
|
|
|
|
|
|
|
import com.logpm.distribution.mapper.DistributionBillLadingScanMapper; |
|
|
|
|
|
|
|
import com.logpm.distribution.mapper.DistributionDeliveryDetailsMapper; |
|
|
|
|
|
|
|
import com.logpm.distribution.mapper.DistributionDeliveryListMapper; |
|
|
|
|
|
|
|
import com.logpm.distribution.mapper.DistributionLoadscanMapper; |
|
|
|
|
|
|
|
import com.logpm.distribution.mapper.DistributionLoadscaninvnMapper; |
|
|
|
|
|
|
|
import com.logpm.distribution.mapper.DistributionParcelListMapper; |
|
|
|
|
|
|
|
import com.logpm.distribution.mapper.DistributionReservationMapper; |
|
|
|
|
|
|
|
import com.logpm.distribution.mapper.DistributionReservationPackageMapper; |
|
|
|
|
|
|
|
import com.logpm.distribution.mapper.DistributionReservationStockarticleMapper; |
|
|
|
|
|
|
|
import com.logpm.distribution.mapper.DistributionReservationStocklistMapper; |
|
|
|
|
|
|
|
import com.logpm.distribution.mapper.DistributionSignforMapper; |
|
|
|
|
|
|
|
import com.logpm.distribution.mapper.DistributionStockListMapper; |
|
|
|
|
|
|
|
import com.logpm.distribution.mapper.DistributionStockMapper; |
|
|
|
|
|
|
|
import com.logpm.distribution.mapper.DistributionStockupInfoMapper; |
|
|
|
|
|
|
|
import com.logpm.distribution.mapper.DistributionStockupMapper; |
|
|
|
|
|
|
|
import com.logpm.distribution.mapper.DistrilbutionBillLadingMapper; |
|
|
|
|
|
|
|
import com.logpm.distribution.service.IDisStockListDetailService; |
|
|
|
|
|
|
|
import com.logpm.distribution.service.IDistributionAsyncService; |
|
|
|
|
|
|
|
import com.logpm.distribution.service.IDistributionDeliveryDetailsService; |
|
|
|
|
|
|
|
import com.logpm.distribution.service.IDistributionParcelNumberService; |
|
|
|
|
|
|
|
import com.logpm.distribution.service.IDistributionReservationStockarticleService; |
|
|
|
|
|
|
|
import com.logpm.distribution.service.IDistributionReservationStocklistService; |
|
|
|
|
|
|
|
import com.logpm.distribution.service.IDistributionReservationZeroPackageService; |
|
|
|
|
|
|
|
import com.logpm.distribution.service.IDistributionStockArticleService; |
|
|
|
|
|
|
|
import com.logpm.distribution.service.IDistrilbutionBillPackageService; |
|
|
|
|
|
|
|
import com.logpm.distribution.service.IDistrilbutionBillStockService; |
|
|
|
|
|
|
|
import com.logpm.distribution.vo.DistributionParcelNumberVO; |
|
|
|
|
|
|
|
import com.logpm.distribution.vo.DistributionSignPrintVO; |
|
|
|
|
|
|
|
import com.logpm.distribution.vo.DistributionStockPackageVO; |
|
|
|
|
|
|
|
import com.logpm.distribution.vo.DistributionStockupSelfVO; |
|
|
|
|
|
|
|
import com.logpm.distribution.vo.DistrilbutionBillStockVO; |
|
|
|
|
|
|
|
import com.logpm.factory.comfac.dto.OrderStatusDTO; |
|
|
|
import com.logpm.factory.comfac.dto.OrderStatusDTO; |
|
|
|
import com.logpm.factory.mt.dto.MtReceiveContentDTO; |
|
|
|
import com.logpm.factory.mt.dto.MtReceiveContentDTO; |
|
|
|
import com.logpm.factory.mt.dto.MtReceiveDTO; |
|
|
|
import com.logpm.factory.mt.dto.MtReceiveDTO; |
|
|
@ -77,7 +28,6 @@ import com.logpm.factory.mt.dto.MtReceiveImagesDTO; |
|
|
|
import com.logpm.factory.mt.feign.IMtOrderMainClinet; |
|
|
|
import com.logpm.factory.mt.feign.IMtOrderMainClinet; |
|
|
|
import com.logpm.factory.oupai.feign.IOuPaiFactoryClinet; |
|
|
|
import com.logpm.factory.oupai.feign.IOuPaiFactoryClinet; |
|
|
|
import com.logpm.factorydata.enums.BrandEnums; |
|
|
|
import com.logpm.factorydata.enums.BrandEnums; |
|
|
|
import org.springblade.common.constant.WorkNodeEnums; |
|
|
|
|
|
|
|
import com.logpm.factorydata.util.FactoryDataMessageSender; |
|
|
|
import com.logpm.factorydata.util.FactoryDataMessageSender; |
|
|
|
import com.logpm.factorydata.vo.NodePushMsg; |
|
|
|
import com.logpm.factorydata.vo.NodePushMsg; |
|
|
|
import com.logpm.trunkline.dto.AddWaybillTrackDTO; |
|
|
|
import com.logpm.trunkline.dto.AddWaybillTrackDTO; |
|
|
@ -91,6 +41,7 @@ import org.springblade.common.constant.DistributionTypeConstant; |
|
|
|
import org.springblade.common.constant.Inventory.InventoryLoadingStatusConstant; |
|
|
|
import org.springblade.common.constant.Inventory.InventoryLoadingStatusConstant; |
|
|
|
import org.springblade.common.constant.Inventory.InventoryPackageStatusConstant; |
|
|
|
import org.springblade.common.constant.Inventory.InventoryPackageStatusConstant; |
|
|
|
import org.springblade.common.constant.Inventory.InventorySigningStatusConstant; |
|
|
|
import org.springblade.common.constant.Inventory.InventorySigningStatusConstant; |
|
|
|
|
|
|
|
import org.springblade.common.constant.WorkNodeEnums; |
|
|
|
import org.springblade.common.constant.common.IsOrNoConstant; |
|
|
|
import org.springblade.common.constant.common.IsOrNoConstant; |
|
|
|
import org.springblade.common.constant.delivery.DeliveryLoadingStatusConstant; |
|
|
|
import org.springblade.common.constant.delivery.DeliveryLoadingStatusConstant; |
|
|
|
import org.springblade.common.constant.delivery.DeliveryStatusConstant; |
|
|
|
import org.springblade.common.constant.delivery.DeliveryStatusConstant; |
|
|
@ -102,20 +53,12 @@ import org.springblade.common.constant.orderpackage.OrderPackageLoadingStatusCon |
|
|
|
import org.springblade.common.constant.orderpackage.OrderPackageReservationStatusConstant; |
|
|
|
import org.springblade.common.constant.orderpackage.OrderPackageReservationStatusConstant; |
|
|
|
import org.springblade.common.constant.orderpackage.OrderPackageStatusConstant; |
|
|
|
import org.springblade.common.constant.orderpackage.OrderPackageStatusConstant; |
|
|
|
import org.springblade.common.constant.orderpackage.OrderPackageStockupStatusConstant; |
|
|
|
import org.springblade.common.constant.orderpackage.OrderPackageStockupStatusConstant; |
|
|
|
import org.springblade.common.constant.reservation.ReservationInventoryLoadingStatusConstant; |
|
|
|
import org.springblade.common.constant.reservation.*; |
|
|
|
import org.springblade.common.constant.reservation.ReservationInventorySigningStatusConstant; |
|
|
|
|
|
|
|
import org.springblade.common.constant.reservation.ReservationInventoryStatusConstant; |
|
|
|
|
|
|
|
import org.springblade.common.constant.reservation.ReservationLoadingStatusConstant; |
|
|
|
|
|
|
|
import org.springblade.common.constant.reservation.ReservationOrderStatusConstant; |
|
|
|
|
|
|
|
import org.springblade.common.constant.reservation.ReservationPackageStatusConstant; |
|
|
|
|
|
|
|
import org.springblade.common.constant.reservation.ReservationSigningStatusConstant; |
|
|
|
|
|
|
|
import org.springblade.common.constant.reservation.ReservationStockupStatusConstant; |
|
|
|
|
|
|
|
import org.springblade.common.constant.signing.SignforStatusConstant; |
|
|
|
import org.springblade.common.constant.signing.SignforStatusConstant; |
|
|
|
import org.springblade.common.constant.stockup.StockupStatusConstant; |
|
|
|
import org.springblade.common.constant.stockup.StockupStatusConstant; |
|
|
|
import org.springblade.common.constant.stockup.StockupTypeConstant; |
|
|
|
import org.springblade.common.constant.stockup.StockupTypeConstant; |
|
|
|
import org.springblade.core.log.exception.ServiceException; |
|
|
|
import org.springblade.core.log.exception.ServiceException; |
|
|
|
import org.springblade.core.secure.BladeUser; |
|
|
|
import org.springblade.core.secure.BladeUser; |
|
|
|
import org.springblade.core.secure.utils.AuthUtil; |
|
|
|
|
|
|
|
import org.springblade.core.tool.utils.Func; |
|
|
|
import org.springblade.core.tool.utils.Func; |
|
|
|
import org.springframework.scheduling.annotation.Async; |
|
|
|
import org.springframework.scheduling.annotation.Async; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
@ -123,12 +66,7 @@ import org.springframework.transaction.annotation.Isolation; |
|
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
|
|
|
|
|
|
|
|
|
import java.text.SimpleDateFormat; |
|
|
|
import java.text.SimpleDateFormat; |
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.*; |
|
|
|
import java.util.Date; |
|
|
|
|
|
|
|
import java.util.HashMap; |
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
import java.util.Objects; |
|
|
|
|
|
|
|
import java.util.concurrent.atomic.AtomicBoolean; |
|
|
|
import java.util.concurrent.atomic.AtomicBoolean; |
|
|
|
import java.util.concurrent.atomic.AtomicInteger; |
|
|
|
import java.util.concurrent.atomic.AtomicInteger; |
|
|
|
import java.util.concurrent.atomic.AtomicReference; |
|
|
|
import java.util.concurrent.atomic.AtomicReference; |
|
|
@ -183,7 +121,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { |
|
|
|
// private final
|
|
|
|
// private final
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
@Async |
|
|
|
@Async("asyncExecutor") |
|
|
|
@Transactional(isolation = Isolation.READ_UNCOMMITTED, rollbackFor = Exception.class) |
|
|
|
@Transactional(isolation = Isolation.READ_UNCOMMITTED, rollbackFor = Exception.class) |
|
|
|
public void makeSureByPackage(DistrilbutionloadingscanDTO distrilbutionloadingscanDTO) { |
|
|
|
public void makeSureByPackage(DistrilbutionloadingscanDTO distrilbutionloadingscanDTO) { |
|
|
|
log.info("[makeSureByPackage]线程开启>>>>>>>>>>>>>>>>>>>>>>>>{}", distrilbutionloadingscanDTO); |
|
|
|
log.info("[makeSureByPackage]线程开启>>>>>>>>>>>>>>>>>>>>>>>>{}", distrilbutionloadingscanDTO); |
|
|
@ -238,7 +176,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { |
|
|
|
* @return |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
@Async |
|
|
|
@Async("asyncExecutor") |
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
public Boolean getSelfPickup(Long id) { |
|
|
|
public Boolean getSelfPickup(Long id) { |
|
|
|
DistributionParcelListEntity entity = new DistributionParcelListEntity(); |
|
|
|
DistributionParcelListEntity entity = new DistributionParcelListEntity(); |
|
|
@ -254,7 +192,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { |
|
|
|
* @return |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
@Async |
|
|
|
@Async("asyncExecutor") |
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
public Boolean getOrderSelfPickup(Long id) { |
|
|
|
public Boolean getOrderSelfPickup(Long id) { |
|
|
|
DistributionStockArticleEntity entity = new DistributionStockArticleEntity(); |
|
|
|
DistributionStockArticleEntity entity = new DistributionStockArticleEntity(); |
|
|
@ -264,7 +202,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
@Async |
|
|
|
@Async("asyncExecutor") |
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
public Boolean getInventorySelfPickup(Long id) { |
|
|
|
public Boolean getInventorySelfPickup(Long id) { |
|
|
|
DistributionStockEntity distributionStock = new DistributionStockEntity(); |
|
|
|
DistributionStockEntity distributionStock = new DistributionStockEntity(); |
|
|
@ -275,7 +213,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
@Async |
|
|
|
@Async("asyncExecutor") |
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
public Boolean getInventoryOrderSelfPickup(Long id) { |
|
|
|
public Boolean getInventoryOrderSelfPickup(Long id) { |
|
|
|
DistributionDeliveryDetailsEntity deliveryDetails = new DistributionDeliveryDetailsEntity(); |
|
|
|
DistributionDeliveryDetailsEntity deliveryDetails = new DistributionDeliveryDetailsEntity(); |
|
|
@ -303,7 +241,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { |
|
|
|
* |
|
|
|
* |
|
|
|
* @param id 订单ID |
|
|
|
* @param id 订单ID |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Async |
|
|
|
@Async("asyncExecutor") |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void updateStockArticleStock(Long id) { |
|
|
|
public void updateStockArticleStock(Long id) { |
|
|
|
log.debug("###查询订单备货状态"); |
|
|
|
log.debug("###查询订单备货状态"); |
|
|
@ -331,7 +269,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { |
|
|
|
* |
|
|
|
* |
|
|
|
* @param ids 订单ID |
|
|
|
* @param ids 订单ID |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Async |
|
|
|
@Async("asyncExecutor") |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void updateParcelListReservation(List<Long> ids) { |
|
|
|
public void updateParcelListReservation(List<Long> ids) { |
|
|
|
log.debug("####修改包件预约状态"); |
|
|
|
log.debug("####修改包件预约状态"); |
|
|
@ -356,7 +294,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Async |
|
|
|
@Async("asyncExecutor") |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public Boolean getInventoryNumUpdate(Long id, Integer num, Integer type) { |
|
|
|
public Boolean getInventoryNumUpdate(Long id, Integer num, Integer type) { |
|
|
|
//查询
|
|
|
|
//查询
|
|
|
@ -379,7 +317,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Async |
|
|
|
@Async("asyncExecutor") |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
@Transactional(isolation = Isolation.READ_UNCOMMITTED, rollbackFor = Exception.class) |
|
|
|
@Transactional(isolation = Isolation.READ_UNCOMMITTED, rollbackFor = Exception.class) |
|
|
|
public void changeOrderSignforStatus(DistributionParcelListEntity parcelListEntity) { |
|
|
|
public void changeOrderSignforStatus(DistributionParcelListEntity parcelListEntity) { |
|
|
@ -400,7 +338,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Async |
|
|
|
@Async("asyncExecutor") |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
@Transactional(isolation = Isolation.READ_UNCOMMITTED, rollbackFor = Exception.class) |
|
|
|
@Transactional(isolation = Isolation.READ_UNCOMMITTED, rollbackFor = Exception.class) |
|
|
|
public void changeDiscussDeliveryListStatus(String barcode, Long deliveryId) { |
|
|
|
public void changeDiscussDeliveryListStatus(String barcode, Long deliveryId) { |
|
|
@ -460,7 +398,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Async |
|
|
|
@Async("asyncExecutor") |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
@Transactional(isolation = Isolation.READ_UNCOMMITTED, rollbackFor = Exception.class) |
|
|
|
@Transactional(isolation = Isolation.READ_UNCOMMITTED, rollbackFor = Exception.class) |
|
|
|
public void changeMarketDeliveryListStatus(String barcode, Long deliveryId, Long reservationId) { |
|
|
|
public void changeMarketDeliveryListStatus(String barcode, Long deliveryId, Long reservationId) { |
|
|
@ -506,7 +444,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { |
|
|
|
checkReservationAndDeliveryLoadingStatus(deliveryId, reservationId); |
|
|
|
checkReservationAndDeliveryLoadingStatus(deliveryId, reservationId); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Async |
|
|
|
@Async("asyncExecutor") |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
@Transactional(isolation = Isolation.READ_UNCOMMITTED, rollbackFor = Exception.class) |
|
|
|
@Transactional(isolation = Isolation.READ_UNCOMMITTED, rollbackFor = Exception.class) |
|
|
|
public void checkDeliverySignStatus(String barcode, Long deliveryId) { |
|
|
|
public void checkDeliverySignStatus(String barcode, Long deliveryId) { |
|
|
@ -697,7 +635,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { |
|
|
|
distributionDeliveryListMapper.updateById(deliveryListEntity); |
|
|
|
distributionDeliveryListMapper.updateById(deliveryListEntity); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Async |
|
|
|
@Async("asyncExecutor") |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
@Transactional(isolation = Isolation.READ_UNCOMMITTED, rollbackFor = Exception.class) |
|
|
|
@Transactional(isolation = Isolation.READ_UNCOMMITTED, rollbackFor = Exception.class) |
|
|
|
public void checkDeliverySignStatusByReservation(Long deliveryId) { |
|
|
|
public void checkDeliverySignStatusByReservation(Long deliveryId) { |
|
|
@ -1503,7 +1441,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
@Async |
|
|
|
@Async("asyncExecutor") |
|
|
|
public void sendFactory(DistributionParcelListEntity distributionParcelListEntity, String signingTime, Long reservationId, String reservationCode, String warehouseName, String userName) { |
|
|
|
public void sendFactory(DistributionParcelListEntity distributionParcelListEntity, String signingTime, Long reservationId, String reservationCode, String warehouseName, String userName) { |
|
|
|
DistributionStockArticleEntity stockArticleEntity = distributionStockArticleService.getById(distributionParcelListEntity.getStockArticleId()); |
|
|
|
DistributionStockArticleEntity stockArticleEntity = distributionStockArticleService.getById(distributionParcelListEntity.getStockArticleId()); |
|
|
|
log.info(">>>>>>>>>>> 签收推送 对象 {}", distributionParcelListEntity); |
|
|
|
log.info(">>>>>>>>>>> 签收推送 对象 {}", distributionParcelListEntity); |
|
|
@ -1537,7 +1475,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
@Async |
|
|
|
@Async("asyncExecutor") |
|
|
|
public void sendReviewFactory(Long signingId, String warehouseName, Long warehouseId) { |
|
|
|
public void sendReviewFactory(Long signingId, String warehouseName, Long warehouseId) { |
|
|
|
String brands = "梦天,欧派,志邦";//可追加
|
|
|
|
String brands = "梦天,欧派,志邦";//可追加
|
|
|
|
log.info(">>>>>>>>>>> 签收推送 对象 {}", "signingId:=" + signingId + "warehouseName:=" + warehouseName + "warehouseId:=" + warehouseId); |
|
|
|
log.info(">>>>>>>>>>> 签收推送 对象 {}", "signingId:=" + signingId + "warehouseName:=" + warehouseName + "warehouseId:=" + warehouseId); |
|
|
@ -1690,7 +1628,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
@Async |
|
|
|
@Async("asyncExecutor") |
|
|
|
@Transactional |
|
|
|
@Transactional |
|
|
|
public void maintenanceOrderStatus(String orderCode, Long warehouseId) { |
|
|
|
public void maintenanceOrderStatus(String orderCode, Long warehouseId) { |
|
|
|
distributionStockArticleService.updateOrderInfo(orderCode, warehouseId); |
|
|
|
distributionStockArticleService.updateOrderInfo(orderCode, warehouseId); |
|
|
@ -1698,7 +1636,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
@Transactional |
|
|
|
@Transactional |
|
|
|
@Async |
|
|
|
@Async("asyncExecutor") |
|
|
|
public void releaseSource(Long reservationId, Long warehouseId) { |
|
|
|
public void releaseSource(Long reservationId, Long warehouseId) { |
|
|
|
String method = "##########################DistributionAsyncServiceImpl.releaseSource"; |
|
|
|
String method = "##########################DistributionAsyncServiceImpl.releaseSource"; |
|
|
|
DistributionReservationEntity reservationEntity = distributionReservationMapper.selectById(reservationId); |
|
|
|
DistributionReservationEntity reservationEntity = distributionReservationMapper.selectById(reservationId); |
|
|
@ -1890,7 +1828,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { |
|
|
|
* @param stockupDTO |
|
|
|
* @param stockupDTO |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
@Async |
|
|
|
@Async("asyncExecutor") |
|
|
|
public void updateStockupDate(StockupDTO stockupDTO) { |
|
|
|
public void updateStockupDate(StockupDTO stockupDTO) { |
|
|
|
|
|
|
|
|
|
|
|
Integer scanType = stockupDTO.getScanType();//扫码类型 1 包件 2库存品
|
|
|
|
Integer scanType = stockupDTO.getScanType();//扫码类型 1 包件 2库存品
|
|
|
@ -2019,7 +1957,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { |
|
|
|
* 备货库存品备货时间回显 |
|
|
|
* 备货库存品备货时间回显 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
@Async |
|
|
|
@Async("asyncExecutor") |
|
|
|
public void updateStockupStockListDate(StockupDTO stockupDTO) { |
|
|
|
public void updateStockupStockListDate(StockupDTO stockupDTO) { |
|
|
|
Integer scanType = stockupDTO.getScanType();//扫码类型 1 包件 2库存品
|
|
|
|
Integer scanType = stockupDTO.getScanType();//扫码类型 1 包件 2库存品
|
|
|
|
Long reservationId = stockupDTO.getReservationId();//预约ID
|
|
|
|
Long reservationId = stockupDTO.getReservationId();//预约ID
|
|
|
@ -2241,7 +2179,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { |
|
|
|
/** |
|
|
|
/** |
|
|
|
* 自提签收片段是否签收完全 |
|
|
|
* 自提签收片段是否签收完全 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Async |
|
|
|
@Async("asyncExecutor") |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
public void getStockUPstate(Long billLadingId) { |
|
|
|
public void getStockUPstate(Long billLadingId) { |
|
|
@ -2327,7 +2265,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Async |
|
|
|
@Async("asyncExecutor") |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
@Transactional(isolation = Isolation.READ_UNCOMMITTED, rollbackFor = Exception.class) |
|
|
|
@Transactional(isolation = Isolation.READ_UNCOMMITTED, rollbackFor = Exception.class) |
|
|
|
public void checkStockArticleSignStatus(DistributionParcelListEntity parcelListEntity) { |
|
|
|
public void checkStockArticleSignStatus(DistributionParcelListEntity parcelListEntity) { |
|
|
@ -2384,7 +2322,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Async |
|
|
|
@Async("asyncExecutor") |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
@Transactional(isolation = Isolation.READ_UNCOMMITTED, rollbackFor = Exception.class) |
|
|
|
@Transactional(isolation = Isolation.READ_UNCOMMITTED, rollbackFor = Exception.class) |
|
|
|
public void changeOrderStatus(String barcode, Long deliveryId) { |
|
|
|
public void changeOrderStatus(String barcode, Long deliveryId) { |
|
|
@ -2403,7 +2341,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { |
|
|
|
distributionStockArticleService.updateById(stockArticleEntity); |
|
|
|
distributionStockArticleService.updateById(stockArticleEntity); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Async |
|
|
|
@Async("asyncExecutor") |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
@Transactional(isolation = Isolation.READ_UNCOMMITTED, rollbackFor = Exception.class) |
|
|
|
@Transactional(isolation = Isolation.READ_UNCOMMITTED, rollbackFor = Exception.class) |
|
|
|
public void changeDeliverySignforListStatus(Long deliveryId, DistributionParcelListEntity parcelListEntity) { |
|
|
|
public void changeDeliverySignforListStatus(Long deliveryId, DistributionParcelListEntity parcelListEntity) { |
|
|
@ -2527,7 +2465,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService { |
|
|
|
distributionStockArticleService.updateById(stockArticleEntity); |
|
|
|
distributionStockArticleService.updateById(stockArticleEntity); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Async |
|
|
|
@Async("asyncExecutor") |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
@Transactional(isolation = Isolation.READ_UNCOMMITTED, rollbackFor = Exception.class) |
|
|
|
@Transactional(isolation = Isolation.READ_UNCOMMITTED, rollbackFor = Exception.class) |
|
|
|
public void checkStockArticleLoadingStatus(DistributionParcelListEntity parcelListEntity) { |
|
|
|
public void checkStockArticleLoadingStatus(DistributionParcelListEntity parcelListEntity) { |
|
|
|