diff --git a/erp/shipment/customs.go b/erp/shipment/customs.go index 2138499..6bd47a0 100644 --- a/erp/shipment/customs.go +++ b/erp/shipment/customs.go @@ -2,10 +2,11 @@ package shipment import ( "context" + "time" + "git.kumo.work/shama/service/client" bean2 "git.kumo.work/shama/service/erp/bean" "git.kumo.work/shama/service/lib/bean" - "time" ) type customs struct { @@ -16,12 +17,14 @@ type ArgsCustomsList struct { Search CustomsSearch } type CustomsSearch struct { - CustomsNo string // 报关单号 - InvoiceSerial string // 出运发票号 - CustomIds []int64 // 客户筛选 - StaffIds []int64 // 业务员筛选 - BanFlag int64 // 是否有效 - CustomsIds []int64 // 报关id + CustomsNo string // 报关单号 + InvoiceSerial string // 出运发票号 + CustomIds []int64 // 客户筛选 + StaffIds []int64 // 业务员筛选 + BanFlag int64 // 是否有效 + CustomsIds []int64 // 报关id + EstSailingDateStart *time.Time // 预计船期 + EstSailingDateEnd *time.Time // 预计船期 } type ReplyCustomsList struct { List []CustomsItem `json:"list"` diff --git a/erp/shipment/exchangeSettlement.go b/erp/shipment/exchangeSettlement.go index edfebbb..2e53439 100644 --- a/erp/shipment/exchangeSettlement.go +++ b/erp/shipment/exchangeSettlement.go @@ -2,10 +2,11 @@ package shipment import ( "context" + "time" + "git.kumo.work/shama/service/client" bean2 "git.kumo.work/shama/service/erp/bean" "git.kumo.work/shama/service/lib/bean" - "time" ) type exchangeSettlement struct { @@ -16,12 +17,14 @@ type ArgsExchangeSettlementList struct { Search ExchangeSettlementSearch } type ExchangeSettlementSearch struct { - ExchangeSettlementNo string // 结汇单号 - InvoiceSerial string // 出运发票号 - CustomIds []int64 // 客户筛选 - StaffIds []int64 // 业务员筛选 - BanFlag int64 // 是否有效 - ExchangeSettlementIds []int64 // 结汇id + ExchangeSettlementNo string // 结汇单号 + InvoiceSerial string // 出运发票号 + CustomIds []int64 // 客户筛选 + StaffIds []int64 // 业务员筛选 + BanFlag int64 // 是否有效 + ExchangeSettlementIds []int64 // 结汇id + EstSailingDateStart *time.Time // 预计船期 + EstSailingDateEnd *time.Time // 预计船期 } type ReplyExchangeSettlementList struct { List []ExchangeSettlementItem `json:"list"` diff --git a/erp/shipment/serial.go b/erp/shipment/serial.go index ac48a84..19136ad 100644 --- a/erp/shipment/serial.go +++ b/erp/shipment/serial.go @@ -2,10 +2,11 @@ package shipment import ( "context" + "time" + "git.kumo.work/shama/service/client" bean2 "git.kumo.work/shama/service/erp/bean" "git.kumo.work/shama/service/lib/bean" - "time" ) type serial struct { @@ -16,12 +17,14 @@ type ArgsSerialList struct { Search SerialSearch } type SerialSearch struct { - SerialNo string // 商检单号 - InvoiceSerial string // 出运发票号 - CustomIds []int64 // 客户筛选 - StaffIds []int64 // 业务员筛选 - BanFlag int64 // 是否有效 - SerialIds []int64 // 商检id + SerialNo string // 商检单号 + InvoiceSerial string // 出运发票号 + CustomIds []int64 // 客户筛选 + StaffIds []int64 // 业务员筛选 + BanFlag int64 // 是否有效 + SerialIds []int64 // 商检id + EstSailingDateStart *time.Time // 预计船期 + EstSailingDateEnd *time.Time // 预计船期 } type ReplySerialList struct { List []SerialItem `json:"list"`