/// <summary> /// 修改 /// </summary> public void Update(PostIncomeVM vm, Action callback) { var req = new UpdatePostIncomeReq() { PostIncome = vm.ConvertVM <PostIncomeVM, PostIncomeInfo>(), ConfirmedSOSysNo = vm.ConfirmedSOSysNoList }; string relativeUrl = "/InvoiceService/PostIncome/Update"; restClient.Update(relativeUrl, req, (obj, args) => { if (args.FaultsHandle()) { return; } callback(); }); }
public void UpdatePostIncome(UpdatePostIncomeReq req) { ObjectFactory <PostIncomeAppService> .Instance.Update(req.PostIncome, req.ConfirmedSOSysNo); }