Browse Source

fix:修复商家预入库数量的展示问题

dist.1.2.0^2
pref_mail@163.com 5 months ago
parent
commit
2c79682174
  1. 2
      blade-service-api/logpm-basicdata-api/src/main/java/com/logpm/basicdata/feign/IBasicdataDriverArteryClient.java
  2. 12
      blade-service/logpm-business/src/main/java/com/logpm/business/mapper/BusinessPreOrderMapper.xml
  3. 2
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionLoadscanMapper.xml
  4. 2
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/receiver/BusinessPreOrderDataQueueHandler.java
  5. 1
      blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/IInComingService.java

2
blade-service-api/logpm-basicdata-api/src/main/java/com/logpm/basicdata/feign/IBasicdataDriverArteryClient.java

@ -62,7 +62,7 @@ public interface IBasicdataDriverArteryClient {
List<JSONObject> findDriverListByName(@RequestParam String driverName,@RequestParam String jobType); List<JSONObject> findDriverListByName(@RequestParam String driverName,@RequestParam String jobType);
@GetMapping(API_PREFIX+"/getDriverArteryById") @GetMapping(API_PREFIX+"/getDriverArteryById")
BasicdataDriverArteryEntity getDriverArteryById(Long id); BasicdataDriverArteryEntity getDriverArteryById(@RequestParam Long id);
@GetMapping(API_PREFIX+"/findDriverListByNameAndWarehouseId") @GetMapping(API_PREFIX+"/findDriverListByNameAndWarehouseId")
List<JSONObject> findDriverListByNameAndWarehouseId(@RequestParam String driverName, @RequestParam String jobType, @RequestParam Long warehouseId); List<JSONObject> findDriverListByNameAndWarehouseId(@RequestParam String driverName, @RequestParam String jobType, @RequestParam Long warehouseId);

12
blade-service/logpm-business/src/main/java/com/logpm/business/mapper/BusinessPreOrderMapper.xml

@ -190,9 +190,9 @@
driver_name, driver_name,
task_time, task_time,
COUNT(DISTINCT order_code) as orderCount, COUNT(DISTINCT order_code) as orderCount,
COUNT(DISTINCT order_package_code) as orderPackageCodeCount, sum( quantity ) as orderPackageCodeCount,
sum(case when order_package_loading_status =20 then 1 else 0 end ) as loadCarCount, sum( load_num ) as loadCarCount,
sum(case when in_warehouse =1 then 1 else 0 end ) as inWarehouseCount sum( unload_num ) as inWarehouseCount
from logpm_business_pre_order from logpm_business_pre_order
<where> <where>
@ -218,9 +218,9 @@
driver_name, driver_name,
task_time, task_time,
COUNT(DISTINCT order_code) as orderCount, COUNT(DISTINCT order_code) as orderCount,
COUNT(DISTINCT order_package_code) as orderPackageCodeCount, sum(quantity) as orderPackageCodeCount,
sum(case when order_package_loading_status =20 then 1 else 0 end ) as loadCarCount, sum(load_num ) as loadCarCount,
sum(case when in_warehouse =1 then 1 else 0 end ) as inWarehouseCount sum(unload_num ) as inWarehouseCount
from logpm_business_pre_order from logpm_business_pre_order
<where> <where>
is_deleted=0 is_deleted=0

2
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionLoadscanMapper.xml

@ -154,6 +154,6 @@
FROM FROM
logpm_distribution_loadscan logpm_distribution_loadscan
WHERE WHERE
reservation_id = #{reservationId} AND parcel_list_id = #{parcelListId} reservation_id = #{reservationId} AND package_id = #{parcelListId}
</select> </select>
</mapper> </mapper>

2
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/receiver/BusinessPreOrderDataQueueHandler.java

@ -146,7 +146,7 @@ public class BusinessPreOrderDataQueueHandler {
//设置装车数量 //设置装车数量
data.setLoadNum(distributionLoadscanEntity.getLoadedNub()); data.setLoadNum(distributionLoadscanEntity.getLoadedNub());
} }
data.setConditions(3);
data.setDriverName(distributionDeliveryListEntity.getDriverName()); data.setDriverName(distributionDeliveryListEntity.getDriverName());
data.setVehicleName(distributionDeliveryListEntity.getVehicleName()); data.setVehicleName(distributionDeliveryListEntity.getVehicleName());
data.setDistrCarNumber(distributionDeliveryListEntity.getTrainNumber()); data.setDistrCarNumber(distributionDeliveryListEntity.getTrainNumber());

1
blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/service/IInComingService.java

@ -11,7 +11,6 @@ public interface IInComingService {
R incomingPackages(InComingDTO inComingDTO); R incomingPackages(InComingDTO inComingDTO);
@Transactional(rollbackFor = Exception.class)
R incomingPackageByTaryCode(InComingDTO inComingDTO); R incomingPackageByTaryCode(InComingDTO inComingDTO);
R findIncomingOrderList(InComingDTO inComingDTO); R findIncomingOrderList(InComingDTO inComingDTO);

Loading…
Cancel
Save