Files
service/erp/payment/audit.go
kanade 1fdbc29a5c feat(erp): 添加付款单审核功能
- 新增 BusinessTypePayment 类型用于付款单审核
- 添加 payment 包结构体定义
- 扩展 PaymentSearch 结构体支持 PaymentIds 查询字段
- 在 Payment 结构体中增加 prepaidAmount 和 paidAmount 字段
- 新增 receipt 和 request 查询参数中的发票号字段
- 添加付款单审核提交接口实现
2026-01-21 11:17:56 +08:00

27 lines
489 B
Go

package payment
import (
"context"
"git.kumo.work/shama/service/client"
)
type audit struct {
}
type ArgsAuditSubmit struct {
StaffId int64 // 操作人
PaymentId int64 // 付款单
AuditStaffIds []int64 // 审核人
}
// Submit @TITLE 提交审核
func (a *audit) Submit(ctx context.Context, args ArgsAuditSubmit) (err error) {
xClient, err := client.GetClient(a)
if err != nil {
return
}
reply := 0
err = xClient.Call(ctx, "Submit", args, &reply)
return
}