feat(erp/sale): 添加效益测算功能

- 在 change.go 文件中新增 Benefit 方法
- 实现了效益测算的远程调用逻辑
This commit is contained in:
守护自己的云 2025-07-25 17:30:48 +08:00
parent 337b9f0331
commit 0a3191debd

View File

@ -30,3 +30,13 @@ func (c *change) All(ctx context.Context, args ArgsChangeAllSearch) (reply []Cha
err = xClient.Call(ctx, "All", args, &reply) err = xClient.Call(ctx, "All", args, &reply)
return return
} }
// Benefit @TITLE 效益测算
func (c *change) Benefit(ctx context.Context, args ArgsAppendBenefit) (reply ReplyBenefitInfo, err error) {
xClient, err := client.GetClient(c)
if err != nil {
return
}
err = xClient.Call(ctx, "Benefit", args, &reply)
return
}