Browse Source

Merge branch 'dev' into pre-production

master
zhenghaoyu 8 months ago
parent
commit
c82eddc3e1
  1. 4
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockArticleMapper.xml
  2. 4
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistrilbutionBillLadingServiceImpl.java

4
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockArticleMapper.xml

@ -365,7 +365,7 @@
ldsa.total_number totalNum, ldsa.total_number totalNum,
count(ldpl.id) num count(ldpl.id) num
FROM logpm_distribution_stock_article ldsa FROM logpm_distribution_stock_article ldsa
left join logpm_distribution_parcel_list ldpl on ldpl.order_code = ldsa.order_code left join logpm_distribution_parcel_list ldpl on ldpl.stock_article_id = ldsa.id
left join logpm_warehouse_tray_goods lwtg left join logpm_warehouse_tray_goods lwtg
on ldpl.order_package_code = lwtg.association_value and lwtg.association_type = 3 on ldpl.order_package_code = lwtg.association_value and lwtg.association_type = 3
left join logpm_warehouse_updown_goods lwug left join logpm_warehouse_updown_goods lwug
@ -388,7 +388,7 @@
ldsa.total_number totalNum, ldsa.total_number totalNum,
count(ldpl.id) num count(ldpl.id) num
FROM logpm_distribution_stock_article ldsa FROM logpm_distribution_stock_article ldsa
left join logpm_distribution_parcel_list ldpl on ldpl.order_code = ldsa.order_code left join logpm_distribution_parcel_list ldpl on ldpl.stock_article_id = ldsa.id
left join logpm_warehouse_tray_goods lwtg left join logpm_warehouse_tray_goods lwtg
on ldpl.order_package_code = lwtg.association_value and lwtg.association_type = 3 on ldpl.order_package_code = lwtg.association_value and lwtg.association_type = 3
left join logpm_warehouse_updown_goods lwug left join logpm_warehouse_updown_goods lwug

4
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistrilbutionBillLadingServiceImpl.java

@ -3153,8 +3153,12 @@ public class DistrilbutionBillLadingServiceImpl extends BaseServiceImpl<Distrilb
DistributionParcelListEntity distributionParcelListEntity = null; DistributionParcelListEntity distributionParcelListEntity = null;
for (DistributionParcelListEntity parcelListEntity : list1) { for (DistributionParcelListEntity parcelListEntity : list1) {
log.debug("getScan parcelListEntity >>>> {}", parcelListEntity);
log.debug("getScan so >>>> {}", so);
log.debug("getScan coding >>>> {}", coding);
if (parcelListEntity.getStockArticleId().equals(so.getStockArticleId()) && parcelListEntity.getOrderPackageCode().equals(coding)) { if (parcelListEntity.getStockArticleId().equals(so.getStockArticleId()) && parcelListEntity.getOrderPackageCode().equals(coding)) {
distributionParcelListEntity = parcelListEntity; distributionParcelListEntity = parcelListEntity;
break;
} }
} }

Loading…
Cancel
Save