Browse Source

修改实体类型

xieshengjie 2 years atrás
parent
commit
7e7940cc11

+ 91 - 91
web/gdsx-ghost/src/main/java/com/gyee/ghost/model/auto/Windpowerinfoday.java

@@ -1,8 +1,8 @@
 package com.gyee.ghost.model.auto;
 
-import java.math.BigDecimal;
 import com.baomidou.mybatisplus.extension.activerecord.Model;
-import java.time.LocalDate;
+import java.util.Date;
+
 import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableField;
 import lombok.Data;
@@ -23,82 +23,82 @@ public class Windpowerinfoday extends Model {
     private static final long serialVersionUID = 1L;
 
     @TableId("ID")
-    private BigDecimal id;
+    private Long id;
 
     @TableField("FOREIGNKEYID")
     private String foreignkeyid;
 
     @TableField("RUNHOURS")
-    private BigDecimal runhours;
+    private Double runhours;
 
     @TableField("STOPHOURS")
-    private BigDecimal stophours;
+    private Double stophours;
 
     @TableField("FAULTHOURS")
-    private BigDecimal faulthours;
+    private Double faulthours;
 
     @TableField("MAINTAINHOURS")
-    private BigDecimal maintainhours;
+    private Double maintainhours;
 
     @TableField("INTERRUPTHOURS")
-    private BigDecimal interrupthours;
+    private Double interrupthours;
 
     @TableField("GENERATINGCAPACITY")
-    private BigDecimal generatingcapacity;
+    private Double generatingcapacity;
 
     @TableField("SPEED")
-    private BigDecimal speed;
+    private Double speed;
 
     @TableField("POWER")
-    private BigDecimal power;
+    private Double power;
 
     @TableField("RECORDDATE")
-    private LocalDate recorddate;
+    private Date recorddate;
 
     @TableField("GRIDELECTRICITY")
-    private BigDecimal gridelectricity;
+    private Double gridelectricity;
 
     @TableField("BUYELECTRICITY")
-    private BigDecimal buyelectricity;
+    private Double buyelectricity;
 
     @TableField("INSTOP")
-    private BigDecimal instop;
+    private Double instop;
 
     @TableField("OUTSTOP")
-    private BigDecimal outstop;
+    private Double outstop;
 
     @TableField("RUNTIME")
-    private BigDecimal runtime;
+    private Double runtime;
 
     @TableField("STOPTIME")
-    private BigDecimal stoptime;
+    private Double stoptime;
 
     @TableField("FAULTTIME")
-    private BigDecimal faulttime;
+    private Double faulttime;
 
     @TableField("MAINTAINTIME")
-    private BigDecimal maintaintime;
+    private Double maintaintime;
 
     @TableField("INTERRUPTTIME")
-    private BigDecimal interrupttime;
+    private Double interrupttime;
 
     @TableField("MONTHGC")
-    private BigDecimal monthgc;
+    private Double monthgc;
 
     @TableField("YEARGC")
-    private BigDecimal yeargc;
+    private Double yeargc;
 
     @TableField("THEORYGENERATION")
-    private BigDecimal theorygeneration;
+    private Double theorygeneration;
 
     @TableField("LOSSOFPOWER")
-    private BigDecimal lossofpower;
+    private Double lossofpower;
 
     @TableField("FIELDELECTRICITY")
-    private BigDecimal fieldelectricity;
+    private Double fieldelectricity;
 
     @TableField("GENERATINGCAPACITY2")
-    private BigDecimal generatingcapacity2;
+    private Double generatingcapacity2;
 
     @TableField("WINDPOWERSTATIONID")
     private String windpowerstationid;
@@ -113,196 +113,196 @@ public class Windpowerinfoday extends Model {
     private String location;
 
     @TableField("BUYAGRICULTUREELECTRICITY")
-    private BigDecimal buyagricultureelectricity;
+    private Double buyagricultureelectricity;
 
     @TableField("MONTHGC2")
-    private BigDecimal monthgc2;
+    private Double monthgc2;
 
     @TableField("YEARGC2")
-    private BigDecimal yeargc2;
+    private Double yeargc2;
 
     @TableField("SPEED2")
-    private BigDecimal speed2;
+    private Double speed2;
 
     @TableField("MAXSPEED")
-    private BigDecimal maxspeed;
+    private Double maxspeed;
 
     @TableField("MINSPEED")
-    private BigDecimal minspeed;
+    private Double minspeed;
 
     @TableField("LIMITPOWER")
-    private BigDecimal limitpower;
+    private Double limitpower;
 
     @TableField("TOTALGC")
-    private BigDecimal totalgc;
+    private Double totalgc;
 
     @TableField("TOTALGC2")
-    private BigDecimal totalgc2;
+    private Double totalgc2;
 
     @TableField("THEORYGENERATIONZS")
-    private BigDecimal theorygenerationzs;
+    private Double theorygenerationzs;
 
     @TableField("WINDHOURS")
-    private BigDecimal windhours;
+    private Double windhours;
 
     @TableField("MAXPOWER")
-    private BigDecimal maxpower;
+    private Double maxpower;
 
     @TableField("MINPOWER")
-    private BigDecimal minpower;
+    private Double minpower;
 
     @TableField("MONTHGE")
-    private BigDecimal monthge;
+    private Double monthge;
 
     @TableField("YEARGE")
-    private BigDecimal yearge;
+    private Double yearge;
 
     @TableField("MONTHBE")
-    private BigDecimal monthbe;
+    private Double monthbe;
 
     @TableField("YEARBE")
-    private BigDecimal yearbe;
+    private Double yearbe;
 
     @TableField("MONTHAE")
-    private BigDecimal monthae;
+    private Double monthae;
 
     @TableField("YEARAE")
-    private BigDecimal yearae;
+    private Double yearae;
 
     @TableField("GENERATINGCAPACITY4")
-    private BigDecimal generatingcapacity4;
+    private Double generatingcapacity4;
 
     @TableField("GRIDELECTRICITY4")
-    private BigDecimal gridelectricity4;
+    private Double gridelectricity4;
 
     @TableField("BUYELECTRICITY4")
-    private BigDecimal buyelectricity4;
+    private Double buyelectricity4;
 
     @TableField("BUYAGRICULTUREELECTRICITY4")
-    private BigDecimal buyagricultureelectricity4;
+    private Double buyagricultureelectricity4;
 
     @TableField("DAYLYXS")
-    private BigDecimal daylyxs;
+    private Double daylyxs;
 
     @TableField("MONTHLYXS")
-    private BigDecimal monthlyxs;
+    private Double monthlyxs;
 
     @TableField("YEARLYXS")
-    private BigDecimal yearlyxs;
+    private Double yearlyxs;
 
     @TableField("DAYZHCYDL")
-    private BigDecimal dayzhcydl;
+    private Double dayzhcydl;
 
     @TableField("MONTHZHCYDL")
-    private BigDecimal monthzhcydl;
+    private Double monthzhcydl;
 
     @TableField("YEARZHCYDL")
-    private BigDecimal yearzhcydl;
+    private Double yearzhcydl;
 
     @TableField("DAYSBKLYL")
-    private BigDecimal daysbklyl;
+    private Double daysbklyl;
 
     @TableField("MONTHSBKLYL")
-    private BigDecimal monthsbklyl;
+    private Double monthsbklyl;
 
     @TableField("YEARSBKLYL")
-    private BigDecimal yearsbklyl;
+    private Double yearsbklyl;
 
     @TableField("DAYDXKYXS")
-    private BigDecimal daydxkyxs;
+    private Double daydxkyxs;
 
     @TableField("MONTHDXKYXS")
-    private BigDecimal monthdxkyxs;
+    private Double monthdxkyxs;
 
     @TableField("YEARDXKYXS")
-    private BigDecimal yeardxkyxs;
+    private Double yeardxkyxs;
 
     @TableField("MONTHSPEED")
-    private BigDecimal monthspeed;
+    private Double monthspeed;
 
     @TableField("YEARSPEED")
-    private BigDecimal yearspeed;
+    private Double yearspeed;
 
     @TableField("MONTHRUNTIME")
-    private BigDecimal monthruntime;
+    private Double monthruntime;
 
     @TableField("MONHTSTOPTIME")
-    private BigDecimal monhtstoptime;
+    private Double monhtstoptime;
 
     @TableField("MONTHFAULTTIME")
-    private BigDecimal monthfaulttime;
+    private Double monthfaulttime;
 
     @TableField("MONTHMAINTAINTIME")
-    private BigDecimal monthmaintaintime;
+    private Double monthmaintaintime;
 
     @TableField("MONTHINTERRUPTTIME")
-    private BigDecimal monthinterrupttime;
+    private Double monthinterrupttime;
 
     @TableField("YEARRUNTIME")
-    private BigDecimal yearruntime;
+    private Double yearruntime;
 
     @TableField("YEARSTOPTIME")
-    private BigDecimal yearstoptime;
+    private Double yearstoptime;
 
     @TableField("YEARFAULTTIME")
-    private BigDecimal yearfaulttime;
+    private Double yearfaulttime;
 
     @TableField("YEARMAINTAINTIME")
-    private BigDecimal yearmaintaintime;
+    private Double yearmaintaintime;
 
     @TableField("YEARINTERRUPTTIME")
-    private BigDecimal yearinterrupttime;
+    private Double yearinterrupttime;
 
     @TableField("DAYCALENDARHOURS")
-    private BigDecimal daycalendarhours;
+    private Double daycalendarhours;
 
     @TableField("MONTHCALENDARHOURS")
-    private BigDecimal monthcalendarhours;
+    private Double monthcalendarhours;
 
     @TableField("YEARCALENDARHOURS")
-    private BigDecimal yearcalendarhours;
+    private Double yearcalendarhours;
 
     @TableField("LOSSOFPOWER1")
-    private BigDecimal lossofpower1;
+    private Double lossofpower1;
 
     @TableField("LOSSOFPOWER2")
-    private BigDecimal lossofpower2;
+    private Double lossofpower2;
 
     @TableField("LOSSOFPOWER3")
-    private BigDecimal lossofpower3;
+    private Double lossofpower3;
 
     @TableField("LOSSOFPOWER4")
-    private BigDecimal lossofpower4;
+    private Double lossofpower4;
 
     @TableField("MONTHWINDHOURS")
-    private BigDecimal monthwindhours;
+    private Double monthwindhours;
 
     @TableField("YEARWINDHOURS")
-    private BigDecimal yearwindhours;
+    private Double yearwindhours;
 
     @TableField("BROWNOUTSTIME")
-    private BigDecimal brownoutstime;
+    private Double brownoutstime;
 
     @TableField("MONTHBROWNOUTSTIME")
-    private BigDecimal monthbrownoutstime;
+    private Double monthbrownoutstime;
 
     @TableField("YEARBROWNOUTSTIME")
-    private BigDecimal yearbrownoutstime;
+    private Double yearbrownoutstime;
 
     @TableField("MAINLOSSIN")
-    private BigDecimal mainlossin;
+    private Double mainlossin;
 
     @TableField("FAULTLOSSIN")
-    private BigDecimal faultlossin;
+    private Double faultlossin;
 
     @TableField("ELECTRICLOSSOUT")
-    private BigDecimal electriclossout;
+    private Double electriclossout;
 
     @TableField("WEATHERLOSSOUT")
-    private BigDecimal weatherlossout;
+    private Double weatherlossout;
 
     @TableField("TEST1")
-    private BigDecimal test1;
+    private Double test1;
 
 
 }