From c36a352bbfd0e8c3e19f3cf3d138fcffac4245af Mon Sep 17 00:00:00 2001 From: lihongjie0209 Date: Thu, 10 Oct 2024 13:47:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=AF=B9=E8=B4=A6=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../weightDeviceData/service/WeightDeviceDataService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/cn/lihongjie/coal/weightDeviceData/service/WeightDeviceDataService.java b/src/main/java/cn/lihongjie/coal/weightDeviceData/service/WeightDeviceDataService.java index 931e1730..9be266c4 100644 --- a/src/main/java/cn/lihongjie/coal/weightDeviceData/service/WeightDeviceDataService.java +++ b/src/main/java/cn/lihongjie/coal/weightDeviceData/service/WeightDeviceDataService.java @@ -122,7 +122,7 @@ public class WeightDeviceDataService round(sum(d.sz), 2) as sz, count(1) as cnt - from WeightDeviceDataEntity d where not d.invalid and d.dataUpdateTime >= :start and d.dataUpdateTime <= :end and d.device.id = :deviceId + from WeightDeviceDataEntity d where not d.invalid and d.ecgbTime >= :start and d.ecgbTime <= :end and d.device.id = :deviceId """, Tuple.class); @@ -147,7 +147,7 @@ round(sum(扣重), 2) as kz, round(sum(实重), 2) as sz, count(1) as cnt from 称重信息 -where 更新时间>='%s' and 更新时间<='%s' +where 二次过磅时间>='%s' and 二次过磅时间<='%s' """ .formatted( requst.getStart()