添加字段
This commit is contained in:
parent
6d30f094b7
commit
9ce98e004e
@ -133,3 +133,23 @@ func (c *customs) Customs(ctx context.Context, customsId int64) (reply bean2.Rep
|
||||
err = xClient.Call(ctx, "Customs", customsId, &reply)
|
||||
return
|
||||
}
|
||||
|
||||
type ArgsCustomsEdit struct {
|
||||
CustomsId int64 // 报关单id
|
||||
ArgsCustomsData
|
||||
}
|
||||
type ArgsCustomsData struct {
|
||||
InvoiceDate *time.Time // 发票日期
|
||||
ContractDate *time.Time // 合同日期
|
||||
}
|
||||
|
||||
// Edit @TITLE 编辑
|
||||
func (c *customs) Edit(ctx context.Context, args ArgsCustomsEdit) (err error) {
|
||||
xClient, err := client.GetClient(c)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
reply := 0
|
||||
err = xClient.Call(ctx, "Edit", args, &reply)
|
||||
return
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user