服务端的TigerApi 框架,基于.NET6 2024 版本
Ben Lin
2024-12-04 07bb95e4e2fa1082048d9c50ba7e3c2563e91b00
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
105
106
107
108
109
110
111
112
113
114
115
116
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace Tiger.Model.Entitys.MES.U9C
{
    public class U9CBaseResult
    {
        public int ResCode { get; set; }
        public bool Success { get; set; }
        public string ResMsg { get; set; }
    }
    public class U9CResult : U9CBaseResult
    {
        public List<U9CReturnData> Data { get; set; }
    }
 
    public class U9CLoginResult : U9CBaseResult
    {
        public string Data { get; set; }
    }
 
    public class U9CReturnData
    {
        public string u9c_version { get; set; }
        public bool m_isSucess { get; set; }
        public string m_otherID { get; set; }
        public string m_iD { get; set; }
        public string m_code { get; set; }
        public string m_errorMsg { get; set; }
        public string m_datas { get; set; }
    }
 
    /// <summary>
    /// 入库单接口传入参数
    /// </summary>
    public class RcvRptDocCreateInput
    {
        public List<RcvRptDocBase> RcvRptDocBases { get; set; }
        public List<BIZ_ERP_PROD_IN_BTH> ErpProdInBths { get; set; }
        public List<InStorePrintJson> PrintJsons { get; set; }
        public List<BAS_LABEL_TEMP> labels { get; set; }
        public string userId { get; set; }
    }
 
    public class InStorePrintJson
    {
        public string ID { get; set; }
        public List<ProdInBatch> Items { get; set; }
    }
 
    public class ProdInBatch
    {
        public string ORDER_NO { get; set; }
        public string SALES_ORDER { get; set; }
        public string STATUS { get; set; }
        public string BATCH_NO { get; set; }
        public string WORK_ORDER { get; set; }
        public string ITEM_CODE { get; set; }
        public string SapCode { get; set; }
        public string ITEM_NAME { get; set; }
        public double PLAN_QTY { get; set; }
        public double SCAN_QTY { get; set; }
    }
 
    public class RcvRptDocBase
    {
        public string WorkOrder { get; set; }
        public string ItemCode { get; set; }
        public string WhCode { get; set; } = "10105";
        public int PkgQty { get; set; }
        public int CompleteQty { get; set; }
        public int OutputType { get; set; } = 0;
        public int StorageType { get; set; } = 4;
        public int DocState { get; set; } = 1;
        public string Status { get; set; }
    }
 
    public class RcvRptDocCreateParam
    {
       public List<CompleteList> CompleteList { get; set; }
        public string Remark { get; set; }
        public DateTime BusinessDate { get; set; }
    }
 
    public class CompleteList
    {
        public MOKey MOKey { get; set; }
        public Wh Wh { get; set; }
        public Item Item { get; set; }
        public DescFlexField DescFlexField { get; set; }
        public int CompleteQty { get; set; }
        public int OutputType { get; set; } = 0;
        public int StorageType { get; set; } = 4;
        public int DocState { get; set; } = 1;
    }
 
    public class MOKey
    {
        public string DocNo { get; set; }
    }
    public class Wh
    {
        public string Code { get; set; }
    }
    public class Item
    {
        public string Code { get; set; }
    }
    public class DescFlexField
    {
        public string PrivateDescSeg1 { get; set; }
    }
}