This commit is contained in:
2024-09-20 14:51:43 +08:00
parent aafd4150c3
commit 57d59b3fbe
9 changed files with 274 additions and 34 deletions

25
erp/shipment/audit.go Normal file
View File

@@ -0,0 +1,25 @@
package shipment
import (
"context"
"git.kumo.work/shama/service/client"
)
type audit struct {
}
type ArgsAuditSubmit struct {
StaffId int64 // 操作人
ShipmentId int64 // 订舱单id
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
}