diff --git a/blade-service/logpm-statisticsdata/src/main/java/com/logpm/statistics/listener/mq/WaybillCheckListener.java b/blade-service/logpm-statisticsdata/src/main/java/com/logpm/statistics/listener/mq/WaybillCheckListener.java index 2a0d24e91..6357b17ff 100644 --- a/blade-service/logpm-statisticsdata/src/main/java/com/logpm/statistics/listener/mq/WaybillCheckListener.java +++ b/blade-service/logpm-statisticsdata/src/main/java/com/logpm/statistics/listener/mq/WaybillCheckListener.java @@ -575,6 +575,12 @@ public class WaybillCheckListener { Integer systemChargeType = warehouseWayBillDetail.getSystemChargeType();//系统运费计算方式 Integer systemPickupChargeType = warehouseWayBillDetail.getSystemPickupChargeType();//系统提货计算方式 默认案件数分摊 + if(Objects.isNull(systemChargeType)){ + systemChargeType = chargeType; + } + + + BigDecimal productTotalWeight = warehouseWayBillDetail.getWeight();//运单品类的总重量 Integer num = warehouseWayBillDetail.getNum();//运单品类的总数量 BigDecimal productTotalVolume = warehouseWayBillDetail.getVolume();//运单品类总体积 diff --git a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mapper/TrunklineCarsLoadScanMapper.java b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mapper/TrunklineCarsLoadScanMapper.java index a25e60827..308839037 100644 --- a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mapper/TrunklineCarsLoadScanMapper.java +++ b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mapper/TrunklineCarsLoadScanMapper.java @@ -197,4 +197,6 @@ public interface TrunklineCarsLoadScanMapper extends BaseMapper findUnloadNoDataList(@Param("loadId") Long loadId, @Param("warehouseId") Long warehouseId); void updateReserve1ByOrderPackageCode(@Param("orderPackageCode") String orderPackageCode, @Param("reseve1") String reseve1); + + List findListByIdsAndType(@Param("carsLoadScanIdList") List carsLoadScanIdList, @Param("type") int type); } diff --git a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mapper/TrunklineCarsLoadScanMapper.xml b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mapper/TrunklineCarsLoadScanMapper.xml index 71ad5f499..a30ff4dab 100644 --- a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mapper/TrunklineCarsLoadScanMapper.xml +++ b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mapper/TrunklineCarsLoadScanMapper.xml @@ -1180,4 +1180,14 @@ where scan_code = #{orderPackageCode} + + diff --git a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/ITrunklineCarsLoadScanService.java b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/ITrunklineCarsLoadScanService.java index f0ae3aff5..83f0c9812 100644 --- a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/ITrunklineCarsLoadScanService.java +++ b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/ITrunklineCarsLoadScanService.java @@ -199,4 +199,6 @@ public interface ITrunklineCarsLoadScanService extends BaseService findUnloadNoDataList(Long loadId, Long warehouseId); void updateReserve1ByOrderPackageCode(String orderPackageCode, String reseve1); + + List findListByIdsAndType(List carsLoadScanIdList, int type); } diff --git a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/TrunklineCarsLoadScanServiceImpl.java b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/TrunklineCarsLoadScanServiceImpl.java index e63b5ee12..f638d1f30 100644 --- a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/TrunklineCarsLoadScanServiceImpl.java +++ b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/impl/TrunklineCarsLoadScanServiceImpl.java @@ -494,4 +494,9 @@ public class TrunklineCarsLoadScanServiceImpl extends BaseServiceImpl findListByIdsAndType(List carsLoadScanIdList, int type) { + return baseMapper.findListByIdsAndType(carsLoadScanIdList,type); + } + } diff --git a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/WarehouseWaybillMapper.xml b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/WarehouseWaybillMapper.xml index 1af0248be..6aa317d3b 100644 --- a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/WarehouseWaybillMapper.xml +++ b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/WarehouseWaybillMapper.xml @@ -1177,25 +1177,6 @@ group by lww.id - - HAVING - - - GROUP_CONCAT(DISTINCT ltwt.warehouse_id) like CONCAT('%',#{item},'%') - - - or GROUP_CONCAT(DISTINCT ltwt.warehouse_id) like CONCAT('%',#{item},'%') - - - or group_concat(lww.departure_warehouse_id) in - - #{item} - - or group_concat(lww.destination_warehouse_id) in - - #{item} - - order by lww.create_time desc