feat(erp/sale): 添加效益测算功能
- 在 change.go 文件中新增 Benefit 方法 - 实现了效益测算的远程调用逻辑
This commit is contained in:
parent
337b9f0331
commit
0a3191debd
@ -30,3 +30,13 @@ func (c *change) All(ctx context.Context, args ArgsChangeAllSearch) (reply []Cha
|
||||
err = xClient.Call(ctx, "All", args, &reply)
|
||||
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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user