From 5ad9eae2dfad4d34b0e605f8acf6ae93495c1a04 Mon Sep 17 00:00:00 2001 From: qian Date: Tue, 24 Sep 2024 09:29:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=97=E6=B1=BD=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Properties/Settings.Designer.cs | 36 + .../Controller/Properties/Settings.settings | 9 + 北京北汽/Controller/SCP_ASK_CONTROLLER.cs | 8 + .../Controller/SCP_DC_UNI_CONTROLLER.cs | 52 +- .../WebReference/ExchangeCenterService.disco | 6 + .../WebReference/ExchangeCenterService.wsdl | 980 ++++++++++++++++++ .../Web References/WebReference/Reference.cs | 796 ++++++++++++++ .../Web References/WebReference/Reference.map | 7 + .../ScpEntity/V_TB_INCOMOLETE_DETAIL.cs | 3 + 北京北汽/Models/ScpEntity/V_TB_PO_PLAN.cs | 105 ++ .../Models/ScpEntity/V_TB_PO_PLAN_BJBMPT.cs | 55 + .../Models/ScpEntity/V_TB_PO_PLAN_DETAIL.cs | 31 + .../Models/UniApiEntity/ServiceResult.cs | 16 + .../SCP/Views/PlanData/SCP_PO_BJPLAN.aspx | 112 ++ .../SCP/Views/PlanData/SCP_PO_BJPLAN.aspx.cs | 251 +++++ .../PlanData/SCP_PO_BJPLAN.aspx.designer.cs | 224 ++++ .../Views/PlanData/SCP_PO_PLAN_DETAIL.aspx | 62 ++ .../Views/PlanData/SCP_PO_PLAN_DETAIL.aspx.cs | 51 + .../SCP_PO_PLAN_DETAIL.aspx.designer.cs | 114 ++ .../SCP_INCOMOLETE_DETAIL.aspx.cs | 6 +- 20 files changed, 2904 insertions(+), 20 deletions(-) create mode 100644 北京北汽/Controller/Properties/Settings.Designer.cs create mode 100644 北京北汽/Controller/Properties/Settings.settings create mode 100644 北京北汽/Controller/Web References/WebReference/ExchangeCenterService.disco create mode 100644 北京北汽/Controller/Web References/WebReference/ExchangeCenterService.wsdl create mode 100644 北京北汽/Controller/Web References/WebReference/Reference.cs create mode 100644 北京北汽/Controller/Web References/WebReference/Reference.map create mode 100644 北京北汽/Models/ScpEntity/V_TB_PO_PLAN.cs create mode 100644 北京北汽/Models/ScpEntity/V_TB_PO_PLAN_BJBMPT.cs create mode 100644 北京北汽/Models/ScpEntity/V_TB_PO_PLAN_DETAIL.cs create mode 100644 北京北汽/Models/UniApiEntity/ServiceResult.cs create mode 100644 北京北汽/SCP/Views/PlanData/SCP_PO_BJPLAN.aspx create mode 100644 北京北汽/SCP/Views/PlanData/SCP_PO_BJPLAN.aspx.cs create mode 100644 北京北汽/SCP/Views/PlanData/SCP_PO_BJPLAN.aspx.designer.cs create mode 100644 北京北汽/SCP/Views/PlanData/SCP_PO_PLAN_DETAIL.aspx create mode 100644 北京北汽/SCP/Views/PlanData/SCP_PO_PLAN_DETAIL.aspx.cs create mode 100644 北京北汽/SCP/Views/PlanData/SCP_PO_PLAN_DETAIL.aspx.designer.cs diff --git a/北京北汽/Controller/Properties/Settings.Designer.cs b/北京北汽/Controller/Properties/Settings.Designer.cs new file mode 100644 index 0000000..ffbd1a4 --- /dev/null +++ b/北京北汽/Controller/Properties/Settings.Designer.cs @@ -0,0 +1,36 @@ +//------------------------------------------------------------------------------ +// +// 此代码由工具生成。 +// 运行时版本:4.0.30319.42000 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace CK.SCP.Controller.Properties { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.10.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + + [global::System.Configuration.ApplicationScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)] + [global::System.Configuration.DefaultSettingValueAttribute("http://10.60.101.3:8009/ExchangeCenterService.asmx")] + public string CK_SCP_Controller_WebReference_ExchangeCenterService { + get { + return ((string)(this["CK_SCP_Controller_WebReference_ExchangeCenterService"])); + } + } + } +} diff --git a/北京北汽/Controller/Properties/Settings.settings b/北京北汽/Controller/Properties/Settings.settings new file mode 100644 index 0000000..a3a90cf --- /dev/null +++ b/北京北汽/Controller/Properties/Settings.settings @@ -0,0 +1,9 @@ + + + + + + http://10.60.101.3:8009/ExchangeCenterService.asmx + + + \ No newline at end of file diff --git a/北京北汽/Controller/SCP_ASK_CONTROLLER.cs b/北京北汽/Controller/SCP_ASK_CONTROLLER.cs index a89106c..bde0249 100644 --- a/北京北汽/Controller/SCP_ASK_CONTROLLER.cs +++ b/北京北汽/Controller/SCP_ASK_CONTROLLER.cs @@ -566,6 +566,14 @@ namespace CK.SCP.Controller { q = q.Where(p => p.VendId == p_entity.VendId); } + if (!string.IsNullOrEmpty(p_entity.SubSite)) + { + q = q.Where(p => p.SubSite == p_entity.SubSite); + } + if (!string.IsNullOrEmpty(p_entity.Site)) + { + q = q.Where(p => p.Site == p_entity.Site); + } _ret.State = ReturnStatus.Succeed; _ret.Result = q; p_action(_ret); diff --git a/北京北汽/Controller/SCP_DC_UNI_CONTROLLER.cs b/北京北汽/Controller/SCP_DC_UNI_CONTROLLER.cs index 4b27543..bb34b3e 100644 --- a/北京北汽/Controller/SCP_DC_UNI_CONTROLLER.cs +++ b/北京北汽/Controller/SCP_DC_UNI_CONTROLLER.cs @@ -436,15 +436,16 @@ namespace CK.SCP.Controller // //UpdateSupplierExtend(_supplierlist); // scope.Complete(); // break; - //case "TES_PART_MSTR": - // result = UpdatePart(db, scpdb, _task); - // result.Message = _task.TaskID.ToString(); - // Update_TEA_TASK_SUB(db, _task); - // EntitiesFactory.SaveDb(scpdb); - // EntitiesFactory.SaveDb(db); - // EntitiesFactory.SaveDb(dc); - // scope.Complete(); - // break; + // 吴哥更改时 把这个注释掉 把获取基础数据的更新零件注释取消 + case "TES_PART_MSTR": + result = UpdatePart(db, scpdb, _task); + result.Message = _task.TaskID.ToString(); + Update_TEA_TASK_SUB(db, _task); + EntitiesFactory.SaveDb(scpdb); + EntitiesFactory.SaveDb(db); + EntitiesFactory.SaveDb(dc); + scope.Complete(); + break; #endregion case "TED_PPOD_DET": result = UpdatePPod(db, scpdb, _task); @@ -522,11 +523,19 @@ namespace CK.SCP.Controller public static void BaseReadService(Action> p_action) { ResultObject result = new ResultObject(); + + // 添加不同的地点服务引用 + // 重庆服务 + //CQExchangeCenterService service = new CQExchangeCenterService(); + + // 北京服务 ExchangeCenterService service = new ExchangeCenterService(); + #region 获取服务的SessionId 可放到方法内 var jsonResult = service.GetSessionId("SCP", "5C2DE907DB859810", ""); var serviceResultEntityList = JsonConvert.DeserializeObject< List>(jsonResult); string SessionId = ""; SessionId = serviceResultEntityList.First().Data; + #endregion var _result = Get_TEA_TASK_SUB_List(new TEA_TASK_SUB() { TaskState = EnumTaskState.Unread, Subscriber = "SCP" }); if (_result.Count() > 0) { @@ -554,19 +563,24 @@ namespace CK.SCP.Controller var _supplierlist = db.TES_SUPPLIER.Where(p => p.TaskID == _task.TaskID).ToList(); result = UpdateSupplier(_supplierlist, scpdb, authdb, _task); result.Message = _task.TaskID.ToString(); + //根据域去判断调用哪个服务更新状态 + // 更新北汽task状态 service.UpdateTaskState(SessionId, _task.TaskID.ToString(), 2,0,""); + // 更新重庆task状态 + //CQExchangeCenterService.UpdateTaskState(SessionId, _task.TaskID.ToString(), 2, 0, ""); //Update_TEA_TASK_SUB(db, _task); scpdb.BulkSaveChanges(); scope.Complete(); break; - case "TES_PART_MSTR": - result = UpdatePart(db, scpdb, _task); - result.Message = _task.TaskID.ToString(); - service.UpdateTaskState(SessionId, _task.TaskID.ToString(), 2, 0, ""); - //Update_TEA_TASK_SUB(db, _task); - EntitiesFactory.SaveDb(scpdb); - scope.Complete(); - break; + // 更新零件注释去掉 + //case "TES_PART_MSTR": + // result = UpdatePart(db, scpdb, _task); + // result.Message = _task.TaskID.ToString(); + // service.UpdateTaskState(SessionId, _task.TaskID.ToString(), 2, 0, ""); + // //Update_TEA_TASK_SUB(db, _task); + // EntitiesFactory.SaveDb(scpdb); + // scope.Complete(); + // break; } result.State = ReturnStatus.Succeed; @@ -627,8 +641,8 @@ namespace CK.SCP.Controller { ScpEntities scpdb = EntitiesFactory.CreateScpInstance(); ExchangeCenterContext db = EntitiesFactory.CreateExchangeCenterInstance(); - var _list = scpdb.TS_UNI_API.Where(p => p.State == (int)DataState.Enabled && p.Domain == "CDBMPT").OrderBy(p => p.UID).ToList(); - var _list1 = scpdb.TS_UNI_API.Where(p => p.State == (int)DataState.Enabled && p.Domain == "CDBMPT" && p.InterfaceType == "Price").OrderBy(p => p.UID).ToList(); + var _list = scpdb.TS_UNI_API.Where(p => p.State == (int)DataState.Enabled && p.Domain == "ZZBMPT").OrderBy(p => p.UID).ToList(); + var _list1 = scpdb.TS_UNI_API.Where(p => p.State == (int)DataState.Enabled && p.Domain == "ZZBMPT" && p.InterfaceType == "Price").OrderBy(p => p.UID).ToList(); var apiii = _list1.Count(); if (apiii > 0) diff --git a/北京北汽/Controller/Web References/WebReference/ExchangeCenterService.disco b/北京北汽/Controller/Web References/WebReference/ExchangeCenterService.disco new file mode 100644 index 0000000..506b1f2 --- /dev/null +++ b/北京北汽/Controller/Web References/WebReference/ExchangeCenterService.disco @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/北京北汽/Controller/Web References/WebReference/ExchangeCenterService.wsdl b/北京北汽/Controller/Web References/WebReference/ExchangeCenterService.wsdl new file mode 100644 index 0000000..0a36afa --- /dev/null +++ b/北京北汽/Controller/Web References/WebReference/ExchangeCenterService.wsdl @@ -0,0 +1,980 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/北京北汽/Controller/Web References/WebReference/Reference.cs b/北京北汽/Controller/Web References/WebReference/Reference.cs new file mode 100644 index 0000000..0d7ff6b --- /dev/null +++ b/北京北汽/Controller/Web References/WebReference/Reference.cs @@ -0,0 +1,796 @@ +//------------------------------------------------------------------------------ +// +// 此代码由工具生成。 +// 运行时版本:4.0.30319.42000 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +// +// 此源代码是由 Microsoft.VSDesigner 4.0.30319.42000 版自动生成。 +// +#pragma warning disable 1591 + +namespace CK.SCP.Controller.WebReference { + using System; + using System.Web.Services; + using System.Diagnostics; + using System.Web.Services.Protocols; + using System.Xml.Serialization; + using System.ComponentModel; + + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Web.Services.WebServiceBindingAttribute(Name="ExchangeCenterServiceSoap", Namespace="http://tempuri.org/")] + public partial class ExchangeCenterService : System.Web.Services.Protocols.SoapHttpClientProtocol { + + private System.Threading.SendOrPostCallback GetVerOperationCompleted; + + private System.Threading.SendOrPostCallback GetServerTimeOperationCompleted; + + private System.Threading.SendOrPostCallback GetSessionIdOperationCompleted; + + private System.Threading.SendOrPostCallback AddTaskOperationCompleted; + + private System.Threading.SendOrPostCallback AddMasterSlaveTaskOperationCompleted; + + private System.Threading.SendOrPostCallback GetNewTasksByTableListOperationCompleted; + + private System.Threading.SendOrPostCallback GetNewTasksOperationCompleted; + + private System.Threading.SendOrPostCallback GetTaskDataOperationCompleted; + + private System.Threading.SendOrPostCallback GetMasterSlaveTaskDataOperationCompleted; + + private System.Threading.SendOrPostCallback UpdateTaskStateOperationCompleted; + + private System.Threading.SendOrPostCallback GetManageDatasByPageOperationCompleted; + + private bool useDefaultCredentialsSetExplicitly; + + /// + public ExchangeCenterService() { + this.Url = global::CK.SCP.Controller.Properties.Settings.Default.CK_SCP_Controller_WebReference_ExchangeCenterService; + if ((this.IsLocalFileSystemWebService(this.Url) == true)) { + this.UseDefaultCredentials = true; + this.useDefaultCredentialsSetExplicitly = false; + } + else { + this.useDefaultCredentialsSetExplicitly = true; + } + } + + public new string Url { + get { + return base.Url; + } + set { + if ((((this.IsLocalFileSystemWebService(base.Url) == true) + && (this.useDefaultCredentialsSetExplicitly == false)) + && (this.IsLocalFileSystemWebService(value) == false))) { + base.UseDefaultCredentials = false; + } + base.Url = value; + } + } + + public new bool UseDefaultCredentials { + get { + return base.UseDefaultCredentials; + } + set { + base.UseDefaultCredentials = value; + this.useDefaultCredentialsSetExplicitly = true; + } + } + + /// + public event GetVerCompletedEventHandler GetVerCompleted; + + /// + public event GetServerTimeCompletedEventHandler GetServerTimeCompleted; + + /// + public event GetSessionIdCompletedEventHandler GetSessionIdCompleted; + + /// + public event AddTaskCompletedEventHandler AddTaskCompleted; + + /// + public event AddMasterSlaveTaskCompletedEventHandler AddMasterSlaveTaskCompleted; + + /// + public event GetNewTasksByTableListCompletedEventHandler GetNewTasksByTableListCompleted; + + /// + public event GetNewTasksCompletedEventHandler GetNewTasksCompleted; + + /// + public event GetTaskDataCompletedEventHandler GetTaskDataCompleted; + + /// + public event GetMasterSlaveTaskDataCompletedEventHandler GetMasterSlaveTaskDataCompleted; + + /// + public event UpdateTaskStateCompletedEventHandler UpdateTaskStateCompleted; + + /// + public event GetManageDatasByPageCompletedEventHandler GetManageDatasByPageCompleted; + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetVer", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public string GetVer() { + object[] results = this.Invoke("GetVer", new object[0]); + return ((string)(results[0])); + } + + /// + public void GetVerAsync() { + this.GetVerAsync(null); + } + + /// + public void GetVerAsync(object userState) { + if ((this.GetVerOperationCompleted == null)) { + this.GetVerOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetVerOperationCompleted); + } + this.InvokeAsync("GetVer", new object[0], this.GetVerOperationCompleted, userState); + } + + private void OnGetVerOperationCompleted(object arg) { + if ((this.GetVerCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetVerCompleted(this, new GetVerCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetServerTime", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public System.DateTime GetServerTime() { + object[] results = this.Invoke("GetServerTime", new object[0]); + return ((System.DateTime)(results[0])); + } + + /// + public void GetServerTimeAsync() { + this.GetServerTimeAsync(null); + } + + /// + public void GetServerTimeAsync(object userState) { + if ((this.GetServerTimeOperationCompleted == null)) { + this.GetServerTimeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetServerTimeOperationCompleted); + } + this.InvokeAsync("GetServerTime", new object[0], this.GetServerTimeOperationCompleted, userState); + } + + private void OnGetServerTimeOperationCompleted(object arg) { + if ((this.GetServerTimeCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetServerTimeCompleted(this, new GetServerTimeCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetSessionId", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public string GetSessionId(string systemName, string encryptedPassword, string clientIp) { + object[] results = this.Invoke("GetSessionId", new object[] { + systemName, + encryptedPassword, + clientIp}); + return ((string)(results[0])); + } + + /// + public void GetSessionIdAsync(string systemName, string encryptedPassword, string clientIp) { + this.GetSessionIdAsync(systemName, encryptedPassword, clientIp, null); + } + + /// + public void GetSessionIdAsync(string systemName, string encryptedPassword, string clientIp, object userState) { + if ((this.GetSessionIdOperationCompleted == null)) { + this.GetSessionIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetSessionIdOperationCompleted); + } + this.InvokeAsync("GetSessionId", new object[] { + systemName, + encryptedPassword, + clientIp}, this.GetSessionIdOperationCompleted, userState); + } + + private void OnGetSessionIdOperationCompleted(object arg) { + if ((this.GetSessionIdCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetSessionIdCompleted(this, new GetSessionIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/AddTask", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public string AddTask(string sessionId, string jsonTask, string jsonData, bool zipped) { + object[] results = this.Invoke("AddTask", new object[] { + sessionId, + jsonTask, + jsonData, + zipped}); + return ((string)(results[0])); + } + + /// + public void AddTaskAsync(string sessionId, string jsonTask, string jsonData, bool zipped) { + this.AddTaskAsync(sessionId, jsonTask, jsonData, zipped, null); + } + + /// + public void AddTaskAsync(string sessionId, string jsonTask, string jsonData, bool zipped, object userState) { + if ((this.AddTaskOperationCompleted == null)) { + this.AddTaskOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddTaskOperationCompleted); + } + this.InvokeAsync("AddTask", new object[] { + sessionId, + jsonTask, + jsonData, + zipped}, this.AddTaskOperationCompleted, userState); + } + + private void OnAddTaskOperationCompleted(object arg) { + if ((this.AddTaskCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AddTaskCompleted(this, new AddTaskCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/AddMasterSlaveTask", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public string AddMasterSlaveTask(string sessionId, string jsonTask, string jsonMaster, string jsonSlave, bool zipped) { + object[] results = this.Invoke("AddMasterSlaveTask", new object[] { + sessionId, + jsonTask, + jsonMaster, + jsonSlave, + zipped}); + return ((string)(results[0])); + } + + /// + public void AddMasterSlaveTaskAsync(string sessionId, string jsonTask, string jsonMaster, string jsonSlave, bool zipped) { + this.AddMasterSlaveTaskAsync(sessionId, jsonTask, jsonMaster, jsonSlave, zipped, null); + } + + /// + public void AddMasterSlaveTaskAsync(string sessionId, string jsonTask, string jsonMaster, string jsonSlave, bool zipped, object userState) { + if ((this.AddMasterSlaveTaskOperationCompleted == null)) { + this.AddMasterSlaveTaskOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddMasterSlaveTaskOperationCompleted); + } + this.InvokeAsync("AddMasterSlaveTask", new object[] { + sessionId, + jsonTask, + jsonMaster, + jsonSlave, + zipped}, this.AddMasterSlaveTaskOperationCompleted, userState); + } + + private void OnAddMasterSlaveTaskOperationCompleted(object arg) { + if ((this.AddMasterSlaveTaskCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.AddMasterSlaveTaskCompleted(this, new AddMasterSlaveTaskCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetNewTasksByTableList", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public string GetNewTasksByTableList(string sessionId, string clientIp, string tableList) { + object[] results = this.Invoke("GetNewTasksByTableList", new object[] { + sessionId, + clientIp, + tableList}); + return ((string)(results[0])); + } + + /// + public void GetNewTasksByTableListAsync(string sessionId, string clientIp, string tableList) { + this.GetNewTasksByTableListAsync(sessionId, clientIp, tableList, null); + } + + /// + public void GetNewTasksByTableListAsync(string sessionId, string clientIp, string tableList, object userState) { + if ((this.GetNewTasksByTableListOperationCompleted == null)) { + this.GetNewTasksByTableListOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetNewTasksByTableListOperationCompleted); + } + this.InvokeAsync("GetNewTasksByTableList", new object[] { + sessionId, + clientIp, + tableList}, this.GetNewTasksByTableListOperationCompleted, userState); + } + + private void OnGetNewTasksByTableListOperationCompleted(object arg) { + if ((this.GetNewTasksByTableListCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetNewTasksByTableListCompleted(this, new GetNewTasksByTableListCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetNewTasks", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public string GetNewTasks(string sessionId, string clientIp) { + object[] results = this.Invoke("GetNewTasks", new object[] { + sessionId, + clientIp}); + return ((string)(results[0])); + } + + /// + public void GetNewTasksAsync(string sessionId, string clientIp) { + this.GetNewTasksAsync(sessionId, clientIp, null); + } + + /// + public void GetNewTasksAsync(string sessionId, string clientIp, object userState) { + if ((this.GetNewTasksOperationCompleted == null)) { + this.GetNewTasksOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetNewTasksOperationCompleted); + } + this.InvokeAsync("GetNewTasks", new object[] { + sessionId, + clientIp}, this.GetNewTasksOperationCompleted, userState); + } + + private void OnGetNewTasksOperationCompleted(object arg) { + if ((this.GetNewTasksCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetNewTasksCompleted(this, new GetNewTasksCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetTaskData", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public string GetTaskData(string sessionId, string taskID, bool zipped) { + object[] results = this.Invoke("GetTaskData", new object[] { + sessionId, + taskID, + zipped}); + return ((string)(results[0])); + } + + /// + public void GetTaskDataAsync(string sessionId, string taskID, bool zipped) { + this.GetTaskDataAsync(sessionId, taskID, zipped, null); + } + + /// + public void GetTaskDataAsync(string sessionId, string taskID, bool zipped, object userState) { + if ((this.GetTaskDataOperationCompleted == null)) { + this.GetTaskDataOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetTaskDataOperationCompleted); + } + this.InvokeAsync("GetTaskData", new object[] { + sessionId, + taskID, + zipped}, this.GetTaskDataOperationCompleted, userState); + } + + private void OnGetTaskDataOperationCompleted(object arg) { + if ((this.GetTaskDataCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetTaskDataCompleted(this, new GetTaskDataCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetMasterSlaveTaskData", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public string GetMasterSlaveTaskData(string sessionId, string taskID, bool zipped) { + object[] results = this.Invoke("GetMasterSlaveTaskData", new object[] { + sessionId, + taskID, + zipped}); + return ((string)(results[0])); + } + + /// + public void GetMasterSlaveTaskDataAsync(string sessionId, string taskID, bool zipped) { + this.GetMasterSlaveTaskDataAsync(sessionId, taskID, zipped, null); + } + + /// + public void GetMasterSlaveTaskDataAsync(string sessionId, string taskID, bool zipped, object userState) { + if ((this.GetMasterSlaveTaskDataOperationCompleted == null)) { + this.GetMasterSlaveTaskDataOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetMasterSlaveTaskDataOperationCompleted); + } + this.InvokeAsync("GetMasterSlaveTaskData", new object[] { + sessionId, + taskID, + zipped}, this.GetMasterSlaveTaskDataOperationCompleted, userState); + } + + private void OnGetMasterSlaveTaskDataOperationCompleted(object arg) { + if ((this.GetMasterSlaveTaskDataCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetMasterSlaveTaskDataCompleted(this, new GetMasterSlaveTaskDataCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/UpdateTaskState", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public string UpdateTaskState(string sessionId, string taskID, int taskState, int failedCount, string failedInfo) { + object[] results = this.Invoke("UpdateTaskState", new object[] { + sessionId, + taskID, + taskState, + failedCount, + failedInfo}); + return ((string)(results[0])); + } + + /// + public void UpdateTaskStateAsync(string sessionId, string taskID, int taskState, int failedCount, string failedInfo) { + this.UpdateTaskStateAsync(sessionId, taskID, taskState, failedCount, failedInfo, null); + } + + /// + public void UpdateTaskStateAsync(string sessionId, string taskID, int taskState, int failedCount, string failedInfo, object userState) { + if ((this.UpdateTaskStateOperationCompleted == null)) { + this.UpdateTaskStateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateTaskStateOperationCompleted); + } + this.InvokeAsync("UpdateTaskState", new object[] { + sessionId, + taskID, + taskState, + failedCount, + failedInfo}, this.UpdateTaskStateOperationCompleted, userState); + } + + private void OnUpdateTaskStateOperationCompleted(object arg) { + if ((this.UpdateTaskStateCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.UpdateTaskStateCompleted(this, new UpdateTaskStateCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetManageDatasByPage", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] + public string GetManageDatasByPage(string sessionId, string filterJson, string tableName, int pageIndex, int pageSize, bool zipped) { + object[] results = this.Invoke("GetManageDatasByPage", new object[] { + sessionId, + filterJson, + tableName, + pageIndex, + pageSize, + zipped}); + return ((string)(results[0])); + } + + /// + public void GetManageDatasByPageAsync(string sessionId, string filterJson, string tableName, int pageIndex, int pageSize, bool zipped) { + this.GetManageDatasByPageAsync(sessionId, filterJson, tableName, pageIndex, pageSize, zipped, null); + } + + /// + public void GetManageDatasByPageAsync(string sessionId, string filterJson, string tableName, int pageIndex, int pageSize, bool zipped, object userState) { + if ((this.GetManageDatasByPageOperationCompleted == null)) { + this.GetManageDatasByPageOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetManageDatasByPageOperationCompleted); + } + this.InvokeAsync("GetManageDatasByPage", new object[] { + sessionId, + filterJson, + tableName, + pageIndex, + pageSize, + zipped}, this.GetManageDatasByPageOperationCompleted, userState); + } + + private void OnGetManageDatasByPageOperationCompleted(object arg) { + if ((this.GetManageDatasByPageCompleted != null)) { + System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); + this.GetManageDatasByPageCompleted(this, new GetManageDatasByPageCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); + } + } + + /// + public new void CancelAsync(object userState) { + base.CancelAsync(userState); + } + + private bool IsLocalFileSystemWebService(string url) { + if (((url == null) + || (url == string.Empty))) { + return false; + } + System.Uri wsUri = new System.Uri(url); + if (((wsUri.Port >= 1024) + && (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) { + return true; + } + return false; + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + public delegate void GetVerCompletedEventHandler(object sender, GetVerCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetVerCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetVerCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public string Result { + get { + this.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + public delegate void GetServerTimeCompletedEventHandler(object sender, GetServerTimeCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetServerTimeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetServerTimeCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public System.DateTime Result { + get { + this.RaiseExceptionIfNecessary(); + return ((System.DateTime)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + public delegate void GetSessionIdCompletedEventHandler(object sender, GetSessionIdCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetSessionIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetSessionIdCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public string Result { + get { + this.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + public delegate void AddTaskCompletedEventHandler(object sender, AddTaskCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AddTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal AddTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public string Result { + get { + this.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + public delegate void AddMasterSlaveTaskCompletedEventHandler(object sender, AddMasterSlaveTaskCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class AddMasterSlaveTaskCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal AddMasterSlaveTaskCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public string Result { + get { + this.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + public delegate void GetNewTasksByTableListCompletedEventHandler(object sender, GetNewTasksByTableListCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetNewTasksByTableListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetNewTasksByTableListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public string Result { + get { + this.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + public delegate void GetNewTasksCompletedEventHandler(object sender, GetNewTasksCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetNewTasksCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetNewTasksCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public string Result { + get { + this.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + public delegate void GetTaskDataCompletedEventHandler(object sender, GetTaskDataCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetTaskDataCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetTaskDataCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public string Result { + get { + this.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + public delegate void GetMasterSlaveTaskDataCompletedEventHandler(object sender, GetMasterSlaveTaskDataCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetMasterSlaveTaskDataCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetMasterSlaveTaskDataCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public string Result { + get { + this.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + public delegate void UpdateTaskStateCompletedEventHandler(object sender, UpdateTaskStateCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class UpdateTaskStateCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal UpdateTaskStateCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public string Result { + get { + this.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + public delegate void GetManageDatasByPageCompletedEventHandler(object sender, GetManageDatasByPageCompletedEventArgs e); + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.9037.0")] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + public partial class GetManageDatasByPageCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { + + private object[] results; + + internal GetManageDatasByPageCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : + base(exception, cancelled, userState) { + this.results = results; + } + + /// + public string Result { + get { + this.RaiseExceptionIfNecessary(); + return ((string)(this.results[0])); + } + } + } +} + +#pragma warning restore 1591 \ No newline at end of file diff --git a/北京北汽/Controller/Web References/WebReference/Reference.map b/北京北汽/Controller/Web References/WebReference/Reference.map new file mode 100644 index 0000000..b66e9be --- /dev/null +++ b/北京北汽/Controller/Web References/WebReference/Reference.map @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/北京北汽/Models/ScpEntity/V_TB_INCOMOLETE_DETAIL.cs b/北京北汽/Models/ScpEntity/V_TB_INCOMOLETE_DETAIL.cs index c53460d..f2a5a04 100644 --- a/北京北汽/Models/ScpEntity/V_TB_INCOMOLETE_DETAIL.cs +++ b/北京北汽/Models/ScpEntity/V_TB_INCOMOLETE_DETAIL.cs @@ -48,5 +48,8 @@ namespace CK.SCP.Models.ScpEntity public decimal Price { get; set; } + public string SubSite { get; set; } + public string Site { get; set; } + } } \ No newline at end of file diff --git a/北京北汽/Models/ScpEntity/V_TB_PO_PLAN.cs b/北京北汽/Models/ScpEntity/V_TB_PO_PLAN.cs new file mode 100644 index 0000000..51b2ea2 --- /dev/null +++ b/北京北汽/Models/ScpEntity/V_TB_PO_PLAN.cs @@ -0,0 +1,105 @@ +//------------------------------------------------------------------------------ +// +// 此代码已从模板生成。 +// +// 手动更改此文件可能导致应用程序出现意外的行为。 +// 如果重新生成代码,将覆盖对此文件的手动更改。 +// +//------------------------------------------------------------------------------ + +namespace CK.SCP.Models.ScpEntity +{ + using System; + using System.Collections.Generic; + using System.ComponentModel.DataAnnotations; + using System.ComponentModel.DataAnnotations.Schema; + + public partial class V_TB_PO_PLAN + { + + [DatabaseGenerated(DatabaseGeneratedOption.Identity)] + [Key] + public long UID { get; set; } + public string Domain { get; set; } + + public string PartCode { get; set; } + public Nullable EndTime { get; set; } + //public Nullable CreateTime { get; set; } + public string PoBillNum { get; set; } + public string Site { get; set; } + public string AskBillNum { get; set; } + public string Version { get; set; } + + public string PartDesc { get; set; } + + public decimal PlanQty { get; set; } + public string PoUnit { get; set; } + public int PoLine { get; set; } + public string VendId { get; set; } + + public string ProjectId { get; set; } + public string IsPlan { get; set; } + //public string Buyer { get; set; } + + [NotMapped] + public List UserInAddress { set; get; } + + [NotMapped] + public List UserInVendIds { set; get; } + + + [NotMapped] + public List BillStateList { set; get; } + + [NotMapped] + public DateTime? EndTime_Begin { set; get; } + [NotMapped] + public DateTime? EndTime_End { set; get; } + public DateTime? BeginTime { get; set; } + + //[NotMapped] + //public DateTime? EndTime_Begin1 { set; get; } + //[NotMapped] + //public DateTime? EndTime_End1 { set; get; } + } + public partial class V_TB_PO_PLAN_EXTEND + { + + [DatabaseGenerated(DatabaseGeneratedOption.Identity)] + [Key] + public long UID { get; set; } + public string Domain { get; set; } + + public string PartCode { get; set; } + public Nullable EndTime { get; set; } + public string PoBillNum { get; set; } + public string Site { get; set; } + public string AskBillNum { get; set; } + public string Version { get; set; } + + public string PartDesc { get; set; } + + public decimal PlanQty { get; set; } + public string PoUnit { get; set; } + public int PoLine { get; set; } + public string VendId { get; set; } + + public string ProjectId { get; set; } + public string IsPlan { get; set; } + + [NotMapped] + public List UserInAddress { set; get; } + + [NotMapped] + public List UserInVendIds { set; get; } + + + [NotMapped] + public List BillStateList { set; get; } + + [NotMapped] + public DateTime? EndTime_Begin { set; get; } + [NotMapped] + public DateTime? EndTime_End { set; get; } + } +} diff --git a/北京北汽/Models/ScpEntity/V_TB_PO_PLAN_BJBMPT.cs b/北京北汽/Models/ScpEntity/V_TB_PO_PLAN_BJBMPT.cs new file mode 100644 index 0000000..eb5db5f --- /dev/null +++ b/北京北汽/Models/ScpEntity/V_TB_PO_PLAN_BJBMPT.cs @@ -0,0 +1,55 @@ +namespace CK.SCP.Models.ScpEntity +{ + using System; + using System.Collections.Generic; + using System.ComponentModel.DataAnnotations; + using System.ComponentModel.DataAnnotations.Schema; + + public partial class V_TB_PO_PLAN_BJBMPT + { + + [DatabaseGenerated(DatabaseGeneratedOption.Identity)] + [Key] + public long UID { get; set; } + public string Domain { get; set; } + + public string PartCode { get; set; } + public Nullable EndTime { get; set; } + public Nullable CreateTime { get; set; } + public string PoBillNum { get; set; } + public string Site { get; set; } + public string AskBillNum { get; set; } + public string Version { get; set; } + + public string PartDesc { get; set; } + + public decimal PlanQty { get; set; } + public string PoUnit { get; set; } + public int PoLine { get; set; } + public string VendId { get; set; } + + public string ProjectId { get; set; } + public string IsPlan { get; set; } + public string Buyer { get; set; } + + [NotMapped] + public List UserInAddress { set; get; } + + [NotMapped] + public List UserInVendIds { set; get; } + + + [NotMapped] + public List BillStateList { set; get; } + + [NotMapped] + public DateTime? EndTime_Begin { set; get; } + [NotMapped] + public DateTime? EndTime_End { set; get; } + + [NotMapped] + public DateTime? EndTime_Begin1 { set; get; } + [NotMapped] + public DateTime? EndTime_End1 { set; get; } + } +} \ No newline at end of file diff --git a/北京北汽/Models/ScpEntity/V_TB_PO_PLAN_DETAIL.cs b/北京北汽/Models/ScpEntity/V_TB_PO_PLAN_DETAIL.cs new file mode 100644 index 0000000..3c0c4a6 --- /dev/null +++ b/北京北汽/Models/ScpEntity/V_TB_PO_PLAN_DETAIL.cs @@ -0,0 +1,31 @@ +//------------------------------------------------------------------------------ +// +// 此代码已从模板生成。 +// +// 手动更改此文件可能导致应用程序出现意外的行为。 +// 如果重新生成代码,将覆盖对此文件的手动更改。 +// +//------------------------------------------------------------------------------ + +namespace CK.SCP.Models.ScpEntity +{ + using System; + using System.Collections.Generic; + using System.ComponentModel.DataAnnotations; + + public partial class V_TB_PO_PLAN_DETAIL + { + [Key] + public long UID { get; set; } + public string PoBillNum { get; set; } + public string VendId { get; set; } + public Nullable EndTime { get; set; } + public string PartCode { get; set; } + public string AskBillNum { get; set; } + public string Version { get; set; } + public string Domain { get; set; } + public decimal PlanQty { get; set; } + public string PoUnit { get; set; } + + } +} diff --git a/北京北汽/Models/UniApiEntity/ServiceResult.cs b/北京北汽/Models/UniApiEntity/ServiceResult.cs new file mode 100644 index 0000000..ed14a1f --- /dev/null +++ b/北京北汽/Models/UniApiEntity/ServiceResult.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace CK.SCP.Models.UniApiEntity +{ + public class ServiceResult + { + public bool Success { get; set; }//是否执行成功 + public string Type { get; set; }//任务类型,目前传递的是表格名称 + public string Data { get; set; }//Json格式的数据 + public string Message { get; set; }//返回信息,执行失败时,返回Exception信息 + } +} diff --git a/北京北汽/SCP/Views/PlanData/SCP_PO_BJPLAN.aspx b/北京北汽/SCP/Views/PlanData/SCP_PO_BJPLAN.aspx new file mode 100644 index 0000000..6107f62 --- /dev/null +++ b/北京北汽/SCP/Views/PlanData/SCP_PO_BJPLAN.aspx @@ -0,0 +1,112 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SCP_PO_BJPLAN.aspx.cs" Inherits="SCP.Views.PlanData.SCP_PO_BJPLAN" %> + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +