fix:需求单首字母大写
This commit is contained in:
@@ -34,50 +34,48 @@ public class PmDemandParam {
|
||||
@JsonProperty(value = "Priority")
|
||||
private Integer priority;
|
||||
|
||||
@JsonProperty(value = "status")
|
||||
@JsonProperty(value = "Status")
|
||||
private String status;
|
||||
|
||||
@NotBlank(message = "工单编号不能为空")
|
||||
@JsonProperty(value = "workOrder")
|
||||
@JsonProperty(value = "WorkOrder")
|
||||
private String workOrder;
|
||||
|
||||
@NotBlank(message = "物料编码不能为空")
|
||||
@JsonProperty(value = "skuCode")
|
||||
@JsonProperty(value = "SkuCode")
|
||||
private String skuCode;
|
||||
|
||||
@NotBlank(message = "物料名称不能为空")
|
||||
@JsonProperty(value = "skuName")
|
||||
@JsonProperty(value = "SkuName")
|
||||
private String skuName;
|
||||
|
||||
@NotNull(message = "数量不能为空")
|
||||
@DecimalMin(value = "0", inclusive = false, message = "数量必须大于0")
|
||||
@JsonProperty(value = "qty")
|
||||
@JsonProperty(value = "Qty")
|
||||
private BigDecimal qty;
|
||||
|
||||
@DecimalMin(value = "0", inclusive = false, message = "数量必须大于0")
|
||||
@JsonProperty(value = "qssignQty")
|
||||
private BigDecimal qssignQty;
|
||||
private BigDecimal ssignQty;
|
||||
|
||||
@NotBlank(message = "单位不能为空")
|
||||
@JsonProperty(value = "unit")
|
||||
@JsonProperty(value = "Unit")
|
||||
private String unit;
|
||||
|
||||
@NotBlank(message = "目标库存地点不能为空")
|
||||
@JsonProperty(value = "targetArea")
|
||||
@JsonProperty(value = "TargetArea")
|
||||
private String targetArea;
|
||||
|
||||
@NotBlank(message = "产线不能为空")
|
||||
@JsonProperty(value = "productionLine")
|
||||
@JsonProperty(value = "ProductionLine")
|
||||
private String productionLine;
|
||||
@NotBlank(message = "目标库存地点不能为空")
|
||||
@JsonProperty(value = "targetHouseCode")
|
||||
@JsonProperty(value = "TargetHouseCode")
|
||||
private String targetHouseCode;
|
||||
|
||||
@NotBlank(message = "产线不能为空")
|
||||
@JsonProperty(value = "carrierType")
|
||||
@JsonProperty(value = "CarrierType")
|
||||
private String carrierType;
|
||||
|
||||
@JsonProperty(value = "sn")
|
||||
@JsonProperty(value = "Sn")
|
||||
private String sn;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user