Commit 359cb987 authored by hezhuozhi's avatar hezhuozhi

修复电站监控

parent 5d9d0567
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<select id="getDayGenerateph" resultType="com.yeejoin.amos.boot.module.hygf.api.entity.DayGenerate"> <select id="getDayGenerateph" resultType="com.yeejoin.amos.boot.module.hygf.api.entity.DayGenerate">
SELECT SELECT
* *
FROM house_pv_data.td_hygf_station_day_generate FROM house_pv_data.td_hygf_station_generate_month
<where> <where>
<if test="dto!=null"> <if test="dto!=null">
third_station_id in third_station_id in
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
SELECT SELECT
sum(generate)num, sum(generate)num,
`day_time` date `day_time` date
FROM house_pv_data.td_hygf_station_day_generate FROM house_pv_data.td_hygf_station_generate_month
<where> <where>
<if test="dto!=null"> <if test="dto!=null">
third_station_id in third_station_id in
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
SELECT SELECT
sum(generate)num, sum(generate)num,
`month_time` date `month_time` date
FROM house_pv_data.td_hygf_station_month_generate FROM house_pv_data.td_hygf_station_generate_year
<where> <where>
<if test="dto!=null"> <if test="dto!=null">
...@@ -106,7 +106,7 @@ ...@@ -106,7 +106,7 @@
SELECT SELECT
sum(generate)num, sum(generate)num,
`year_time` date `year_time` date
FROM house_pv_data.td_hygf_station_year_generate FROM house_pv_data.td_hygf_station_generate_all
<where> <where>
<if test="dto!=null"> <if test="dto!=null">
third_station_id in third_station_id in
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
<select id="selectPagenewDayGenerate" resultType="com.yeejoin.amos.boot.module.hygf.api.entity.DayGenerate"> <select id="selectPagenewDayGenerate" resultType="com.yeejoin.amos.boot.module.hygf.api.entity.DayGenerate">
SELECT SELECT
* *
FROM house_pv_data.td_hygf_station_day_generate FROM house_pv_data.td_hygf_station_generate_month
<where> <where>
<if test="dto!=null"> <if test="dto!=null">
third_station_id in third_station_id in
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<select id="selectPagenewMonthGenerate" resultType="com.yeejoin.amos.boot.module.hygf.api.entity.MonthGenerate"> <select id="selectPagenewMonthGenerate" resultType="com.yeejoin.amos.boot.module.hygf.api.entity.MonthGenerate">
SELECT SELECT
* *
FROM house_pv_data.td_hygf_station_month_generate FROM house_pv_data.td_hygf_station_generate_year
<where> <where>
<if test="dto!=null"> <if test="dto!=null">
third_station_id in third_station_id in
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<select id="selectPagenewYearGenerate" resultType="com.yeejoin.amos.boot.module.hygf.api.entity.YearGenerate"> <select id="selectPagenewYearGenerate" resultType="com.yeejoin.amos.boot.module.hygf.api.entity.YearGenerate">
SELECT SELECT
* *
FROM house_pv_data.td_hygf_station_year_generate FROM house_pv_data.td_hygf_station_generate_all
<where> <where>
<if test="dto!=null"> <if test="dto!=null">
third_station_id in 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