diff --git a/erp/shipment.go b/erp/shipment.go index 4f14d5e..921ad1e 100644 --- a/erp/shipment.go +++ b/erp/shipment.go @@ -72,7 +72,7 @@ type ShipmentAdd struct { VouchingClerkId int64 // 单证id EstSailingDate *time.Time // 预计船期 InvoiceSerial string // 发票号 - InvoiceDate time.Time // 发票日期 + InvoiceDate *time.Time // 发票日期 ContractDate *time.Time // 合同日期 TradeType string // 贸易类型 OurCompany string // 我方公司 diff --git a/erp/shipment/bean.go b/erp/shipment/bean.go index ab64c6f..dce3f2e 100644 --- a/erp/shipment/bean.go +++ b/erp/shipment/bean.go @@ -13,7 +13,7 @@ type ReplyShipmentInfo struct { CustomShortName string `json:"customShortName"` EstSailingDate *time.Time `json:"estSailingDate"` InvoiceSerial string `json:"invoiceSerial"` - InvoiceDate time.Time `json:"invoiceDate"` + InvoiceDate *time.Time `json:"invoiceDate"` ContractDate *time.Time `json:"contractDate"` TradeType string `json:"tradeType"` OurCompany string `json:"ourCompany"`