From 79108d21039fd4d5f7baf9bd9a7383326b88a9a9 Mon Sep 17 00:00:00 2001 From: kanade Date: Wed, 30 Oct 2024 14:55:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=87=BA=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- erp/shipment.go | 29 ++++++++++++++-------------- erp/shipment/customs.go | 31 +++++++++++++++--------------- erp/shipment/exchangeSettlement.go | 1 + erp/shipment/serial.go | 31 +++++++++++++++--------------- 4 files changed, 48 insertions(+), 44 deletions(-) diff --git a/erp/shipment.go b/erp/shipment.go index e62caee..4f14d5e 100644 --- a/erp/shipment.go +++ b/erp/shipment.go @@ -36,20 +36,21 @@ type ReplyShipmentList struct { Total int64 `json:"total"` } type ShipmentItem struct { - Id int64 `json:"id"` - PiSerials string `json:"piSerials"` - InvoiceSerial string `json:"invoiceSerial"` - ContractDate *time.Time `json:"contractDate"` - InvoiceDate time.Time `json:"invoiceDate"` - CustomName string `json:"customName"` - CustomShortName string `json:"customShortName"` - EstSailingDate *time.Time `json:"estSailingDate"` - ShipPort string `json:"shipPort"` - DischargePort string `json:"dischargePort"` - WorkflowStatus int64 `json:"workflowStatus"` - CreatedStaffId int64 `json:"createdStaffId"` - CreatedAt *time.Time `json:"createdAt"` - UpdatedAt *time.Time `json:"updatedAt"` + Id int64 `json:"id"` + PiSerials string `json:"piSerials"` + InvoiceSerial string `json:"invoiceSerial"` + ContractDate *time.Time `json:"contractDate"` + InvoiceDate time.Time `json:"invoiceDate"` + CustomName string `json:"customName"` + CustomShortName string `json:"customShortName"` + EstSailingDate *time.Time `json:"estSailingDate"` + ShipPort string `json:"shipPort"` + DischargePort string `json:"dischargePort"` + DischargePortEng string `json:"dischargePortEng"` + WorkflowStatus int64 `json:"workflowStatus"` + CreatedStaffId int64 `json:"createdStaffId"` + CreatedAt *time.Time `json:"createdAt"` + UpdatedAt *time.Time `json:"updatedAt"` } // List @TITLE 列表 diff --git a/erp/shipment/customs.go b/erp/shipment/customs.go index 86d3732..8bf467f 100644 --- a/erp/shipment/customs.go +++ b/erp/shipment/customs.go @@ -29,21 +29,22 @@ type ReplyCustomsList struct { } type CustomsItem struct { - Id int64 `json:"id"` - ShipmentId int64 `json:"shipmentId"` - InvoiceSerial string `json:"invoiceSerial"` - CustomsNo string `json:"customsNo"` - ContractDate *time.Time `json:"contractDate"` - InvoiceDate time.Time `json:"invoiceDate"` - CustomName string `json:"customName"` - CustomShortName string `json:"customShortName"` - EstSailingDate *time.Time `json:"estSailingDate"` - ShipPort string `json:"shipPort"` - DischargePort string `json:"dischargePort"` - BanFlag int64 `json:"banFlag"` - CreatedStaffId int64 `json:"createdStaffId"` - CreatedAt *time.Time `json:"createdAt"` - UpdatedAt *time.Time `json:"updatedAt"` + Id int64 `json:"id"` + ShipmentId int64 `json:"shipmentId"` + InvoiceSerial string `json:"invoiceSerial"` + CustomsNo string `json:"customsNo"` + ContractDate *time.Time `json:"contractDate"` + InvoiceDate time.Time `json:"invoiceDate"` + CustomName string `json:"customName"` + CustomShortName string `json:"customShortName"` + EstSailingDate *time.Time `json:"estSailingDate"` + ShipPort string `json:"shipPort"` + DischargePort string `json:"dischargePort"` + DischargePortEng string `json:"dischargePortEng"` + BanFlag int64 `json:"banFlag"` + CreatedStaffId int64 `json:"createdStaffId"` + CreatedAt *time.Time `json:"createdAt"` + UpdatedAt *time.Time `json:"updatedAt"` } // List @TITLE 列表 diff --git a/erp/shipment/exchangeSettlement.go b/erp/shipment/exchangeSettlement.go index 894ffa2..f102072 100644 --- a/erp/shipment/exchangeSettlement.go +++ b/erp/shipment/exchangeSettlement.go @@ -39,6 +39,7 @@ type ExchangeSettlementItem struct { EstSailingDate *time.Time `json:"estSailingDate"` ShipPort string `json:"shipPort"` DischargePort string `json:"dischargePort"` + DischargePortEng string `json:"dischargePortEng"` BanFlag int64 `json:"banFlag"` CreatedStaffId int64 `json:"createdStaffId"` CreatedAt *time.Time `json:"createdAt"` diff --git a/erp/shipment/serial.go b/erp/shipment/serial.go index 041a8f8..96f4db5 100644 --- a/erp/shipment/serial.go +++ b/erp/shipment/serial.go @@ -29,21 +29,22 @@ type ReplySerialList struct { } type SerialItem struct { - Id int64 `json:"id"` - ShipmentId int64 `json:"shipmentId"` - InvoiceSerial string `json:"invoiceSerial"` - SerialNo string `json:"serialNo"` - ContractDate *time.Time `json:"contractDate"` - InvoiceDate time.Time `json:"invoiceDate"` - CustomName string `json:"customName"` - CustomShortName string `json:"customShortName"` - EstSailingDate *time.Time `json:"estSailingDate"` - ShipPort string `json:"shipPort"` - DischargePort string `json:"dischargePort"` - BanFlag int64 `json:"banFlag"` - CreatedStaffId int64 `json:"createdStaffId"` - CreatedAt *time.Time `json:"createdAt"` - UpdatedAt *time.Time `json:"updatedAt"` + Id int64 `json:"id"` + ShipmentId int64 `json:"shipmentId"` + InvoiceSerial string `json:"invoiceSerial"` + SerialNo string `json:"serialNo"` + ContractDate *time.Time `json:"contractDate"` + InvoiceDate time.Time `json:"invoiceDate"` + CustomName string `json:"customName"` + CustomShortName string `json:"customShortName"` + EstSailingDate *time.Time `json:"estSailingDate"` + ShipPort string `json:"shipPort"` + DischargePort string `json:"dischargePort"` + DischargePortEng string `json:"dischargePortEng"` + BanFlag int64 `json:"banFlag"` + CreatedStaffId int64 `json:"createdStaffId"` + CreatedAt *time.Time `json:"createdAt"` + UpdatedAt *time.Time `json:"updatedAt"` } // List @TITLE 列表