diff --git a/blade-service/logpm-factory/src/main/java/com/logpm/factory/oupai/vo/OuPaiDataPushVO.java b/blade-service/logpm-factory/src/main/java/com/logpm/factory/oupai/vo/OuPaiDataPushVO.java index 3d1d57fc4..f24b7c58e 100644 --- a/blade-service/logpm-factory/src/main/java/com/logpm/factory/oupai/vo/OuPaiDataPushVO.java +++ b/blade-service/logpm-factory/src/main/java/com/logpm/factory/oupai/vo/OuPaiDataPushVO.java @@ -1,5 +1,6 @@ package com.logpm.factory.oupai.vo; +import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Data; @Data @@ -8,11 +9,13 @@ public class OuPaiDataPushVO { /** * 仓库名称 */ - private String WarehouseName; + @JsonProperty("WarehouseName") + private String warehouseName; /** * 对象实体的名称 */ - private String TypeName; + @JsonProperty("TypeName") + private String typeName; /** * 0:收货单开始收货 * 1:收货单完成收货 @@ -22,19 +25,23 @@ public class OuPaiDataPushVO { * 5:签收单签收 * 6:签收单部分签收 */ - private int Event; + @JsonProperty("Event") + private int event; /** * 相关单号 */ - private String OrderCode; + @JsonProperty("OrderCode") + private String orderCode; /** * 对象key值,Type实体对象对应的OID值(唯一 */ - private String Key; + @JsonProperty("Key") + private String key; /** * 签名,暂时为空 */ - private String Sign; + @JsonProperty("Sign") + private String sign; }