using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WX.CRM.BLL.Deliver; using WX.CRM.BLL.Wx; using WX.CRM.Common; using WX.CRM.DataSynFactory.Templates; using WX.CRM.Model.Entity; using Newtonsoft.Json; using System.IO; namespace WX.CRM.DataSynFactory.Cmd { public class Client_DeliverMethod_IMP : Interfaces.IDataImportSvr { private DELIVER_BLL _deliverBll = new DELIVER_BLL(); public bool GenerateBusinessOne(Client_DeliverMethod t) { try { LogHelper.Error("开始处理数据:"+JsonConvert.SerializeObject(t)); _deliverBll.InserOrUpdate(t.method); _deliverBll.InserLog(t.log); return true; } catch (Exception ex) { LogHelper.Error(ex.ToString()); return false; } } } }