Commit a46f6c93 authored by tangwei's avatar tangwei

增加额定公率

parent 860196b7
...@@ -141,4 +141,7 @@ public class JpStationDto extends BaseDto { ...@@ -141,4 +141,7 @@ public class JpStationDto extends BaseDto {
private String email; private String email;
private Double ratedPower;
} }
...@@ -204,6 +204,6 @@ public class JpStation extends BaseEntity { ...@@ -204,6 +204,6 @@ public class JpStation extends BaseEntity {
@TableField("email") @TableField("email")
private String email; //邮箱 private String email; //邮箱
@TableField("rated_power")
private Double ratedPower;
} }
...@@ -47,8 +47,8 @@ ...@@ -47,8 +47,8 @@
`year_income` yearIncome, `year_income` yearIncome,
`area` , `area` ,
`cumulative_income` cumulativeIncome, `cumulative_income` cumulativeIncome,
`email` `email`,
rated_power ratedPower
from hygf_jp_station from hygf_jp_station
...@@ -96,6 +96,7 @@ ...@@ -96,6 +96,7 @@
FORMAT(sum(day_power_use)/1000,3) dayPowerUse, FORMAT(sum(day_power_use)/1000,3) dayPowerUse,
FORMAT(sum(month_power_use)/1000,3) monthPowerUse, FORMAT(sum(month_power_use)/1000,3) monthPowerUse,
FORMAT(sum(year_power_use)/1000,3) yearPowerUse, FORMAT(sum(year_power_use)/1000,3) yearPowerUse,
FORMAT(sum(rated_power),3) ratedPower,
count(*) countBuiltNum count(*) countBuiltNum
from hygf_jp_station from hygf_jp_station
<where> <where>
......
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