From 8f09b654890ede6bc141bdae96c8feaca6144879 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=B8=85?= <3115919733@qq.com> Date: Thu, 24 Apr 2025 15:01:01 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E8=BD=A6=E9=9C=80=E6=B1=82=E8=AE=A1?= =?UTF-8?q?=E7=AE=97=E6=B7=BB=E5=8A=A0=E4=BE=9B=E5=BA=94=E5=95=86=E7=BC=96?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/VehicleDemandServiceImpl.java | 7 ++++++- .../vehicledemandcount/entity/VehicleDemandCount.java | 4 ++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/jeecg-boot/jeecg-module-tms/src/main/java/org/jeecg/modules/tms/outbound/vehicledemand/service/impl/VehicleDemandServiceImpl.java b/jeecg-boot/jeecg-module-tms/src/main/java/org/jeecg/modules/tms/outbound/vehicledemand/service/impl/VehicleDemandServiceImpl.java index 4fa7f0c..f81950c 100644 --- a/jeecg-boot/jeecg-module-tms/src/main/java/org/jeecg/modules/tms/outbound/vehicledemand/service/impl/VehicleDemandServiceImpl.java +++ b/jeecg-boot/jeecg-module-tms/src/main/java/org/jeecg/modules/tms/outbound/vehicledemand/service/impl/VehicleDemandServiceImpl.java @@ -101,7 +101,10 @@ public class VehicleDemandServiceImpl extends ServiceImpl newChoices = new HashMap<>(choices.get(i)); - newChoices.put(iogisticsPrice.getCarType() + "," +iogisticsPrice.getCarLong(), newChoices.getOrDefault(iogisticsPrice.getCarType() + "," +iogisticsPrice.getCarLong(), 0) + 1); + newChoices.put(iogisticsPrice.getCarType() + "," + iogisticsPrice.getCarLong() + + "," + iogisticsPrice.getSupplierCode(), + newChoices.getOrDefault(iogisticsPrice.getCarType() + "," +iogisticsPrice.getCarLong() + + "," + iogisticsPrice.getSupplierCode(), 0) + 1); choices.put(next, newChoices); } } @@ -134,12 +137,14 @@ public class VehicleDemandServiceImpl extends ServiceImpl