diff --git a/erp/paymentRefund.go b/erp/paymentRefund.go index 194f2f9..8ecd532 100644 --- a/erp/paymentRefund.go +++ b/erp/paymentRefund.go @@ -29,26 +29,27 @@ type ReplyPaymentRefundList struct { List []PaymentRefundItem `json:"list"` } type PaymentRefundItem struct { - Id int64 `json:"id"` - PaymentRefundSerial string `json:"paymentRefundSerial"` - FactoryId int64 `json:"factoryId"` - FactoryName string `json:"factoryName"` - Amount decimal.Decimal `json:"amount"` - Currency string `json:"currency"` - CurrencyName string `json:"currencyName"` - CurrencySymbol string `json:"currencySymbol"` - CurrencyRate decimal.Decimal `json:"currencyRate"` - RefundDate time.Time `json:"refundDate"` - BankAccount string `json:"bankAccount"` - InvoiceSerial string `json:"invoiceSerial"` - PaymentPurpose string `json:"paymentPurpose"` - Remark string `json:"remark"` - Ik3cloudStatus int64 `json:"ik3CloudStatus"` - Ik3cloudErrMsg string `json:"ik3CloudErrMsg"` - Ik3cloudUpdatedAt *time.Time `json:"ik3CloudUpdatedAt"` - CreatedStaffId int64 `json:"createdStaffId"` - CreatedAt *time.Time `json:"createdAt"` - UpdatedAt *time.Time `json:"updatedAt"` + Id int64 `json:"id"` + PaymentRefundSerial string `json:"paymentRefundSerial"` + FactoryId int64 `json:"factoryId"` + FactoryName string `json:"factoryName"` + Amount decimal.Decimal `json:"amount"` + Currency string `json:"currency"` + CurrencyName string `json:"currencyName"` + CurrencySymbol string `json:"currencySymbol"` + CurrencyRate decimal.Decimal `json:"currencyRate"` + RefundDate time.Time `json:"refundDate"` + BankAccount string `json:"bankAccount"` + InvoiceSerial string `json:"invoiceSerial"` + PaymentPurposeNumber string `json:"paymentPurposeNumber"` + PaymentPurpose string `json:"paymentPurpose"` + Remark string `json:"remark"` + Ik3cloudStatus int64 `json:"ik3CloudStatus"` + Ik3cloudErrMsg string `json:"ik3CloudErrMsg"` + Ik3cloudUpdatedAt *time.Time `json:"ik3CloudUpdatedAt"` + CreatedStaffId int64 `json:"createdStaffId"` + CreatedAt *time.Time `json:"createdAt"` + UpdatedAt *time.Time `json:"updatedAt"` } type PaymentRefundCostItem struct { Id int64 `json:"id"` @@ -73,17 +74,18 @@ type ArgsPaymentRefundAdd struct { PaymentRefundAdd } type PaymentRefundAdd struct { - FactoryId int64 // 工厂id - Currency string // 币种 - CurrencyName string // 币种名称 - CurrencySymbol string // 币种符号 - CurrencyRate decimal.Decimal // 币种汇率 - RefundDate time.Time // 退款日期 - Amount decimal.Decimal // 金额 - Remark string // 备注 - PaymentPurpose string // 原付款用途 - BankAccount string // 我方银行账号 - InvoiceSerial string // 发票号 + FactoryId int64 // 工厂id + Currency string // 币种 + CurrencyName string // 币种名称 + CurrencySymbol string // 币种符号 + CurrencyRate decimal.Decimal // 币种汇率 + RefundDate time.Time // 退款日期 + Amount decimal.Decimal // 金额 + Remark string // 备注 + PaymentPurposeNumber string // 原付款用途 + PaymentPurpose string // 原付款用途 + BankAccount string // 我方银行账号 + InvoiceSerial string // 发票号 } // Add @TITLE 添加(手动创建) diff --git a/ik3cloud/constant/constant.go b/ik3cloud/constant/constant.go index 1512dfb..f0a0b9e 100644 --- a/ik3cloud/constant/constant.go +++ b/ik3cloud/constant/constant.go @@ -116,6 +116,7 @@ type FilterCompare = string const ( FilterCompareEqual FilterCompare = "67" // 等于 + FilterCompareEqualNum FilterCompare = "29" // 等于 FilterCompareStatusEqual FilterCompare = "105" // 状态等于 FilterCompareLte FilterCompare = "16" // 小于等于 FilterCompareGte FilterCompare = "39" // 大于等于