Browse Source

推送梦天增加异步

single_db
汤建军 1 year ago
parent
commit
12aec59ce5
  1. 2
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionAsyncServiceImpl.java

2
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionAsyncServiceImpl.java

@ -1386,6 +1386,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService {
} }
@Override @Override
@Async
public void sendFactory(DistributionParcelListEntity distributionParcelListEntity,String signingTime,Long reservationId,String reservationCode,Long warehouseId) { public void sendFactory(DistributionParcelListEntity distributionParcelListEntity,String signingTime,Long reservationId,String reservationCode,Long warehouseId) {
DistributionStockArticleEntity stockArticleEntity = distributionStockArticleService.getById(distributionParcelListEntity.getStockArticleId()); DistributionStockArticleEntity stockArticleEntity = distributionStockArticleService.getById(distributionParcelListEntity.getStockArticleId());
if (Func.isNotEmpty(stockArticleEntity)){ if (Func.isNotEmpty(stockArticleEntity)){
@ -1406,6 +1407,7 @@ public class DistributionAsyncServiceImpl implements IDistributionAsyncService {
@Override @Override
@Transactional @Transactional
@Async
public void sendReviewFactory(Long signingId,Long warehouseId) { public void sendReviewFactory(Long signingId,Long warehouseId) {
String brands= "梦天";//可追加 String brands= "梦天";//可追加

Loading…
Cancel
Save