feat(ik3cloud): 新增收款单功能并完善作废接口
- 新增收款单常量定义及映射配置 - 新增收款单类型枚举定义 - 新增收款单服务模块,支持保存和作废操作 - 在应付、应收、付款模块中补充作废接口实现 - 定义收款单保存参数结构体及费用明细结构体
This commit is contained in:
@@ -45,3 +45,13 @@ func (p *payment) Save(ctx context.Context, args ArgsPaymentSave) (entity Entity
|
||||
err = xClient.Call(ctx, "Save", args, &entity)
|
||||
return
|
||||
}
|
||||
|
||||
// Cancel @TITLE 作废
|
||||
func (p *payment) Cancel(ctx context.Context, args Unique) (err error) {
|
||||
xClient, err := client.GetClient(p)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
reply := 0
|
||||
return xClient.Call(ctx, "Cancel", args, &reply)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user