BI月台字段修改
This commit is contained in:
-2
@@ -80,8 +80,6 @@ public final class BiReportSnapshotMapperSupport {
|
|||||||
|
|
||||||
public static PlatformSurveillanceVO emptyPlatformSurveillance() {
|
public static PlatformSurveillanceVO emptyPlatformSurveillance() {
|
||||||
return PlatformSurveillanceVO.builder()
|
return PlatformSurveillanceVO.builder()
|
||||||
.appointmentTime("")
|
|
||||||
.workFloor("")
|
|
||||||
.vehicles(Collections.emptyList())
|
.vehicles(Collections.emptyList())
|
||||||
.efficiencyStatistics(EfficiencyStatisticsVO.builder()
|
.efficiencyStatistics(EfficiencyStatisticsVO.builder()
|
||||||
.entryOvertimeRate(0).overtimeCount(0).platformOnTimeRate(0)
|
.entryOvertimeRate(0).overtimeCount(0).platformOnTimeRate(0)
|
||||||
|
|||||||
+2
-2
@@ -127,6 +127,8 @@ public final class BiSnapshotWeeklyRandomDataBuilder {
|
|||||||
for (String[] row : Baseline.P_PLATES) {
|
for (String[] row : Baseline.P_PLATES) {
|
||||||
int dur = jitterInt(Integer.parseInt(row[3]), r);
|
int dur = jitterInt(Integer.parseInt(row[3]), r);
|
||||||
vehicles.add(PlatformVehicleItemVO.builder()
|
vehicles.add(PlatformVehicleItemVO.builder()
|
||||||
|
.appointmentTime(Baseline.P_APPOINTMENT_TIME)
|
||||||
|
.workFloor(Baseline.P_WORK_FLOOR)
|
||||||
.plateNumber(row[0])
|
.plateNumber(row[0])
|
||||||
.status(row[1])
|
.status(row[1])
|
||||||
.platformId(row[2])
|
.platformId(row[2])
|
||||||
@@ -213,8 +215,6 @@ public final class BiSnapshotWeeklyRandomDataBuilder {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return PlatformSurveillanceVO.builder()
|
return PlatformSurveillanceVO.builder()
|
||||||
.appointmentTime(Baseline.P_APPOINTMENT_TIME)
|
|
||||||
.workFloor(Baseline.P_WORK_FLOOR)
|
|
||||||
.vehicles(vehicles)
|
.vehicles(vehicles)
|
||||||
.efficiencyStatistics(eff)
|
.efficiencyStatistics(eff)
|
||||||
.platformOverview(overview)
|
.platformOverview(overview)
|
||||||
|
|||||||
-6
@@ -16,12 +16,6 @@ import java.util.List;
|
|||||||
@ApiModel("月台监测指标")
|
@ApiModel("月台监测指标")
|
||||||
public class PlatformSurveillanceVO {
|
public class PlatformSurveillanceVO {
|
||||||
|
|
||||||
@ApiModelProperty("预约申请时间")
|
|
||||||
private String appointmentTime;
|
|
||||||
|
|
||||||
@ApiModelProperty("作业楼层")
|
|
||||||
private String workFloor;
|
|
||||||
|
|
||||||
@ApiModelProperty("作业车辆状态列表")
|
@ApiModelProperty("作业车辆状态列表")
|
||||||
private List<PlatformVehicleItemVO> vehicles;
|
private List<PlatformVehicleItemVO> vehicles;
|
||||||
|
|
||||||
|
|||||||
+6
@@ -14,6 +14,12 @@ import lombok.NoArgsConstructor;
|
|||||||
@ApiModel("月台监测-作业车辆")
|
@ApiModel("月台监测-作业车辆")
|
||||||
public class PlatformVehicleItemVO {
|
public class PlatformVehicleItemVO {
|
||||||
|
|
||||||
|
@ApiModelProperty("预约申请时间")
|
||||||
|
private String appointmentTime;
|
||||||
|
|
||||||
|
@ApiModelProperty("作业楼层")
|
||||||
|
private String workFloor;
|
||||||
|
|
||||||
@ApiModelProperty("车牌号码")
|
@ApiModelProperty("车牌号码")
|
||||||
private String plateNumber;
|
private String plateNumber;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user