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:
@@ -42,6 +42,7 @@ type ExpenseItem struct {
|
||||
WorkflowReason string `json:"workflowReason"`
|
||||
ExpenseStaffId int64 `json:"expenseStaffId"`
|
||||
CreatedStaffId int64 `json:"createdStaffId"`
|
||||
BanFlag int64 `json:"banFlag"`
|
||||
Ik3cloudStatus int64 `json:"ik3CloudStatus"`
|
||||
Ik3cloudErrMsg string `json:"ik3CloudErrMsg"`
|
||||
Ik3cloudUpdatedAt *time.Time `json:"ik3CloudUpdatedAt"`
|
||||
@@ -96,6 +97,7 @@ type ReplyExpenseInfo struct {
|
||||
WorkflowReason string `json:"workflowReason"`
|
||||
ExpenseStaffId int64 `json:"expenseStaffId"`
|
||||
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