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 , *