feat(sale): 新增销售合同效益测算审核功能
- 在 append.go 中添加 AuditBenefit 方法,用于审核效益测算 - 在 audit.go 中添加 Benefit 方法,用于效益测算审核 - 在 constant.go 中添加 BusinessTypeSaleBenefitAudit常量,用于标识销售合同效益测算审核业务类型
This commit is contained in:
@@ -107,3 +107,13 @@ func (a *append) Benefit(ctx context.Context, args ArgsAppendBenefit) (reply Rep
|
||||
err = xClient.Call(ctx, "Benefit", args, &reply)
|
||||
return
|
||||
}
|
||||
|
||||
// AuditBenefit @TITLE 审核效益测算
|
||||
func (a *append) AuditBenefit(ctx context.Context, args ArgsAppendBenefit) (reply ReplyBenefitInfo, err error) {
|
||||
xClient, err := client.GetClient(a)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
err = xClient.Call(ctx, "AuditBenefit", args, &reply)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user