区域暂态指标分类统计数据修改

This commit is contained in:
wr
2024-02-22 16:09:08 +08:00
parent 38ccaf4336
commit 7c278892a3
7 changed files with 28 additions and 21 deletions

View File

@@ -43,7 +43,7 @@
<include refid="query_field"></include>
FROM
r_stat_org_y AS rso
LEFT JOIN r_stat_event_org_y AS rseo ON rso.org_no = rseo.org_no
LEFT JOIN r_stat_event_org_y AS rseo ON rso.org_no = rseo.org_no and rso.data_date = rseo.data_date
WHERE
<include refid="query_where"></include>
</select>
@@ -54,7 +54,7 @@
<include refid="query_field"></include>
FROM
r_stat_org_q AS rso
LEFT JOIN r_stat_event_org_q AS rseo ON rso.org_no = rseo.org_no
LEFT JOIN r_stat_event_org_q AS rseo ON rso.org_no = rseo.org_no and rso.data_date = rseo.data_date
WHERE
<include refid="query_where"></include>
</select>
@@ -65,7 +65,7 @@
<include refid="query_field"></include>
FROM
r_stat_org_m AS rso
LEFT JOIN r_stat_event_org_m AS rseo ON rso.org_no = rseo.org_no
LEFT JOIN r_stat_event_org_m AS rseo ON rso.org_no = rseo.org_no and rso.data_date = rseo.data_date
WHERE
<include refid="query_where"></include>
</select>

View File

@@ -47,7 +47,7 @@
<include refid="query_rStatEventOrg_field"></include>
FROM
r_stat_org_y AS rso
LEFT JOIN r_stat_event_org_y AS rseo ON rso.org_no = rseo.org_no
LEFT JOIN r_stat_event_org_y AS rseo ON rso.org_no = rseo.org_no and rso.data_date = rseo.data_date
WHERE
<include refid="query_rStatEventOrg_where"></include>
</select>
@@ -59,7 +59,7 @@
<include refid="query_rStatEventOrg_field"></include>
FROM
r_stat_org_q AS rso
LEFT JOIN r_stat_event_org_q AS rseo ON rso.org_no = rseo.org_no
LEFT JOIN r_stat_event_org_q AS rseo ON rso.org_no = rseo.org_no and rso.data_date = rseo.data_date
WHERE
<include refid="query_rStatEventOrg_where"></include>
</select>
@@ -71,7 +71,7 @@
<include refid="query_rStatEventOrg_field"></include>
FROM
r_stat_org_m AS rso
LEFT JOIN r_stat_event_org_m AS rseo ON rso.org_no = rseo.org_no
LEFT JOIN r_stat_event_org_m AS rseo ON rso.org_no = rseo.org_no and rso.data_date = rseo.data_date
WHERE
<include refid="query_rStatEventOrg_where"></include>
</select>