fix(logic): 添加 Ik3cloudID 验证防止无效取消操作
- 在 expense.go 中添加 expenseThird.Ik3cloudID > 0 的验证条件 - 在 receipt.go 中添加 receiptThird.Ik3cloudID > 0 的验证条件 - 在 request.go 中添加 requestThird.Ik3cloudID > 0 的验证条件 - 避免对 Ik3cloudID 为 0 的记录执行取消操作 - 防止因无效 ID 导致的第三方支付取消失败
This commit is contained in:
@@ -41,6 +41,7 @@ type RequestItem struct {
|
||||
CurrencyRate decimal.Decimal `json:"currencyRate"`
|
||||
Remarks string `json:"remarks"`
|
||||
Amount decimal.Decimal `json:"amount"`
|
||||
BanFlag int64 `json:"banFlag"`
|
||||
WorkflowId int64 `json:"workflowId"`
|
||||
WorkflowStatus int64 `json:"workflowStatus"`
|
||||
WorkflowReason string `json:"workflowReason"`
|
||||
@@ -106,6 +107,7 @@ type ReplyRequestInfo struct {
|
||||
WorkflowStatus int64 `json:"workflowStatus"`
|
||||
WorkflowReason string `json:"workflowReason"`
|
||||
CreatedStaffId int64 `json:"createdStaffId"`
|
||||
BanFlag int64 `json:"banFlag"`
|
||||
Ik3cloudStatus int64 `json:"ik3CloudStatus"`
|
||||
Ik3cloudErrMsg string `json:"ik3CloudErrMsg"`
|
||||
Ik3cloudUpdatedAt *time.Time `json:"ik3CloudUpdatedAt"`
|
||||
|
||||
Reference in New Issue
Block a user