新建机房和编辑时添加机房@ApiModelProperty(value = "站点类型[0-非节点站,1-节点站]") nodeStation;
3个文件已修改
8 ■■■■ 已修改文件
src/main/java/com/whyc/dto/InfoDto.java 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/whyc/dto/Statistic/PerformanceStic.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/whyc/factory/InfoFactory.java 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/whyc/dto/InfoDto.java
@@ -38,6 +38,9 @@
    @ApiModelProperty(value = "纬度")
    private Double latitude;
    @ApiModelProperty(value = "站点类型[0-非节点站,1-节点站]")
    private Integer nodeStation;
    @ApiModelProperty(value = "电源id")
    private Integer powerId;
src/main/java/com/whyc/dto/Statistic/PerformanceStic.java
@@ -11,7 +11,7 @@
    private String city;
    private String country;
    private String stationName;
    private Integer performance;//电池性能:1优秀,2劣化,3损坏 4未放电 不传全部
    private Integer performance;//电池性能:1优秀,2劣化,3损坏
    private Integer uid;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date testStartTime;//开始时间
src/main/java/com/whyc/factory/InfoFactory.java
@@ -29,7 +29,8 @@
                .setStationName(info.getStationName())
                .setStationType(info.getStationType())
                .setLatitude(info.getLatitude())
                .setLongitude(info.getLongitude());
                .setLongitude(info.getLongitude())
                .setNodeStation(info.getNodeStation());
        if(info.getProvice()!=null){
            sinf.setProvice(info.getProvice());
        }