/// <summary> /// 创建 /// </summary> /// <param name="CountdownVM"></param> /// <param name="callback"></param> public void Create(CountdownInfoVM CountdownVM, EventHandler <RestClientEventArgs <CountdownInfo> > callback) { var data = CountdownVM.ConvertVM <CountdownInfoVM, CountdownInfo>((v, en) => { }); string relativeUrl = "/MKTService/Countdown/Create"; restClient.Create <CountdownInfo>(relativeUrl, data, callback); }
/// <summary> /// 加载分仓数量列表 /// </summary> public void GetGrossMargin(CountdownInfoVM CountdownVM, EventHandler <RestClientEventArgs <GrossMarginMsg> > callback) { var data = CountdownVM.ConvertVM <CountdownInfoVM, CountdownInfo>((v, en) => { en.WebChannel = new BizEntity.Common.WebChannel() { ChannelID = v.ChannelID }; }); string relativeUrl = "/MKTService/Countdown/GetGrossMargin"; restClient.Query <GrossMarginMsg>(relativeUrl, data, callback); }
/// <summary> /// 批量作废 /// </summary> /// <param name="sysNoList"></param> /// <param name="callback"></param> public void Void(CountdownInfoVM CountdownVM, EventHandler <RestClientEventArgs <dynamic> > callback) { var data = CountdownVM.ConvertVM <CountdownInfoVM, CountdownInfo>((v, en) => { en.WebChannel = new BizEntity.Common.WebChannel() { ChannelID = v.ChannelID }; }); string relativeUrl = "/MKTService/Countdown/Abandon"; restClient.Update(relativeUrl, data, callback); }
public void CheckOptionalAccessoriesInfoMsg(CountdownInfoVM CountdownVM, EventHandler <RestClientEventArgs <string> > callback) { var data = CountdownVM.ConvertVM <CountdownInfoVM, CountdownInfo>((v, en) => { en.WebChannel = new BizEntity.Common.WebChannel() { ChannelID = v.ChannelID }; }); string relativeUrl = "/MKTService/Countdown/CheckOptionalAccessoriesInfoMsg"; restClient.Update <string>(relativeUrl, data, callback); }