From 959e5318189e66ad58d07c5bb94789c815b4d2e9 Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期六, 16 八月 2025 11:42:37 +0800 Subject: [PATCH] art: WebService服务端相关代码修改 --- src/main/java/org/jeecg/modules/wms/request/WebServiceSendItem.java | 121 ++++++++++++++++++++++++++-------------- 1 files changed, 79 insertions(+), 42 deletions(-) diff --git a/src/main/java/org/jeecg/modules/wms/request/WebServiceSendItem.java b/src/main/java/org/jeecg/modules/wms/request/WebServiceSendItem.java index d87832f..ab7e44e 100644 --- a/src/main/java/org/jeecg/modules/wms/request/WebServiceSendItem.java +++ b/src/main/java/org/jeecg/modules/wms/request/WebServiceSendItem.java @@ -1,70 +1,107 @@ + package org.jeecg.modules.wms.request; import lombok.Getter; import lombok.Setter; +import java.math.BigDecimal; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; -import java.io.Serializable; -import java.math.BigDecimal; +import javax.xml.bind.annotation.XmlType; + +/** + * <p>WebServiceSendItem complex type鐨� Java 绫汇�� + * + * <p>浠ヤ笅妯″紡鐗囨鎸囧畾鍖呭惈鍦ㄦ绫讳腑鐨勯鏈熷唴瀹广�� + * + * <pre> + * <complexType name="WebServiceSendItem"> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="FactoryCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="SkuCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Align" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Pallet" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="PackageNo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="TrackLot" type="{http://www.w3.org/2001/XMLSchema}long"/> + * <element name="Series" type="{http://www.w3.org/2001/XMLSchema}long"/> + * <element name="MesStockID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}decimal"/> + * <element name="SapTrackLot" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Section" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="DestSection" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="SupplierCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="SupplierTrackLot" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="StageID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="Remark" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * <element name="OrderCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "WebServiceSendItem", propOrder = { + "factoryCode", + "skuCode", + "align", + "pallet", + "packageNo", + "trackLot", + "series", + "mesStockID", + "quantity", + "sapTrackLot", + "section", + "destSection", + "supplierCode", + "supplierTrackLot", + "stageID", + "remark", + "orderCode" +}) @Getter @Setter -@XmlAccessorType(XmlAccessType.FIELD) -public class WebServiceSendItem implements Serializable { - /**宸ュ巶缂栫爜 */ +public class WebServiceSendItem { + @XmlElement(name = "FactoryCode") - private String factoryCode; - /** 鐗╂枡缂栫爜 */ + protected String factoryCode; @XmlElement(name = "SkuCode") - private String skuCode; - /** 棰勭暀鍙� */ - @XmlElement(name = "ReservationOrder") - private String reservationOrder; - /** 瀵归綈鏂瑰紡 */ + protected String skuCode; @XmlElement(name = "Align") - private String align; - /** 鎵樺彿 */ + protected String align; @XmlElement(name = "Pallet") - private String pallet; - /** 鍖呰缂栫爜 */ + protected String pallet; @XmlElement(name = "PackageNo") - private String packageNo; - /** 鎵规鍙� */ + protected String packageNo; @XmlElement(name = "TrackLot") - private String trackLot; - /** 绯诲垪鍙� */ + protected long trackLot; @XmlElement(name = "Series") - private String series; - /** MES搴撳瓨ID */ + protected long series; @XmlElement(name = "MesStockID") - private String mesStockID; - /** 鏁伴噺 */ - @XmlElement(name = "Quantity") - private BigDecimal quantity; - /** SAP鎵规鍙� */ + protected String mesStockID; + @XmlElement(name = "Quantity", required = true) + protected BigDecimal quantity; @XmlElement(name = "SapTrackLot") - private String sapTrackLot; - /** 鍙戦�佸簱瀛樺湴 */ + protected String sapTrackLot; @XmlElement(name = "Section") - private String section; - /** 鐩爣搴撳瓨鍦� */ + protected String section; @XmlElement(name = "DestSection") - private String destSection; - /** 渚涘簲鍟嗕唬鐮� */ + protected String destSection; @XmlElement(name = "SupplierCode") - private String supplierCode; - /** 渚涘簲鍟嗘壒娆″彿 */ + protected String supplierCode; @XmlElement(name = "SupplierTrackLot") - private String supplierTrackLot; - /** 闃舵ID */ + protected String supplierTrackLot; @XmlElement(name = "StageID") - private String stageID; - /** 澶囨敞 */ + protected String stageID; @XmlElement(name = "Remark") - private String remark; - /** 璁㈠崟缂栫爜 */ + protected String remark; @XmlElement(name = "OrderCode") - private String orderCode; + protected String orderCode; } -- Gitblit v1.9.3