添加天数

This commit is contained in:
2024-01-08 21:38:44 +08:00
parent b9c1f3d6dd
commit 9389acf293
2 changed files with 5 additions and 1 deletions

View File

@@ -17,5 +17,6 @@ public class CoalWashingMonthReportDto extends OrgCommonDto {
private String remark2;
private String remark3;
private String remark4;
private Integer days;
}

View File

@@ -37,7 +37,8 @@ select d.organization_id,
date_trunc('month', d.date) as update_time,
'' as create_user_id,
'' as update_user_id,
null as file_ids
null as file_ids,
count(distinct d.date) as days
from t_coal_washing_daily_analysis d
group by d.organization_id, d.name, date_trunc('month', d.date)
@@ -53,4 +54,6 @@ public class CoalWashingMonthReportEntity extends OrgCommonEntity {
private String remark3;
private String remark4;
private Integer days;
}