自动化立体仓库 - WMS系统
zhangchao
2024-11-15 7c1af4c63e66754f0868c1a501f4895f9cbc9213
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
package com.zy.asrs.entity.param;
 
import lombok.Data;
 
import java.util.List;
import java.util.Objects;
 
@Data
public class OrderSyncParam {
    private String 操作系统号;
    private String 操作单据;
    private String 操作类型;
 
 
    //入出库标记
    private Integer pakin;
    //单据类型
    private String orderType;
    private String Upstreamcode;
    //订单编号
    private String cPOID;
    //供应商编码
    private String cVenCode;
    //订单所有人
    private String cPersonCode;
    //交货方式
    private String cSCCode;
    //币种
    private String cexch_name;
    //汇率
    private Double nflat;
    //订单备注
    private String cMemo;
    //状态
    private Integer states;
    //单据日期
    private String ddate;
    //件数
    private Double iNum;
 
    //换算率
    private Double  iinvexchrate;
 
    private List<OrderDetl> children;
 
 
    @Data
    public static class OrderDetl {
        //订单行号
        private String ivouchrowno;
        //物料编码
        private String cInvCode;
        //批号
        private String batch;
        //需求时间
        private String dArriveDate;
        //需求数量
        private Double iQuantity;
        //含税单价
        private Double iTaxPrice;
        //税率
        private Double iPerTaxRate;
        //行备注
        private String cbMemo;
        //件数
        private Double iNum;
 
        //换算率
        private Double  iinvexchrate;
        //单据来源
        private String cSource;
        //生产订单号(销售订单号)
        private String cDefine22;
        //行状态
        private String Rstates;
        //销售订单号 (参照销售订单生成)
        private String csocode;
        //规格(自由项1)
        private String bFree1;
        //采购订单子表标识
        private String id;
        //销售订单子表标识
        private String iorderdid;
 
        private String iPOsID;
 
        @Override
        public boolean equals(Object object) {
            if (this == object) return true;
            if (object == null || getClass() != object.getClass()) return false;
            OrderDetl orderDetl = (OrderDetl) object;
            return Objects.equals(cInvCode, orderDetl.cInvCode) && Objects.equals(batch, orderDetl.batch) && Objects.equals(bFree1, orderDetl.bFree1) && Objects.equals(cDefine22, orderDetl.cDefine22);
        }
 
        @Override
        public int hashCode() {
            return Objects.hash(ivouchrowno, cInvCode, batch, dArriveDate, iQuantity, iTaxPrice, iPerTaxRate, cbMemo, iNum, cSource, cDefine22, Rstates, csocode, bFree1, id, iorderdid);
        }
 
 
    }
 
 
}