From 7024cec7251ceec68663f73ceeed8a8fa5ce07a4 Mon Sep 17 00:00:00 2001 From: lihongjie0209 Date: Sun, 2 Jun 2024 21:37:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E5=B0=8F=E6=95=B0=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../entity/CoalWashingMonthReportEntity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cn/lihongjie/coal/coalWashingMonthReport/entity/CoalWashingMonthReportEntity.java b/src/main/java/cn/lihongjie/coal/coalWashingMonthReport/entity/CoalWashingMonthReportEntity.java index 975f99b5..08520d9e 100644 --- a/src/main/java/cn/lihongjie/coal/coalWashingMonthReport/entity/CoalWashingMonthReportEntity.java +++ b/src/main/java/cn/lihongjie/coal/coalWashingMonthReport/entity/CoalWashingMonthReportEntity.java @@ -73,7 +73,7 @@ select gen_random_uuid()::text as id, '' as update_user_id, null as file_ids, round(sum(d.xx), 2) as days, - sum(d.run_hours) as run_hours, + round(sum(d.run_hours),2) as run_hours, count(1) as cnt, array_agg(d.id) as ids from ((select 1.0 / count(1) over (partition by date_trunc('day', date)) as xx , *