feat(erp): 更新报销单据结构并移除工作流字段
- 在 payable.go 中添加 CostAmount 字段用于加减费用金额 - 移除 request.go 中 RequestIds 字段 - 移除 RequestItem 和 ReplyRequestList 结构中的 WorkflowId、WorkflowStatus 和 WorkflowReason 字段
This commit is contained in:
@@ -120,3 +120,13 @@ func (r *expense) Edit(ctx context.Context, args ArgsExpenseEdit) (err error) {
|
||||
reply := 0
|
||||
return xClient.Call(ctx, "Edit", args, &reply)
|
||||
}
|
||||
|
||||
// Ik3cloud @TITLE 同步
|
||||
func (r *expense) Ik3cloud(ctx context.Context, expenseId int64) (err error) {
|
||||
xClient, err := client.GetClient(r)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
reply := 0
|
||||
return xClient.Call(ctx, "Ik3cloud", expenseId, &reply)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user