更新修改单

This commit is contained in:
守护自己的云 2025-04-15 16:22:55 +08:00
parent 344bdade70
commit aabc5d4378

View File

@ -315,3 +315,13 @@ func (s *sale) History(ctx context.Context, args ArgsSaleHistory) (reply ReplySa
err = xClient.Call(ctx, "History", args, &reply) err = xClient.Call(ctx, "History", args, &reply)
return return
} }
// Cancel @TITLE 作废采购合同
func (s *sale) Cancel(ctx context.Context, saleId int64) (err error) {
xClient, err := client.GetClient(s)
if err != nil {
return
}
reply := 0
return xClient.Call(ctx, "Cancel", saleId, &reply)
}