BI报表增加字段
This commit is contained in:
+2
@@ -53,6 +53,8 @@ public final class BiReportSnapshotMapperSupport {
|
||||
public static WarehouseTransportSituationVO emptyWarehouseTransportSituation() {
|
||||
return WarehouseTransportSituationVO.builder()
|
||||
.warehouseDistributionOnTimeRate(0d)
|
||||
.appointmentTime("")
|
||||
.workFloor("")
|
||||
.currentYearOrders(0L)
|
||||
.currentQuarterOrders(0)
|
||||
.currentMonthOrders(0)
|
||||
|
||||
+4
@@ -97,6 +97,8 @@ public final class BiSnapshotWeeklyRandomDataBuilder {
|
||||
}
|
||||
return WarehouseTransportSituationVO.builder()
|
||||
.warehouseDistributionOnTimeRate(jitterPercentDouble(Baseline.W_WH_RATE, r))
|
||||
.appointmentTime(Baseline.W_APPOINTMENT_TIME)
|
||||
.workFloor(Baseline.W_WORK_FLOOR)
|
||||
.currentYearOrders(jitterLong(Baseline.W_YEAR_ORD, r))
|
||||
.currentQuarterOrders(Math.max(0, jitterInt(Baseline.W_Q_ORD, r)))
|
||||
.currentMonthOrders(Math.max(0, jitterInt(Baseline.W_M_ORD, r)))
|
||||
@@ -373,6 +375,8 @@ public final class BiSnapshotWeeklyRandomDataBuilder {
|
||||
static final int[] COMP_INCOME_TREND = {195, 248, 302, 415, 366, 488};
|
||||
|
||||
static final double W_WH_RATE = 96.8;
|
||||
static final String W_APPOINTMENT_TIME = "2026-08-03 09:30:00";
|
||||
static final String W_WORK_FLOOR = "一楼";
|
||||
static final long W_YEAR_ORD = 612_800L;
|
||||
static final int W_Q_ORD = 198_600;
|
||||
static final int W_M_ORD = 28_440;
|
||||
|
||||
+6
@@ -19,6 +19,12 @@ public class WarehouseTransportSituationVO {
|
||||
@ApiModelProperty("仓配衔接准时率,单位:%")
|
||||
private Double warehouseDistributionOnTimeRate;
|
||||
|
||||
@ApiModelProperty("预约申请时间")
|
||||
private String appointmentTime;
|
||||
|
||||
@ApiModelProperty("作业楼层")
|
||||
private String workFloor;
|
||||
|
||||
@ApiModelProperty("本年度订单,单位:单")
|
||||
private Long currentYearOrders;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user