| | |
| | | # Microsoft Fakes |
| | | FakesAssemblies/ |
| | | /WebApi/.vs/GsMesSolution/FileContentIndex |
| | | /WebApi/.idea/.idea.GsMesSolution/.idea |
| | | /WebApi/.vs/GsMesSolution/v17 |
| | |
| | | "WorkspaceRootPath": "E:\\MesSourceCode\\PC_Cshap\\WebApi\\", |
| | | "Documents": [ |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{63823BC6-6242-4EBC-8B15-B72B89E8CEDA}|Gs.Wom\\Gs.Wom.csproj|e:\\messourcecode\\pc_cshap\\webapi\\gs.wom\\workservice\\worktechniquecontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{63823BC6-6242-4EBC-8B15-B72B89E8CEDA}|Gs.Wom\\Gs.Wom.csproj|solutionrelative:gs.wom\\workservice\\worktechniquecontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{D13D1BCC-6110-4943-BC98-FC6F3E28CE43}|Gs.Warehouse\\Gs.Warehouse.csproj|e:\\messourcecode\\pc_cshap\\webapi\\gs.warehouse\\services\\mesdepotsmanager.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{D13D1BCC-6110-4943-BC98-FC6F3E28CE43}|Gs.Warehouse\\Gs.Warehouse.csproj|solutionrelative:gs.warehouse\\services\\mesdepotsmanager.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{FC3259F8-ED36-4118-BF3F-0B59FF6BA2A6}|Gs.Entity\\Gs.Entity.csproj|e:\\messourcecode\\pc_cshap\\webapi\\gs.entity\\baseinfo\\mesdepotsections.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{FC3259F8-ED36-4118-BF3F-0B59FF6BA2A6}|Gs.Entity\\Gs.Entity.csproj|solutionrelative:gs.entity\\baseinfo\\mesdepotsections.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{D13D1BCC-6110-4943-BC98-FC6F3E28CE43}|Gs.Warehouse\\Gs.Warehouse.csproj|e:\\messourcecode\\pc_cshap\\webapi\\gs.warehouse\\services\\mesinvitemarnmanager.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{D13D1BCC-6110-4943-BC98-FC6F3E28CE43}|Gs.Warehouse\\Gs.Warehouse.csproj|solutionrelative:gs.warehouse\\services\\mesinvitemarnmanager.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{FC3259F8-ED36-4118-BF3F-0B59FF6BA2A6}|Gs.Entity\\Gs.Entity.csproj|e:\\messourcecode\\pc_cshap\\webapi\\gs.entity\\baseinfo\\mesdepotsections.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{FC3259F8-ED36-4118-BF3F-0B59FF6BA2A6}|Gs.Entity\\Gs.Entity.csproj|solutionrelative:gs.entity\\baseinfo\\mesdepotsections.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{D13D1BCC-6110-4943-BC98-FC6F3E28CE43}|Gs.Warehouse\\Gs.Warehouse.csproj|e:\\messourcecode\\pc_cshap\\webapi\\gs.warehouse\\services\\varrivalbarcodemanager.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | |
| | | "DocumentGroups": [ |
| | | { |
| | | "DockedWidth": 681, |
| | | "SelectedChildIndex": 1, |
| | | "SelectedChildIndex": 0, |
| | | "Children": [ |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 1, |
| | | "DocumentIndex": 0, |
| | | "Title": "WorkTechniqueController.cs", |
| | | "DocumentMoniker": "E:\\MesSourceCode\\PC_Cshap\\WebApi\\Gs.Wom\\WorkService\\WorkTechniqueController.cs", |
| | | "RelativeDocumentMoniker": "Gs.Wom\\WorkService\\WorkTechniqueController.cs", |
| | | "ToolTip": "E:\\MesSourceCode\\PC_Cshap\\WebApi\\Gs.Wom\\WorkService\\WorkTechniqueController.cs", |
| | | "RelativeToolTip": "Gs.Wom\\WorkService\\WorkTechniqueController.cs", |
| | | "ViewState": "AgIAAC4BAAAAAAAAAAAAAC4BAAAyAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-07-26T08:17:09.487Z", |
| | | "EditorCaption": "" |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 3, |
| | | "Title": "MesDepotSections.cs", |
| | | "DocumentMoniker": "E:\\MesSourceCode\\PC_Cshap\\WebApi\\Gs.Entity\\BaseInfo\\MesDepotSections.cs", |
| | | "RelativeDocumentMoniker": "Gs.Entity\\BaseInfo\\MesDepotSections.cs", |
| | |
| | | "RelativeToolTip": "Gs.Entity\\BaseInfo\\MesDepotSections.cs", |
| | | "ViewState": "AgIAAA4AAAAAAAAAAAAuwB8AAAAiAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-07-24T10:44:32.171Z", |
| | | "EditorCaption": "" |
| | | "WhenOpened": "2025-07-24T10:44:32.171Z" |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 0, |
| | | "DocumentIndex": 1, |
| | | "Title": "MesDepotsManager.cs", |
| | | "DocumentMoniker": "E:\\MesSourceCode\\PC_Cshap\\WebApi\\Gs.Warehouse\\Services\\MesDepotsManager.cs", |
| | | "RelativeDocumentMoniker": "Gs.Warehouse\\Services\\MesDepotsManager.cs", |
| | | "ToolTip": "E:\\MesSourceCode\\PC_Cshap\\WebApi\\Gs.Warehouse\\Services\\MesDepotsManager.cs", |
| | | "RelativeToolTip": "Gs.Warehouse\\Services\\MesDepotsManager.cs", |
| | | "ViewState": "AgIAAKgAAAAAAAAAAAAcwLgAAAA+AAAAAAAAAA==", |
| | | "ViewState": "AgIAALsAAAAAAAAAAAAgwLgAAAA+AAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-07-24T07:07:07.204Z", |
| | | "EditorCaption": "" |
| | |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 3, |
| | | "DocumentIndex": 4, |
| | | "Title": "VArrivalBarcodeManager.cs", |
| | | "DocumentMoniker": "E:\\MesSourceCode\\PC_Cshap\\WebApi\\Gs.Warehouse\\Services\\VArrivalBarcodeManager.cs", |
| | | "RelativeDocumentMoniker": "Gs.Warehouse\\Services\\VArrivalBarcodeManager.cs", |
| | |
| | | "RelativeToolTip": "Gs.Warehouse\\Services\\VArrivalBarcodeManager.cs", |
| | | "ViewState": "AgIAAAAAAAAAAAAAAAAAAEMAAAAiAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-07-24T04:42:14.961Z", |
| | | "EditorCaption": "" |
| | | "WhenOpened": "2025-07-24T04:42:14.961Z" |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 4, |
| | | "DocumentIndex": 5, |
| | | "Title": "MesSysPageviewManager.cs", |
| | | "DocumentMoniker": "E:\\MesSourceCode\\PC_Cshap\\WebApi\\Gs.Sys\\Services\\MesSysPageviewManager.cs", |
| | | "RelativeDocumentMoniker": "Gs.Sys\\Services\\MesSysPageviewManager.cs", |
| | |
| | | "RelativeToolTip": "Gs.Sys\\Services\\MesSysPageviewManager.cs", |
| | | "ViewState": "AgIAACwAAAAAAAAAAAAewEMAAAAtAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-07-24T02:48:45.457Z", |
| | | "EditorCaption": "" |
| | | "WhenOpened": "2025-07-24T02:48:45.457Z" |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 5, |
| | | "DocumentIndex": 6, |
| | | "Title": "OrganizationController.cs", |
| | | "DocumentMoniker": "E:\\MesSourceCode\\PC_Cshap\\WebApi\\Gs.Sys\\Services\\OrganizationController.cs", |
| | | "RelativeDocumentMoniker": "Gs.Sys\\Services\\OrganizationController.cs", |
| | |
| | | "RelativeToolTip": "Gs.Sys\\Services\\OrganizationController.cs", |
| | | "ViewState": "AgIAACEAAAAAAAAAAAAtwCwAAABGAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-07-24T02:18:44.035Z", |
| | | "EditorCaption": "" |
| | | "WhenOpened": "2025-07-24T02:18:44.035Z" |
| | | } |
| | | ] |
| | | }, |
| | |
| | | "WorkspaceRootPath": "E:\\MesSourceCode\\PC_Cshap\\WebApi\\", |
| | | "Documents": [ |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{63823BC6-6242-4EBC-8B15-B72B89E8CEDA}|Gs.Wom\\Gs.Wom.csproj|e:\\messourcecode\\pc_cshap\\webapi\\gs.wom\\workservice\\worktechniquecontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{63823BC6-6242-4EBC-8B15-B72B89E8CEDA}|Gs.Wom\\Gs.Wom.csproj|solutionrelative:gs.wom\\workservice\\worktechniquecontroller.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{D13D1BCC-6110-4943-BC98-FC6F3E28CE43}|Gs.Warehouse\\Gs.Warehouse.csproj|e:\\messourcecode\\pc_cshap\\webapi\\gs.warehouse\\services\\mesdepotsmanager.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{D13D1BCC-6110-4943-BC98-FC6F3E28CE43}|Gs.Warehouse\\Gs.Warehouse.csproj|solutionrelative:gs.warehouse\\services\\mesdepotsmanager.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{FC3259F8-ED36-4118-BF3F-0B59FF6BA2A6}|Gs.Entity\\Gs.Entity.csproj|e:\\messourcecode\\pc_cshap\\webapi\\gs.entity\\baseinfo\\mesdepotsections.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{FC3259F8-ED36-4118-BF3F-0B59FF6BA2A6}|Gs.Entity\\Gs.Entity.csproj|solutionrelative:gs.entity\\baseinfo\\mesdepotsections.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{D13D1BCC-6110-4943-BC98-FC6F3E28CE43}|Gs.Warehouse\\Gs.Warehouse.csproj|e:\\messourcecode\\pc_cshap\\webapi\\gs.warehouse\\services\\mesinvitemarnmanager.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{D13D1BCC-6110-4943-BC98-FC6F3E28CE43}|Gs.Warehouse\\Gs.Warehouse.csproj|solutionrelative:gs.warehouse\\services\\mesinvitemarnmanager.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{FC3259F8-ED36-4118-BF3F-0B59FF6BA2A6}|Gs.Entity\\Gs.Entity.csproj|e:\\messourcecode\\pc_cshap\\webapi\\gs.entity\\baseinfo\\mesdepotsections.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | | "RelativeMoniker": "D:0:0:{FC3259F8-ED36-4118-BF3F-0B59FF6BA2A6}|Gs.Entity\\Gs.Entity.csproj|solutionrelative:gs.entity\\baseinfo\\mesdepotsections.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" |
| | | }, |
| | | { |
| | | "AbsoluteMoniker": "D:0:0:{D13D1BCC-6110-4943-BC98-FC6F3E28CE43}|Gs.Warehouse\\Gs.Warehouse.csproj|e:\\messourcecode\\pc_cshap\\webapi\\gs.warehouse\\services\\varrivalbarcodemanager.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", |
| | |
| | | "DocumentGroups": [ |
| | | { |
| | | "DockedWidth": 681, |
| | | "SelectedChildIndex": 1, |
| | | "SelectedChildIndex": 0, |
| | | "Children": [ |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 1, |
| | | "DocumentIndex": 0, |
| | | "Title": "WorkTechniqueController.cs", |
| | | "DocumentMoniker": "E:\\MesSourceCode\\PC_Cshap\\WebApi\\Gs.Wom\\WorkService\\WorkTechniqueController.cs", |
| | | "RelativeDocumentMoniker": "Gs.Wom\\WorkService\\WorkTechniqueController.cs", |
| | | "ToolTip": "E:\\MesSourceCode\\PC_Cshap\\WebApi\\Gs.Wom\\WorkService\\WorkTechniqueController.cs", |
| | | "RelativeToolTip": "Gs.Wom\\WorkService\\WorkTechniqueController.cs", |
| | | "ViewState": "AgIAAC4BAAAAAAAAAAAAAEIBAAAmAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-07-26T08:17:09.487Z", |
| | | "EditorCaption": "" |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 3, |
| | | "Title": "MesDepotSections.cs", |
| | | "DocumentMoniker": "E:\\MesSourceCode\\PC_Cshap\\WebApi\\Gs.Entity\\BaseInfo\\MesDepotSections.cs", |
| | | "RelativeDocumentMoniker": "Gs.Entity\\BaseInfo\\MesDepotSections.cs", |
| | |
| | | "RelativeToolTip": "Gs.Entity\\BaseInfo\\MesDepotSections.cs", |
| | | "ViewState": "AgIAAA4AAAAAAAAAAAAuwB8AAAAiAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-07-24T10:44:32.171Z", |
| | | "EditorCaption": "" |
| | | "WhenOpened": "2025-07-24T10:44:32.171Z" |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 0, |
| | | "DocumentIndex": 1, |
| | | "Title": "MesDepotsManager.cs", |
| | | "DocumentMoniker": "E:\\MesSourceCode\\PC_Cshap\\WebApi\\Gs.Warehouse\\Services\\MesDepotsManager.cs", |
| | | "RelativeDocumentMoniker": "Gs.Warehouse\\Services\\MesDepotsManager.cs", |
| | | "ToolTip": "E:\\MesSourceCode\\PC_Cshap\\WebApi\\Gs.Warehouse\\Services\\MesDepotsManager.cs", |
| | | "RelativeToolTip": "Gs.Warehouse\\Services\\MesDepotsManager.cs", |
| | | "ViewState": "AgIAAKgAAAAAAAAAAAAcwLgAAAA+AAAAAAAAAA==", |
| | | "ViewState": "AgIAALsAAAAAAAAAAAAgwLgAAAA+AAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-07-24T07:07:07.204Z", |
| | | "EditorCaption": "" |
| | |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 3, |
| | | "DocumentIndex": 4, |
| | | "Title": "VArrivalBarcodeManager.cs", |
| | | "DocumentMoniker": "E:\\MesSourceCode\\PC_Cshap\\WebApi\\Gs.Warehouse\\Services\\VArrivalBarcodeManager.cs", |
| | | "RelativeDocumentMoniker": "Gs.Warehouse\\Services\\VArrivalBarcodeManager.cs", |
| | |
| | | "RelativeToolTip": "Gs.Warehouse\\Services\\VArrivalBarcodeManager.cs", |
| | | "ViewState": "AgIAAAAAAAAAAAAAAAAAAEMAAAAiAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-07-24T04:42:14.961Z", |
| | | "EditorCaption": "" |
| | | "WhenOpened": "2025-07-24T04:42:14.961Z" |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 4, |
| | | "DocumentIndex": 5, |
| | | "Title": "MesSysPageviewManager.cs", |
| | | "DocumentMoniker": "E:\\MesSourceCode\\PC_Cshap\\WebApi\\Gs.Sys\\Services\\MesSysPageviewManager.cs", |
| | | "RelativeDocumentMoniker": "Gs.Sys\\Services\\MesSysPageviewManager.cs", |
| | |
| | | "RelativeToolTip": "Gs.Sys\\Services\\MesSysPageviewManager.cs", |
| | | "ViewState": "AgIAACwAAAAAAAAAAAAewEMAAAAtAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-07-24T02:48:45.457Z", |
| | | "EditorCaption": "" |
| | | "WhenOpened": "2025-07-24T02:48:45.457Z" |
| | | }, |
| | | { |
| | | "$type": "Document", |
| | | "DocumentIndex": 5, |
| | | "DocumentIndex": 6, |
| | | "Title": "OrganizationController.cs", |
| | | "DocumentMoniker": "E:\\MesSourceCode\\PC_Cshap\\WebApi\\Gs.Sys\\Services\\OrganizationController.cs", |
| | | "RelativeDocumentMoniker": "Gs.Sys\\Services\\OrganizationController.cs", |
| | |
| | | "RelativeToolTip": "Gs.Sys\\Services\\OrganizationController.cs", |
| | | "ViewState": "AgIAACEAAAAAAAAAAAAtwCwAAABGAAAAAAAAAA==", |
| | | "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", |
| | | "WhenOpened": "2025-07-24T02:18:44.035Z", |
| | | "EditorCaption": "" |
| | | "WhenOpened": "2025-07-24T02:18:44.035Z" |
| | | } |
| | | ] |
| | | }, |
| | |
| | | return ReturnDto<int>.QuickReturn(rtnInt, ReturnCode.Success, _outMsg); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 删除主表或明细 |
| | | /// </summary> |
| | | /// <param name="model"></param> |
| | | /// <returns></returns> |
| | | [RequestMethod(RequestMethods.POST)] |
| | | public ReturnDto<int?> DeleteMode2OrMx([FromBody] dynamic model) |
| | | { |
| | | int? rtnInt = (int)ReturnCode.Default; |
| | | Guid? guid = model.guid; |
| | | string mxGuid2 = model.mxGuid2; |
| | | var _outMsg = ""; |
| | | var _outSum = -1; |
| | | using (var conn = new SqlConnection(DbHelperSQL.strConn)) |
| | | { |
| | | //using (var cmd = new SqlCommand("[work_technique_del]", conn)) |
| | | using (var cmd = new SqlCommand("[mes_prod_gx_del2]", conn)) |
| | | { |
| | | try |
| | | { |
| | | conn.Open(); |
| | | cmd.CommandType = CommandType.StoredProcedure; |
| | | SqlParameter[] parameters = |
| | | { |
| | | new("@outMsg", SqlDbType.NVarChar, 300), |
| | | new("@outSum", SqlDbType.Int), |
| | | new("@inOrderGuid", |
| | | CheckGuid(guid) |
| | | ? guid |
| | | : DBNull.Value), |
| | | new("@inEdtUserGuid", _userGuid), |
| | | new("@inMxGuid", mxGuid2) |
| | | }; |
| | | parameters[0].Direction = ParameterDirection.Output; |
| | | parameters[1].Direction = ParameterDirection.Output; |
| | | foreach (var parameter in parameters) |
| | | cmd.Parameters.Add(parameter); |
| | | |
| | | cmd.ExecuteNonQuery(); |
| | | _outMsg = parameters[0].Value.ToString(); |
| | | _outSum = int.Parse(parameters[1].Value.ToString()); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | LogHelper.Debug(ToString(), |
| | | "work_technique error:" + ex.Message); |
| | | _outMsg = ex.Message; |
| | | _outSum = -1; |
| | | } |
| | | finally |
| | | { |
| | | conn.Close(); |
| | | } |
| | | } |
| | | } |
| | | |
| | | if (_outSum <= 0) |
| | | return ReturnDto<int>.QuickReturn(rtnInt, ReturnCode.Exception, |
| | | _outMsg); |
| | | return ReturnDto<int>.QuickReturn(rtnInt, ReturnCode.Success, _outMsg); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 复制物料项目 |