Sfoglia il codice sorgente

充电桩列表新增车位编号

skyline 2 anni fa
parent
commit
c105d5c640

+ 5 - 39
entity/src/main/java/com/kym/entity/admin/EquipmentInfo.java

@@ -83,6 +83,11 @@ public class EquipmentInfo extends BaseEntity {
      */
     private Integer equipmentType;
 
+    /**
+     * 车位编号
+     */
+    private String parkingNo;
+
     /**
      * 位置坐标
      * <p>
@@ -121,13 +126,6 @@ public class EquipmentInfo extends BaseEntity {
         return this;
     }
 
-    public void setStationNo(String stationNo) {
-        this.stationNo = stationNo;
-    }
-
-    public void setEquipmentId(String equipmentId) {
-        this.equipmentId = equipmentId;
-    }
 
     public EquipmentInfo setShortId(String shortId) {
         this.shortId = shortId;
@@ -137,43 +135,11 @@ public class EquipmentInfo extends BaseEntity {
         return this;
     }
 
-    public void setManufacturerId(String manufacturerId) {
-        this.manufacturerId = manufacturerId;
-    }
-
-    public void setManufacturerName(String manufacturerName) {
-        this.manufacturerName = manufacturerName;
-    }
-
-    public void setEquipmentModel(String equipmentModel) {
-        this.equipmentModel = equipmentModel;
-    }
-
-    public void setProductionDate(String productionDate) {
-        this.productionDate = productionDate;
-    }
-
-    public void setEquipmentType(Integer equipmentType) {
-        this.equipmentType = equipmentType;
-    }
-
-    public void setLocation(JSONObject location) {
-        this.location = location;
-    }
-
     public EquipmentInfo setPower(Double power) {
         this.power = power;
         return this;
     }
 
-    public void setNetStatus(Integer netStatus) {
-        this.netStatus = netStatus;
-    }
-
-    public void setServiceStatus(Integer serviceStatus) {
-        this.serviceStatus = serviceStatus;
-    }
-
     public EquipmentInfo setStationName(String stationName) {
         this.stationName = stationName;
         return this;

+ 2 - 1
mapper/src/main/resources/mappers/admin/EquipmentInfoMapper.xml

@@ -12,6 +12,7 @@
         <result column="equipment_model" property="equipmentModel" />
         <result column="production_date" property="productionDate" />
         <result column="equipment_type" property="equipmentType" />
+        <result column="parking_no" property="parkingNo" />
         <result column="location" property="location" typeHandler="com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler"/>
         <result column="power" property="power" />
         <result column="net_status" property="netStatus" />
@@ -20,7 +21,7 @@
 
     <!-- 通用查询结果列 -->
     <sql id="Base_Column_List">
-        id,company_id, station_id,equipment_id, manufacturer_id, manufacturer_name, equipment_model, production_date, equipment_type, location, power, net_status, service_status,create_time,update_time
+        id,company_id, station_id,equipment_id, manufacturer_id, manufacturer_name, equipment_model, production_date, equipment_type, parking_no,location, power, net_status, service_status,create_time,update_time
     </sql>
 
 </mapper>