From fc555f5d9d49f9922a6f5688d4db7c2679f3252c Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期四, 17 七月 2025 18:53:47 +0800
Subject: [PATCH] 政务云数据上传bug修改
---
ruoyi-service/ruoyi-integration/src/main/java/com/ruoyi/integration/drainage/model/StationInfo.java | 277 ++++++++++++++++++++++++++++++++++++++++++++++++++-----
1 files changed, 250 insertions(+), 27 deletions(-)
diff --git a/ruoyi-service/ruoyi-integration/src/main/java/com/ruoyi/integration/drainage/model/StationInfo.java b/ruoyi-service/ruoyi-integration/src/main/java/com/ruoyi/integration/drainage/model/StationInfo.java
index 9acbf16..7bcb042 100644
--- a/ruoyi-service/ruoyi-integration/src/main/java/com/ruoyi/integration/drainage/model/StationInfo.java
+++ b/ruoyi-service/ruoyi-integration/src/main/java/com/ruoyi/integration/drainage/model/StationInfo.java
@@ -1,5 +1,8 @@
package com.ruoyi.integration.drainage.model;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;
@@ -18,137 +21,357 @@
* 充电站ID
*/
@NotNull
- private String StationID;
+ @JsonProperty("StationID")
+ private String stationID;
+ /**
+ * 充电站唯一编码
+ */
+ @NotNull
+ @JsonProperty("StationUniqueNumber")
+ private String stationUniqueNumber;
/**
* 运营商ID
*/
@NotNull
- private String OperatorID;
+ @JsonProperty("OperatorID")
+ private String operatorID;
/**
* 设备所属方ID
* 设备所属运营平台组织机构代码
*/
@NotNull
- private String EquipmentOwnerID;
+ @JsonProperty("EquipmentOwnerID")
+ private String equipmentOwnerID;
/**
* 充电站名称
*/
@NotNull
- private String StationName;
+ @JsonProperty("StationName")
+ private String stationName;
/**
* 充电站国家代码
*/
@NotNull
- private String CountryCode;
+ @JsonProperty("CountryCode")
+ private String countryCode;
/**
* 充电站省市辖区编码
*/
@NotNull
- private String AreaCode;
+ @JsonProperty("AreaCode")
+ private String areaCode;
+ /**
+ * 充电站所在县以下行政区划代码
+ */
+ @NotNull
+ @JsonProperty("AreaCodeCountryside")
+ private String areaCodeCountryside;
/**
* 详细地址
*/
@NotNull
- private String Address;
+ @JsonProperty("Address")
+ private String address;
/**
* 站点电话
*/
@Null
- private String StationTel;
+ @JsonProperty("StationTel")
+ private String stationTel;
/**
* 站点电话
*/
@NotNull
- private String ServiceTel;
+ @JsonProperty("ServiceTel")
+ private String serviceTel;
+ /**
+ * 站点分类(1:充电站,2:换电站,3:充换电一体站)
+ */
+ @NotNull
+ @JsonProperty("StationClassification")
+ private Integer stationClassification;
+ /**
+ * 通用类型(1:通用,2:非通用)
+ */
+ @NotNull
+ @JsonProperty("GeneralApplicationType")
+ private Integer generalApplicationType;
/**
* 站点类型
*/
@NotNull
- private Integer StationType;
+ @JsonProperty("StationType")
+ private Integer stationType;
/**
* 站点状态
*/
@NotNull
- private Integer StationStatus;
+ @JsonProperty("StationStatus")
+ private Integer stationStatus;
/**
* 车位数量,0:未知
*/
@NotNull
- private Integer ParkNums;
+ @JsonProperty("ParkNums")
+ private Integer parkNums;
/**
* 经度(保留6位小数)
*/
@NotNull
- private BigDecimal StationLng;
+ @JsonProperty("StationLng")
+ private BigDecimal stationLng;
/**
* 纬度(保留6位小数)
*/
@NotNull
- private BigDecimal StationLat;
+ @JsonProperty("StationLat")
+ private BigDecimal stationLat;
/**
* 站点引导
*/
@Null
- private String SiteGuide;
+ @JsonProperty("SiteGuide")
+ private String siteGuide;
/**
* 建设场所
*/
@NotNull
- private Integer Construction;
+ @JsonProperty("Construction")
+ private Integer construction;
/**
* 站点照片
* 字符串数组
*/
@Null
- private List<String> Pictures;
+ @JsonProperty("Pictures")
+ private List<String> pictures;
/**
* 使用车型描述
*/
@Null
- private String MatchCars;
+ @JsonProperty("MatchCars")
+ private String matchCars;
+ /**
+ * 服务车型描述
+ */
+ @Null
+ @JsonProperty("SwapMatchCars")
+ private List<String> swapMatchCars;
/**
* 车位楼层及数量描述
*/
@Null
- private String ParkInfo;
+ @JsonProperty("ParkInfo")
+ private String parkInfo;
/**
* 营业时间
*/
@Null
- private String BusineHours;
+ @JsonProperty("BusineHours")
+ private String busineHours;
+ /**
+ * 7*24小时营业
+ * 0:否
+ * 1:是
+ */
+ @Null
+ @JsonProperty("RoundTheClock")
+ private Integer roundTheClock;
+ /**
+ * 停车费类型
+ * 0:免费
+ * 1:不免费
+ * 2:限时免费停车
+ * 3:充电限时减免
+ * 255:参考场地实际收费标准
+ */
+ @Null
+ @JsonProperty("ParkType")
+ private Integer parkType;
/**
* 充电电费率描述
*/
@Null
- private String ElectricityFee;
+ @JsonProperty("ElectricityFee")
+ private String electricityFee;
/**
* 服务费率描述
*/
@Null
- private String ServiceFee;
+ @JsonProperty("ServiceFee")
+ private String serviceFee;
/**
* 停车费率描述
*/
@Null
- private String ParkFee;
+ @JsonProperty("ParkFee")
+ private String parkFee;
/**
* 支付方式:刷卡、线上、现金
*/
@Null
- private String Payment;
+ @JsonProperty("Payment")
+ private String payment;
/**
* 是否支持预约
*/
@Null
- private Integer SupportOrder;
+ @JsonProperty("SupportOrder")
+ private Integer supportOrder;
/**
* 备注
*/
@Null
- private String Remark;
+ @JsonProperty("Remark")
+ private String remark;
+ /**
+ * 电费类型
+ * 1:商业用电
+ * 2:普通工业用电
+ * 3:大工业用电
+ * 4:其他用电
+ */
+ @JsonProperty("ElectricityType")
+ private Integer electricityType;
+ /**
+ * 报装类型,是否独立报装
+ * 0:否
+ * 1:是
+ */
+ @JsonProperty("BusinessExpandType")
+ private Integer businessExpandType;
+ /**
+ * 报装电源容量
+ */
+ @JsonProperty("Capacity")
+ private BigDecimal capacity;
+ /**
+ * 站点额定总功率
+ */
+ @JsonProperty("RatedPower")
+ private BigDecimal ratedPower;
+ /**
+ * 峰谷分时
+ * 0:否
+ * 1:是
+ */
+ @JsonProperty("PeriodFee")
+ private Integer periodFee;
+ /**
+ * 正式投运时间 yyyy-MM-dd
+ */
+ @JsonProperty("OfficialRunTime")
+ private String officialRunTime;
+ /**
+ * 充换电站方位
+ * 1:地面-停车场
+ * 2:地面-路侧
+ * 3:地下停车场
+ * 4:立体式停车楼
+ */
+ @JsonProperty("StationOrientation")
+ private Integer stationOrientation;
+ /**
+ * 充换电站建设面积
+ */
+ @JsonProperty("StationArea")
+ private BigDecimal stationArea;
+ /**
+ * 充换电站人工值守
+ * 0:无
+ * 1:有
+ */
+ @JsonProperty("HavePerson")
+ private Integer havePerson;
+ /**
+ * 视频监控配套情况
+ * 0:无
+ * 1:有
+ */
+ @JsonProperty("VideoMonitor")
+ private Integer videoMonitor;
+ /**
+ * 周边配套设施
+ * 1:卫生间
+ * 2:便利店
+ * 3:餐厅
+ * 4:休息室
+ * 5:雨棚
+ */
+ @JsonProperty("SupportingFacilities")
+ private List<Integer> supportingFacilities;
+ /**
+ * 是否有小票机
+ * 0:无
+ * 1:有
+ */
+ @JsonProperty("PrinterFlag")
+ private Integer printerFlag;
+ /**
+ * 是否有道闸
+ * 0:无
+ * 1:有
+ */
+ @JsonProperty("BarrierFlag")
+ private Integer barrierFlag;
+ /**
+ * 是否有地锁
+ * 0:无
+ * 1:有
+ */
+ @JsonProperty("ParkingLockFlag")
+ private Integer parkingLockFlag;
/**
* 充电设备信息列表
*/
@NotNull
- private List<EquipmentInfo> EquipmentInfos;
+ @JsonProperty("EquipmentInfos")
+ private List<EquipmentInfo> equipmentInfos;
+ /**
+ * 占位费描述
+ */
+ @Null
+ @JsonProperty("OvertimeFee")
+ private String overtimeFee;
+ /**
+ * 占位费信息
+ */
+ @Null
+ @JsonProperty("PlaceHolder")
+ private PlaceHolder placeHolder;
+ /**
+ * 设备所属方名称
+ */
+ @JsonProperty("EquipmentOwnerName")
+ private String equipmentOwnerName;
+ /**
+ * 供电局用户编号
+ */
+ @JsonProperty("ResidentNo")
+ private String residentNo;
+ /**
+ * 供电类型
+ * 1:直供电
+ * 2:转供电
+ */
+ @JsonProperty("SupplyType")
+ private Integer supplyType;
+ /**
+ * 表号
+ */
+ @JsonProperty("WattHourMeterNo")
+ private String wattHourMeterNo;
+ /**
+ * 外电功率
+ */
+ @JsonProperty("ForwardPower")
+ private String forwardPower;
+ /**
+ * 充电站全省唯一备案号
+ */
+ @JsonProperty("RecordUniqueNo")
+ private String recordUniqueNo;
+
+
+
}
--
Gitblit v1.7.1