feat(payment-refund): 新增支付退款原付款用途编号字段
- 在 PaymentRefundItem 结构体中新增 PaymentPurposeNumber 字段 - 在 PaymentRefundAdd 结构体中新增 PaymentPurposeNumber 字段 - 在 ik3cloud 常量中新增 FilterCompareEqualNum 过滤比较常量
This commit is contained in:
@@ -29,26 +29,27 @@ type ReplyPaymentRefundList struct {
|
|||||||
List []PaymentRefundItem `json:"list"`
|
List []PaymentRefundItem `json:"list"`
|
||||||
}
|
}
|
||||||
type PaymentRefundItem struct {
|
type PaymentRefundItem struct {
|
||||||
Id int64 `json:"id"`
|
Id int64 `json:"id"`
|
||||||
PaymentRefundSerial string `json:"paymentRefundSerial"`
|
PaymentRefundSerial string `json:"paymentRefundSerial"`
|
||||||
FactoryId int64 `json:"factoryId"`
|
FactoryId int64 `json:"factoryId"`
|
||||||
FactoryName string `json:"factoryName"`
|
FactoryName string `json:"factoryName"`
|
||||||
Amount decimal.Decimal `json:"amount"`
|
Amount decimal.Decimal `json:"amount"`
|
||||||
Currency string `json:"currency"`
|
Currency string `json:"currency"`
|
||||||
CurrencyName string `json:"currencyName"`
|
CurrencyName string `json:"currencyName"`
|
||||||
CurrencySymbol string `json:"currencySymbol"`
|
CurrencySymbol string `json:"currencySymbol"`
|
||||||
CurrencyRate decimal.Decimal `json:"currencyRate"`
|
CurrencyRate decimal.Decimal `json:"currencyRate"`
|
||||||
RefundDate time.Time `json:"refundDate"`
|
RefundDate time.Time `json:"refundDate"`
|
||||||
BankAccount string `json:"bankAccount"`
|
BankAccount string `json:"bankAccount"`
|
||||||
InvoiceSerial string `json:"invoiceSerial"`
|
InvoiceSerial string `json:"invoiceSerial"`
|
||||||
PaymentPurpose string `json:"paymentPurpose"`
|
PaymentPurposeNumber string `json:"paymentPurposeNumber"`
|
||||||
Remark string `json:"remark"`
|
PaymentPurpose string `json:"paymentPurpose"`
|
||||||
Ik3cloudStatus int64 `json:"ik3CloudStatus"`
|
Remark string `json:"remark"`
|
||||||
Ik3cloudErrMsg string `json:"ik3CloudErrMsg"`
|
Ik3cloudStatus int64 `json:"ik3CloudStatus"`
|
||||||
Ik3cloudUpdatedAt *time.Time `json:"ik3CloudUpdatedAt"`
|
Ik3cloudErrMsg string `json:"ik3CloudErrMsg"`
|
||||||
CreatedStaffId int64 `json:"createdStaffId"`
|
Ik3cloudUpdatedAt *time.Time `json:"ik3CloudUpdatedAt"`
|
||||||
CreatedAt *time.Time `json:"createdAt"`
|
CreatedStaffId int64 `json:"createdStaffId"`
|
||||||
UpdatedAt *time.Time `json:"updatedAt"`
|
CreatedAt *time.Time `json:"createdAt"`
|
||||||
|
UpdatedAt *time.Time `json:"updatedAt"`
|
||||||
}
|
}
|
||||||
type PaymentRefundCostItem struct {
|
type PaymentRefundCostItem struct {
|
||||||
Id int64 `json:"id"`
|
Id int64 `json:"id"`
|
||||||
@@ -73,17 +74,18 @@ type ArgsPaymentRefundAdd struct {
|
|||||||
PaymentRefundAdd
|
PaymentRefundAdd
|
||||||
}
|
}
|
||||||
type PaymentRefundAdd struct {
|
type PaymentRefundAdd struct {
|
||||||
FactoryId int64 // 工厂id
|
FactoryId int64 // 工厂id
|
||||||
Currency string // 币种
|
Currency string // 币种
|
||||||
CurrencyName string // 币种名称
|
CurrencyName string // 币种名称
|
||||||
CurrencySymbol string // 币种符号
|
CurrencySymbol string // 币种符号
|
||||||
CurrencyRate decimal.Decimal // 币种汇率
|
CurrencyRate decimal.Decimal // 币种汇率
|
||||||
RefundDate time.Time // 退款日期
|
RefundDate time.Time // 退款日期
|
||||||
Amount decimal.Decimal // 金额
|
Amount decimal.Decimal // 金额
|
||||||
Remark string // 备注
|
Remark string // 备注
|
||||||
PaymentPurpose string // 原付款用途
|
PaymentPurposeNumber string // 原付款用途
|
||||||
BankAccount string // 我方银行账号
|
PaymentPurpose string // 原付款用途
|
||||||
InvoiceSerial string // 发票号
|
BankAccount string // 我方银行账号
|
||||||
|
InvoiceSerial string // 发票号
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add @TITLE 添加(手动创建)
|
// Add @TITLE 添加(手动创建)
|
||||||
|
|||||||
@@ -116,6 +116,7 @@ type FilterCompare = string
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
FilterCompareEqual FilterCompare = "67" // 等于
|
FilterCompareEqual FilterCompare = "67" // 等于
|
||||||
|
FilterCompareEqualNum FilterCompare = "29" // 等于
|
||||||
FilterCompareStatusEqual FilterCompare = "105" // 状态等于
|
FilterCompareStatusEqual FilterCompare = "105" // 状态等于
|
||||||
FilterCompareLte FilterCompare = "16" // 小于等于
|
FilterCompareLte FilterCompare = "16" // 小于等于
|
||||||
FilterCompareGte FilterCompare = "39" // 大于等于
|
FilterCompareGte FilterCompare = "39" // 大于等于
|
||||||
|
|||||||
Reference in New Issue
Block a user