Commit 359cb987 authored by hezhuozhi's avatar hezhuozhi

修复电站监控

parent 5d9d0567
......@@ -5,7 +5,7 @@
<select id="getDayGenerateph" resultType="com.yeejoin.amos.boot.module.hygf.api.entity.DayGenerate">
SELECT
*
FROM house_pv_data.td_hygf_station_day_generate
FROM house_pv_data.td_hygf_station_generate_month
<where>
<if test="dto!=null">
third_station_id in
......@@ -39,7 +39,7 @@
SELECT
sum(generate)num,
`day_time` date
FROM house_pv_data.td_hygf_station_day_generate
FROM house_pv_data.td_hygf_station_generate_month
<where>
<if test="dto!=null">
third_station_id in
......@@ -71,7 +71,7 @@
SELECT
sum(generate)num,
`month_time` date
FROM house_pv_data.td_hygf_station_month_generate
FROM house_pv_data.td_hygf_station_generate_year
<where>
<if test="dto!=null">
......@@ -106,7 +106,7 @@
SELECT
sum(generate)num,
`year_time` date
FROM house_pv_data.td_hygf_station_year_generate
FROM house_pv_data.td_hygf_station_generate_all
<where>
<if test="dto!=null">
third_station_id in
......@@ -137,7 +137,7 @@
<select id="selectPagenewDayGenerate" resultType="com.yeejoin.amos.boot.module.hygf.api.entity.DayGenerate">
SELECT
*
FROM house_pv_data.td_hygf_station_day_generate
FROM house_pv_data.td_hygf_station_generate_month
<where>
<if test="dto!=null">
third_station_id in
......
......@@ -4,7 +4,7 @@
<select id="selectPagenewMonthGenerate" resultType="com.yeejoin.amos.boot.module.hygf.api.entity.MonthGenerate">
SELECT
*
FROM house_pv_data.td_hygf_station_month_generate
FROM house_pv_data.td_hygf_station_generate_year
<where>
<if test="dto!=null">
third_station_id in
......
......@@ -4,7 +4,7 @@
<select id="selectPagenewYearGenerate" resultType="com.yeejoin.amos.boot.module.hygf.api.entity.YearGenerate">
SELECT
*
FROM house_pv_data.td_hygf_station_year_generate
FROM house_pv_data.td_hygf_station_generate_all
<where>
<if test="dto!=null">
third_station_id in
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment