3个文件已删除
228个文件已修改
13个文件已添加
New file |
| | |
| | | {"RootPath":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\BLL","ProjectFileName":"BLL.csproj","Configuration":"Release|AnyCPU","FrameworkPath":"","Sources":[{"SourceFile":"ClsBaseShow.cs"},{"SourceFile":"JHGL\\Gy_GroupService.cs"},{"SourceFile":"JHGL\\IMPL\\Gy_GroupImpl.cs"},{"SourceFile":"Properties\\Resources.Designer.cs"},{"SourceFile":"Xt_SystemParameterForOrg.cs"},{"SourceFile":"Xt_SystemParameterForOrg.Designer.cs"},{"SourceFile":"ç³»ç»ç®¡ç\\ç¨æ·ç®¡ç\\Gy_UserByOrgRelation.cs"},{"SourceFile":"ç³»ç»ç®¡ç\\ç¨æ·ç®¡ç\\Gy_UserByOrgRelation.designer.cs"},{"SourceFile":"ç³»ç»ç®¡ç\\ç¨æ·ç®¡ç\\Xt_UserNew.cs"},{"SourceFile":"ç³»ç»ç®¡ç\\ç¨æ·ç®¡ç\\Xt_UserNew.designer.cs"},{"SourceFile":"车é´ç®¡ç\\ClsSc_PackUnionBill.cs"},{"SourceFile":"车é´ç®¡ç\\ClsSc_PackDoubleBill.cs"},{"SourceFile":"车é´ç®¡ç\\ClsSc_PackSplitBill.cs"},{"SourceFile":"åºç¡èµæ\\ClsIF_Process_View.cs"},{"SourceFile":"åºç¡èµæ\\ClsIF_Group_View.cs"},{"SourceFile":"åºç¡èµæ\\ClsIF_Customer_View.cs"},{"SourceFile":"åºç¡èµæ\\ClsIF_Supplier_View.cs"},{"SourceFile":"WMS\\ClsGy_BarCodeBill_View.cs"},{"SourceFile":"KB_KanbanPlaySet.cs"},{"SourceFile":"KB_KanbanPlaySet.Designer.cs"},{"SourceFile":"WMS\\ClsKF_PonderationBillMain_Temp.cs"},{"SourceFile":"WMS\\ClsKF_PublicFun.cs"},{"SourceFile":"ä»åºç®¡ç\\ClsKF_ChangeBoxBill.cs"},{"SourceFile":"ä»åºç®¡ç\\ClsKf_EntrustInBackBill.cs"},{"SourceFile":"ä»åºç®¡ç\\ClsKf_EntrustInBill.cs"},{"SourceFile":"ä»åºç®¡ç\\ClsKf_EntrustOutBackBill.cs"},{"SourceFile":"ä»åºç®¡ç\\ClsKf_EntrustOutBill.cs"},{"SourceFile":"ä»åºç®¡ç\\ClsKf_MateOutBackBill.cs"},{"SourceFile":"ä»åºç®¡ç\\ClsKf_MateOutBill.cs"},{"SourceFile":"ä»åºç®¡ç\\ClsKf_MoveStockBill.cs"},{"SourceFile":"ä»åºç®¡ç\\ClsKf_OtherInBackBill.cs"},{"SourceFile":"ä»åºç®¡ç\\ClsKf_OtherInBill.cs"},{"SourceFile":"ä»åºç®¡ç\\ClsKf_OtherOutBackBill.cs"},{"SourceFile":"ä»åºç®¡ç\\ClsKf_OtherOutBill.cs"},{"SourceFile":"ä»åºç®¡ç\\ClsKf_POStockInBackBill.cs"},{"SourceFile":"ä»åºç®¡ç\\ClsKf_POStockInBill.cs"},{"SourceFile":"ä»åºç®¡ç\\ClsKf_ProductInBackBill.cs"},{"SourceFile":"ä»åºç®¡ç\\ClsKf_ProductInBill.cs"},{"SourceFile":"ä»åºç®¡ç\\ClsKf_SellOutBackBill.cs"},{"SourceFile":"ä»åºç®¡ç\\ClsKf_SellOutBill.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\Gy_BarCodeRuleBill.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\Gy_BarCodeRuleBill.designer.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\Gy_BillNumber.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\Gy_BillNumber.designer.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\Gy_MaxNum.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\Gy_MaxNum.designer.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\KF_ICInventoryList_IF.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\KF_ICInventoryList_IF.designer.cs"},{"SourceFile":"åºç¡èµæ\\ClsIF_BadReason_View.cs"},{"SourceFile":"åºç¡èµæ\\ClsIF_Department_View.cs"},{"SourceFile":"åºç¡èµæ\\ClsIF_Employee_View.cs"},{"SourceFile":"åºç¡èµæ\\ClsIF_Material_View.cs"},{"SourceFile":"åºç¡èµæ\\ClsIF_ORGANIZATIONS_View.cs"},{"SourceFile":"åºç¡èµæ\\ClsIF_Source_View.cs"},{"SourceFile":"åºç¡èµæ\\ClsIF_StockPlace_View.cs"},{"SourceFile":"åºç¡èµæ\\ClsIF_Warehouse_View.cs"},{"SourceFile":"åºç¡èµææ°å¢\\Gy_Material_Add.cs"},{"SourceFile":"åºç¡èµææ°å¢\\Gy_Material_Add.designer.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\ClsBaseDownSelect_InterFace.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\ClsGy_BarCodeRuleBill_Ctl.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\ClsGy_BarCodeRuleBill_Model.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\ClsGy_BarCodeRuleBill_View.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\ClsGy_BillNumber_Ctl.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\ClsGy_BillNumber_Model.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\ClsGy_BillNumber_View.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\ClsGy_MaxNum_Ctl.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\ClsGy_MaxNum_Model.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\ClsGy_MaxNum_View.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\ClsXt_SystemParameter.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\ClsXt_SystemParameterHlp.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\ClsXt_SystemParameterSub.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\ClsXt_SystemParameter_Model.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\Cls_S_K3_ICInventoryList.cs"},{"SourceFile":"Frm_SQLInfo.cs"},{"SourceFile":"Frm_SQLInfo.Designer.cs"},{"SourceFile":"Gy_GridView_HideToBase.cs"},{"SourceFile":"Gy_GridView_HideToBase.designer.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\FrmAutoSQL.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\FrmAutoSQL.Designer.cs"},{"SourceFile":"IReport.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\Gy_ReportQuery.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\Gy_ReportQuery.designer.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\KF_ICInventoryList.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\KF_ICInventoryList.designer.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\KF_ICInventoryList_K3.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\KF_ICInventoryList_K3.designer.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\KF_ICInventoryList_Mould_BLL.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\KF_ICInventoryList_Mould_BLL.designer.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\OA_EmpMessageBill.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\OA_EmpMessageBill.designer.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\Xt_ICInventoryDlg.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\Xt_ICInventoryDlg.designer.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\Gy_GridView_Hide.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\Gy_GridView_Hide.designer.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\Xt_SystemLog_K3.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\Xt_SystemLog_K3.designer.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\ClsBaseDownSelect.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\ClsBaseSelect_InterFace.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\ClsDateToNongli.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\ClsGy_UserGroup_Model.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\ClsGy_UserGroup_View.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\ClsK3Pub_BLL.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\FrmSelectDate.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\FrmSelectDate.designer.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\Gy_DataInTmp.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\Gy_DataInTmp.designer.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\Xt_File.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\Xt_File.designer.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\ClsBaseSelect.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\ClsCheckGridView.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\ClsFile.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\ClsPub_BLL.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\AboutBox1.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\AboutBox1.Designer.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\FrmMonthCalendar.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\FrmMonthCalendar.Designer.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\ClsXt_CheckExtend_Ctl.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\ClsXt_CheckExtend_Model.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\ClsXt_FileCtrl.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\Cls_S_KF_ICInventoryList.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\Cls_S_KF_ICInventoryList_IF.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\Cls_S_KF_ICInventoryList_K3.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\Cls_S_KF_ICInventoryList_Mould.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\ReportBase.cs"},{"SourceFile":"ç³»ç»ç®¡ç\\Xt_SystemParameter.cs"},{"SourceFile":"ç³»ç»ç®¡ç\\Xt_SystemParameter.designer.cs"},{"SourceFile":"ç³»ç»ç®¡ç\\ä¼è®¡æé´\\ClsXt_AccountPeriod.cs"},{"SourceFile":"ç³»ç»ç®¡ç\\ä¼è®¡æé´\\ClsXt_AccountPeriodHlp.cs"},{"SourceFile":"ç³»ç»ç®¡ç\\æ¥å¿ç®¡ç\\ClsXt_SystemLog.cs"},{"SourceFile":"ç³»ç»ç®¡ç\\æ¥å¿ç®¡ç\\ClsXt_SystemLogHlp.cs"},{"SourceFile":"ç³»ç»ç®¡ç\\模å管ç\\ClsXt_Xtgnb.cs"},{"SourceFile":"ç³»ç»ç®¡ç\\模å管ç\\ClsXt_XtgnbHlp.cs"},{"SourceFile":"ç³»ç»ç®¡ç\\ä¼è®¡æé´\\Xt_AccountPeriod.cs"},{"SourceFile":"ç³»ç»ç®¡ç\\ä¼è®¡æé´\\Xt_AccountPeriod.designer.cs"},{"SourceFile":"ç³»ç»ç®¡ç\\æ¥å¿ç®¡ç\\Xt_SystemLog.cs"},{"SourceFile":"ç³»ç»ç®¡ç\\æ¥å¿ç®¡ç\\Xt_SystemLog.designer.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\Xt_UpDownBillList.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\Xt_UpDownBillList.designer.cs"},{"SourceFile":"ç³»ç»ç®¡ç\\模å管ç\\Xt_Xtgnb.cs"},{"SourceFile":"ç³»ç»ç®¡ç\\模å管ç\\Xt_Xtgnb.designer.cs"},{"SourceFile":"ç³»ç»ç®¡ç\\ç¨æ·ç®¡ç\\Xt_Authorization.cs"},{"SourceFile":"ç³»ç»ç®¡ç\\ç¨æ·ç®¡ç\\Xt_Authorization.designer.cs"},{"SourceFile":"ç³»ç»ç®¡ç\\ç¨æ·ç®¡ç\\Xt_Password.cs"},{"SourceFile":"ç³»ç»ç®¡ç\\ç¨æ·ç®¡ç\\Xt_Password.designer.cs"},{"SourceFile":"ç³»ç»ç®¡ç\\ç¨æ·ç®¡ç\\Xt_User.cs"},{"SourceFile":"ç³»ç»ç®¡ç\\ç¨æ·ç®¡ç\\Xt_User.designer.cs"},{"SourceFile":"ç³»ç»ç®¡ç\\ç¨æ·ç®¡ç\\Xt_UserGroup.cs"},{"SourceFile":"ç³»ç»ç®¡ç\\ç¨æ·ç®¡ç\\Xt_UserGroup.designer.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\ClsGy_OpenTmp_Ctl.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\ClsGy_OpenTmp_Model.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\ClsGy_OpenTmp_View.cs"},{"SourceFile":"ç³»ç»ç®¡ç\\ç¨æ·ç®¡ç\\FrmChangePsd.cs"},{"SourceFile":"ç³»ç»ç®¡ç\\ç¨æ·ç®¡ç\\FrmChangePsd.designer.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\FrmLogin.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\FrmLogin.designer.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\FrmSetServer.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\FrmSetServer.designer.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\GridppReport.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\Gy_OpenTmp.cs"},{"SourceFile":"å
¬ç¨æ¨¡å\\Gy_OpenTmp.designer.cs"},{"SourceFile":"Properties\\AssemblyInfo.cs"},{"SourceFile":"ç³»ç»å
¬ç¨CLS\\ReportCls.cs"},{"SourceFile":"车é´ç®¡ç\\ClsSc_AssemblyBill.cs"},{"SourceFile":"obj\\Release\\.NETFramework,Version=v4.5.AssemblyAttributes.cs"}],"References":[{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\OCX\\AxInterop.gregn6Lib.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\DAL\\bin\\Release\\DAL.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":true,"ProjectPath":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\DAL\\bin\\Release\\DAL.dll"},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\DBUtility\\bin\\Release\\DBUtility.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":true,"ProjectPath":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\DBUtility\\bin\\Release\\DBUtility.dll"},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\OCX\\Interop.gregn6Lib.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\OCX\\Kingdee.BOS.WebApi.Client.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\OCX\\Kingdee.BOS.WebApi.FormService.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\OCX\\Kingdee.BOS.WebApi.ServicesStub.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\Model\\bin\\Release\\Model.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":true,"ProjectPath":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\Model\\bin\\Release\\Model.dll"},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\mscorlib.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\OCX\\Newtonsoft.Json.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\Pub_Class\\bin\\Release\\Pub_Class.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":true,"ProjectPath":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\Pub_Class\\bin\\Release\\Pub_Class.dll"},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\Pub_Control\\bin\\Release\\Pub_Control.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":true,"ProjectPath":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\Pub_Control\\bin\\Release\\Pub_Control.dll"},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\SQLHelper\\bin\\Release\\SQLHelper.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":true,"ProjectPath":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\SQLHelper\\bin\\Release\\SQLHelper.dll"},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.Core.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.Data.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.Design.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.Drawing.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.Web.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.Windows.Forms.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.Xml.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\sdk_dingding\\TopSdk\\bin\\Release\\TopSdk.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":true,"ProjectPath":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\sdk_dingding\\TopSdk\\bin\\Release\\TopSdk.dll"}],"Analyzers":[],"Outputs":[{"OutputItemFullPath":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\BLL\\bin\\Release\\BLL.dll","OutputItemRelativePath":"BLL.dll"},{"OutputItemFullPath":"","OutputItemRelativePath":""}],"CopyToOutputEntries":[]} |
| | |
| | | <Project>{f7838319-779c-4ad9-a59f-5dcb5757f335}</Project> |
| | | <Name>Pub_Control</Name> |
| | | </ProjectReference> |
| | | <ProjectReference Include="..\sdk_dingding\TopSdk\TopSdk.csproj"> |
| | | <Project>{9C11CAE5-5188-4E71-825B-68FC3135728A}</Project> |
| | | <Name>TopSdk</Name> |
| | | </ProjectReference> |
| | | <ProjectReference Include="..\SQLHelper\SQLHelper.csproj"> |
| | | <Project>{0a4ef483-d8d3-49a5-8378-974ef7993365}</Project> |
| | | <Name>SQLHelper</Name> |
| | |
| | | <ItemGroup> |
| | | <Folder Include="SBGL\SBBB\impl\" /> |
| | | </ItemGroup> |
| | | <ItemGroup> |
| | | <WCFMetadata Include="Connected Services\" /> |
| | | </ItemGroup> |
| | | <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> |
| | | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
| | | Other similar extension points exist, see Microsoft.Common.targets. |
| | |
| | | <Compile Include="车é´ç®¡ç\ClsSc_StationInBill.cs" /> |
| | | <Compile Include="车é´ç®¡ç\ClsSc_StationOutBill.cs" /> |
| | | <Compile Include="车é´ç®¡ç\ClsWW_EntrustWorkOrderBill.cs" /> |
| | | <Compile Include="车é´ç®¡ç\ClsCj_CenterCheckBill.cs" /> |
| | | <Compile Include="éè´ç®¡ç\ClsCg_ContractBill.cs"> |
| | | <SubType>Code</SubType> |
| | | </Compile> |
| | |
| | | { |
| | | DetailColl = null; |
| | | } |
| | | |
| | | |
| | | #endregion èªå®ä¹æ¹æ³ |
| | | |
| | | //ä¿ååæ§å¶ |
| | | public bool BeforeSave(Int64 HInterID, string HBillNo, Int64 OperationType, ref string sReturn) |
| | | { |
| | | try |
| | | { |
| | | DataSet Ds = oCn.RunProcReturn("Exec h_p_Pay_GroupBalBill_BeforeSaveCtrl " + HInterID.ToString() + ",'" + HBillNo + "'," + OperationType.ToString(), "h_p_Pay_GroupBalBill_BeforeSaveCtrl"); |
| | | if (Ds == null || Ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | sReturn = "ä¿ååå¤æå¤±è´¥ï¼"; |
| | | return false; |
| | | } |
| | | else |
| | | { |
| | | if (DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HBack"]) == 1) |
| | | { |
| | | sReturn = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HRemark"]); |
| | | return false; |
| | | } |
| | | } |
| | | return true; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | throw (e); |
| | | } |
| | | } |
| | | |
| | | //ä¿ååæ§å¶ |
| | | public bool AfterSave(Int64 HInterID, string HBillNo, Int64 OperationType, ref string sReturn) |
| | | { |
| | | try |
| | | { |
| | | DataSet Ds = oCn.RunProcReturn("Exec h_p_Pay_GroupBalBill_AfterSaveCtrl " + HInterID.ToString() + ",'" + HBillNo + "'," + OperationType.ToString(), "h_p_Pay_GroupBalBill_AfterSaveCtrl"); |
| | | if (Ds == null || Ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | sReturn = "ä¿ååå¤æå¤±è´¥ï¼"; |
| | | return false; |
| | | } |
| | | else |
| | | { |
| | | if (DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HBack"]) == 1) |
| | | { |
| | | sReturn = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HRemark"]); |
| | | return false; |
| | | } |
| | | } |
| | | return true; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | throw (e); |
| | | } |
| | | } |
| | | |
| | | //ä¿®æ¹åæ® |
| | | public override bool ModifyBill(Int64 lngBillKey, ref string sReturn) |
| | | { |
| | | try |
| | | { |
| | | // |
| | | oCn.BeginTran(); |
| | | //ä¿ååæ§å¶ |
| | | if (!BeforeSave(lngBillKey, omodel.HBillNo, 2, ref sReturn)) |
| | | { |
| | | oCn.RollBack(); |
| | | return false; |
| | | } |
| | | //æ´æ°ä¸»è¡¨ |
| | | oCn.RunProc("UpDate Pay_GroupBalBillMain set " + |
| | | " HBillNo='" + omodel.HBillNo + "'" + //åºå®èµå¼=============== |
| | |
| | | //======================================== |
| | | ",HGroupID=" + omodel.HGroupID.ToString() + |
| | | ",HDeptID=" + omodel.HDeptID.ToString() + |
| | | ",HPayType=" + omodel.HPayType.ToString() + |
| | | ",HOtherSubsidy=" + omodel.HOtherSubsidy.ToString() + |
| | | ",HOtherDeduct=" + omodel.HOtherDeduct.ToString() + |
| | | ",HSumMoney=" + omodel.HSumMoney.ToString() + |
| | | ",HPayMoney=" + omodel.HPayMoney.ToString() + |
| | | ",HPayType=" + omodel.HPayType.ToString() + |
| | | ",HExplanation='" + omodel.HExplanation + "'" + |
| | | ",HInnerBillNo='" + omodel.HInnerBillNo + "'" + |
| | | ",HStockOrgID=" + omodel.HSTOCKORGID.ToString() + |
| | | " where HInterID=" + lngBillKey.ToString()); |
| | | //å é¤å
³è |
| | | DeleteRelation(ref sReturn, lngBillKey); |
| | |
| | | foreach (Model.ClsPay_GroupBalBillSub oSub in DetailColl) |
| | | { |
| | | oCn.RunProc("Insert into Pay_GroupBalBillSub " + |
| | | " (HInterID,HEntryID,HRemark" + |
| | | ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney" + |
| | | ",HMaterID,HUnitID,HProcID,HTimes,HQty,HPrice,HSourceID" + |
| | | ",HMoney,HICMOInterID,HICMOBillNo,HProcReportInterID,HProcReportEntryID,HProcReportBillNo" + |
| | | ",HProcPlanInterID,HProcPlanEntryID,HProcPlanBillNo,HSqty" + |
| | | " (HInterID,HEntryID,HRemark,HRelationQty,HRelationMoney" + |
| | | ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType" + |
| | | ",HMaterID,HUnitID,HProcID,HSourceID" + |
| | | ",HTimes,HQty,HPrice,HMoney,HSqty" + |
| | | ",HICMOInterID,HICMOEntryID,HICMOBillNo,HProcReportInterID,HProcReportEntryID,HProcReportBillNo" + |
| | | ",HProcPlanInterID,HProcPlanEntryID,HProcPlanBillNo" + |
| | | ") values(" |
| | | + omodel.HInterID.ToString() + "," + oSub.HEntryID.ToString() + ",'" + oSub.HRemark + "'" + |
| | | "," + oSub.HSourceInterID.ToString() + "," + oSub.HSourceEntryID.ToString() + ",'" + oSub.HSourceBillNo + "','" + oSub.HSourceBillType + "'," + oSub.HRelationQty.ToString() + "," + oSub.HRelationMoney.ToString() + |
| | | "," + oSub.HMaterID.ToString() + "," + oSub.HUnitID.ToString() + "," + oSub.HProcID.ToString() + "," + oSub.HTimes.ToString() + "," + oSub.HQty.ToString() + "," + oSub.HPrice.ToString() + "," + oSub.HSourceID.ToString() + |
| | | "," + oSub.HMoney.ToString() + "," + oSub.HICMOInterID.ToString() + ",'" + oSub.HICMOBillNo + "'," + oSub.HProcReportInterID.ToString() + "," + oSub.HProcReportEntryID.ToString() + ",'" + oSub.HProcReportBillNo + "'" + |
| | | "," + oSub.HProcPlanInterID.ToString() + "," + oSub.HProcPlanEntryID.ToString() + ",'" + oSub.HProcPlanBillNo + "'," + oSub.HSqty.ToString() + |
| | | + omodel.HInterID.ToString() + "," + oSub.HEntryID.ToString() + ",'" + oSub.HRemark + "'," + oSub.HRelationQty.ToString() + "," + oSub.HRelationMoney.ToString() + |
| | | "," + oSub.HSourceInterID.ToString() + "," + oSub.HSourceEntryID.ToString() + ",'" + oSub.HSourceBillNo + "','" + oSub.HSourceBillType + "'" + |
| | | "," + oSub.HMaterID.ToString() + "," + oSub.HUnitID.ToString() + "," + oSub.HProcID.ToString() + "," + oSub.HSourceID.ToString() + |
| | | "," + oSub.HTimes.ToString() + "," + oSub.HQty.ToString() + "," + oSub.HPrice.ToString() + "," + oSub.HMoney.ToString() + "," + oSub.HSqty.ToString() + |
| | | "," + oSub.HICMOInterID.ToString() + "," + oSub.HICMOEntryID.ToString() + ",'" + oSub.HICMOBillNo + "'," + oSub.HProcReportInterID.ToString() + "," + oSub.HProcReportEntryID.ToString() + ",'" + oSub.HProcReportBillNo + "'" + |
| | | "," + oSub.HProcPlanInterID.ToString() + "," + oSub.HProcPlanEntryID.ToString() + ",'" + oSub.HProcPlanBillNo + "'" + |
| | | ") "); |
| | | } |
| | | // |
| | |
| | | foreach (Model.ClsPay_GroupBalBillEmp oSubSec in DetailEmpColl) |
| | | { |
| | | oCn.RunProc("Insert into Pay_GroupBalBillEmp " + |
| | | " (HInterID,HEntryID,HRemark" + |
| | | ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney" + |
| | | ",HEmpID,HEmpRate" + |
| | | ",HBaseTimes,HOverTimes,HLeaveTimes,HCTPrjID" + |
| | | ",HBaseDays,HOverDays,HLeaveDays,HYf" + |
| | | ",HMoney,HOtherSubsidy,HOtherDeduct,HIsPay,HAvgFlag" + |
| | | ")" + |
| | | " values(" |
| | | + omodel.HInterID.ToString() + "," + oSubSec.HEntryID.ToString() + ",'" + oSubSec.HRemark + "'" + |
| | | "," + oSubSec.HSourceInterID.ToString() + "," + oSubSec.HSourceEntryID.ToString() + ",'" + oSubSec.HSourceBillNo + "','" + oSubSec.HSourceBillType + "'," + oSubSec.HRelationQty.ToString() + "," + oSubSec.HRelationMoney.ToString() + |
| | | "," + oSubSec.HEmpID.ToString() + "," + oSubSec.HEmpRate.ToString() + |
| | | "," + oSubSec.HBaseTimes.ToString() + "," + oSubSec.HOverTimes.ToString() + "," + oSubSec.HLeaveTimes.ToString() + "," + oSubSec.HCTPrjID.ToString() + |
| | | "," + oSubSec.HBaseDays.ToString() + "," + oSubSec.HOverDays.ToString() + "," + oSubSec.HLeaveDays.ToString() + "," + oSubSec.HYf.ToString() + |
| | | "," + oSubSec.HMoney.ToString() + "," + oSubSec.HOtherSubsidy.ToString() + "," + oSubSec.HOtherDeduct.ToString() + "," + Convert.ToString(oSubSec.HIsPay ? 1 : 0) + "," + Convert.ToString(oSubSec.HAvgFlag ? 1 : 0) + ") "); |
| | | " (HInterID,HEntryID,HRemark,HRelationQty,HRelationMoney" + |
| | | ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType" + |
| | | ",HEmpID,HEmpRate,HCTPrjID,HMoney,HOtherSubsidy,HOtherDeduct" + |
| | | ",HBaseDays,HBaseTimes,HOverDays,HOverTimes,HLeaveDays,HLeaveTimes" + |
| | | ",HIsPay,HAvgFlag,HYF" + |
| | | ") values(" |
| | | + omodel.HInterID.ToString() + "," + oSubSec.HEntryID.ToString() + ",'" + oSubSec.HRemark + "'," + oSubSec.HRelationQty.ToString() + "," + oSubSec.HRelationMoney.ToString() + |
| | | "," + oSubSec.HSourceInterID.ToString() + "," + oSubSec.HSourceEntryID.ToString() + ",'" + oSubSec.HSourceBillNo + "','" + oSubSec.HSourceBillType + "'" + |
| | | "," + oSubSec.HEmpID.ToString() + "," + oSubSec.HEmpRate.ToString() + "," + oSubSec.HCTPrjID.ToString() + "," + oSubSec.HMoney.ToString() + "," + oSubSec.HOtherSubsidy.ToString() + "," + oSubSec.HOtherDeduct.ToString() + |
| | | "," + oSubSec.HBaseDays.ToString() + "," + oSubSec.HBaseTimes.ToString() + "," + oSubSec.HOverDays.ToString() + "," + oSubSec.HOverTimes.ToString() + "," + oSubSec.HLeaveDays.ToString() + "," + oSubSec.HLeaveTimes.ToString() + |
| | | "," + Convert.ToString(oSubSec.HIsPay ? 1 : 0) + "," + Convert.ToString(oSubSec.HAvgFlag ? 1 : 0) + "," + oSubSec.HYf.ToString() + |
| | | ") "); |
| | | } |
| | | //foreach (Model.ClsPay_GroupBalBillSub oSub in DetailColl) |
| | | //{ |
| | | // Ds = oCn.RunProcReturn("exec h_p_Pay_GroupBalBill_Qty " + oSub.HICMOInterID, ""); |
| | | // if (Ds.Tables[0].Rows.Count == 0) |
| | | // return; |
| | | // if (DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HBool"]) == "Y") |
| | | // { |
| | | // sReturn = "æ±æ¥æ°éè¶
è¿è®¡åæ°éï¼ä¸å
许ä¿å"; |
| | | // return false; |
| | | // } |
| | | //} |
| | | sReturn = "ä¿®æ¹åæ®æåï¼"; |
| | | //ä¿ååæ§å¶ |
| | | if (!AfterSave(lngBillKey, omodel.HBillNo, 2, ref sReturn)) |
| | | { |
| | | oCn.RollBack(); |
| | | return false; |
| | | } |
| | | sReturn = "åæ®å·ï¼" + omodel.HBillNo + " ä¿®æ¹æåï¼"; |
| | | oCn.Commit(); |
| | | return true; |
| | | } |
| | |
| | | throw (e); |
| | | } |
| | | } |
| | | |
| | | //æ°å¢åæ® |
| | | public override bool AddBill(ref string sReturn) |
| | | { |
| | |
| | | omodel.HInterID = DBUtility.ClsPub.CreateBillID(BillType, ref DBUtility.ClsPub.sExeReturnInfo); |
| | | //è¥MAINDIéå¤åéæ°è·å |
| | | oCn.BeginTran(); |
| | | //ä¿ååæ§å¶ |
| | | if (!BeforeSave(omodel.HInterID, omodel.HBillNo, 1, ref sReturn)) |
| | | { |
| | | oCn.RollBack(); |
| | | return false; |
| | | } |
| | | //主表 |
| | | oCn.RunProc("Insert Into Pay_GroupBalBillMain " + |
| | | "(HBillType,HBillSubType,HInterID,HBillNo,HDate" + |
| | | ",HYear,HPeriod,HRemark,HMaker,HMakeDate" + |
| | | ",HGroupID,HDeptID,HPayType,HOtherSubsidy" + |
| | | ",HOtherDeduct,HSumMoney,HPayMoney" + |
| | | ",HExplanation,HInnerBillNo" + |
| | | ",HMainSourceInterID,HMainSourceEntryID,HMainSourceBillNo,HMainSourceBillType" + |
| | | ",HGroupID,HDeptID,HPayType,HOtherSubsidy,HOtherDeduct" + |
| | | ",HSumMoney,HPayMoney,HExplanation,HInnerBillNo,HStockOrgID" + |
| | | ") " + |
| | | " values('" + this.BillType + "','" + this.HBillSubType + "'," +omodel.HInterID.ToString() + ",'" + omodel.HBillNo + "','" + omodel.HDate + "'" + |
| | | ", " + omodel.HYear.ToString() + "," + omodel.HPeriod.ToString() + ",'" + omodel.HRemark + "','" + DBUtility.ClsPub.CurUserName + "',getdate()" + |
| | | ", " + omodel.HGroupID.ToString() + "," + omodel.HDeptID.ToString() + "," + omodel.HPayType.ToString() + "," + omodel.HOtherSubsidy.ToString() + |
| | | "," + omodel.HOtherDeduct.ToString() + "," + omodel.HSumMoney.ToString() + "," + omodel.HPayMoney.ToString() + |
| | | ",'" + omodel.HExplanation + "','" + omodel.HInnerBillNo + "'" + |
| | | " values('" + this.BillType + "','" + this.HBillSubType + "'," + omodel.HInterID.ToString() + ",'" + omodel.HBillNo + "','" + omodel.HDate.ToShortDateString() + "'" + |
| | | "," + omodel.HYear.ToString() + "," + omodel.HPeriod.ToString() + ",'" + omodel.HRemark + "','" + DBUtility.ClsPub.CurUserName + "',getdate()" + |
| | | "," + omodel.HMainSourceInterID.ToString() + "," + omodel.HMainSourceEntryID.ToString() + ",'" + omodel.HMainSourceBillNo + "','" + omodel.HMainSourceBillType + "'" + |
| | | "," + omodel.HGroupID.ToString() + "," + omodel.HDeptID.ToString() + "," + omodel.HPayType.ToString() + "," + omodel.HOtherSubsidy.ToString() + "," + omodel.HOtherDeduct.ToString() + |
| | | "," + omodel.HSumMoney.ToString() + "," + omodel.HPayMoney.ToString() + ",'" + omodel.HExplanation + "','" + omodel.HInnerBillNo + "'," + omodel.HSTOCKORGID.ToString() + |
| | | ") "); |
| | | // |
| | | //æå
¥å表 |
| | | foreach (Model.ClsPay_GroupBalBillSub oSub in DetailColl) |
| | | { |
| | | oCn.RunProc("Insert into Pay_GroupBalBillSub " + |
| | | " (HInterID,HEntryID,HRemark" + |
| | | ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney" + |
| | | ",HMaterID,HUnitID,HProcID,HTimes,HQty,HPrice,HSourceID" + |
| | | ",HMoney,HICMOInterID,HICMOBillNo,HProcReportInterID,HProcReportEntryID,HProcReportBillNo" + |
| | | ",HProcPlanInterID,HProcPlanEntryID,HProcPlanBillNo,HSqty" + |
| | | " (HInterID,HEntryID,HRemark,HRelationQty,HRelationMoney" + |
| | | ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType" + |
| | | ",HMaterID,HUnitID,HProcID,HSourceID" + |
| | | ",HTimes,HQty,HPrice,HMoney,HSqty" + |
| | | ",HICMOInterID,HICMOEntryID,HICMOBillNo,HProcReportInterID,HProcReportEntryID,HProcReportBillNo" + |
| | | ",HProcPlanInterID,HProcPlanEntryID,HProcPlanBillNo" + |
| | | ") values(" |
| | | + omodel.HInterID.ToString() + "," + oSub.HEntryID.ToString() + ",'" + oSub.HRemark + "'" + |
| | | "," + oSub.HSourceInterID.ToString() + "," + oSub.HSourceEntryID.ToString() + ",'" + oSub.HSourceBillNo + "','" + oSub.HSourceBillType + "'," + oSub.HRelationQty.ToString() + "," + oSub.HRelationMoney.ToString() + |
| | | "," + oSub.HMaterID.ToString() + "," + oSub.HUnitID.ToString() + "," + oSub.HProcID.ToString() + "," + oSub.HTimes.ToString() + "," + oSub.HQty.ToString() + "," + oSub.HPrice.ToString() + "," + oSub.HSourceID.ToString() + |
| | | "," + oSub.HMoney.ToString() + "," + oSub.HICMOInterID.ToString() + ",'" + oSub.HICMOBillNo + "'," + oSub.HProcReportInterID.ToString() + "," + oSub.HProcReportEntryID.ToString() + ",'" + oSub.HProcReportBillNo + "'" + |
| | | "," + oSub.HProcPlanInterID.ToString() + "," + oSub.HProcPlanEntryID.ToString() + ",'" + oSub.HProcPlanBillNo + "'," + oSub.HSqty.ToString() + |
| | | + omodel.HInterID.ToString() + "," + oSub.HEntryID.ToString() + ",'" + oSub.HRemark + "'," + oSub.HRelationQty.ToString() + "," + oSub.HRelationMoney.ToString() + |
| | | "," + oSub.HSourceInterID.ToString() + "," + oSub.HSourceEntryID.ToString() + ",'" + oSub.HSourceBillNo + "','" + oSub.HSourceBillType + "'" + |
| | | "," + oSub.HMaterID.ToString() + "," + oSub.HUnitID.ToString() + "," + oSub.HProcID.ToString() + "," + oSub.HSourceID.ToString() + |
| | | "," + oSub.HTimes.ToString() + "," + oSub.HQty.ToString() + "," + oSub.HPrice.ToString() + "," + oSub.HMoney.ToString() + "," + oSub.HSqty.ToString() + |
| | | "," + oSub.HICMOInterID.ToString() + "," + oSub.HICMOEntryID.ToString() + ",'" + oSub.HICMOBillNo + "'," + oSub.HProcReportInterID.ToString() + "," + oSub.HProcReportEntryID.ToString() + ",'" + oSub.HProcReportBillNo + "'" + |
| | | "," + oSub.HProcPlanInterID.ToString() + "," + oSub.HProcPlanEntryID.ToString() + ",'" + oSub.HProcPlanBillNo + "'" + |
| | | ") "); |
| | | } |
| | | // |
| | |
| | | foreach (Model.ClsPay_GroupBalBillEmp oSubSec in DetailEmpColl) |
| | | { |
| | | oCn.RunProc("Insert into Pay_GroupBalBillEmp " + |
| | | " (HInterID,HEntryID,HRemark" + |
| | | ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney" + |
| | | ",HEmpID,HEmpRate" + |
| | | ",HBaseTimes,HOverTimes,HLeaveTimes,HCTPrjID" + |
| | | ",HBaseDays,HOverDays,HLeaveDays,HYf" + |
| | | ",HMoney,HOtherSubsidy,HOtherDeduct,HIsPay,HAvgFlag" + |
| | | ")" + |
| | | " values(" |
| | | + omodel.HInterID.ToString() + "," + oSubSec.HEntryID.ToString() + ",'" + oSubSec.HRemark + "'" + |
| | | "," + oSubSec.HSourceInterID.ToString() + "," + oSubSec.HSourceEntryID.ToString() + ",'" + oSubSec.HSourceBillNo + "','" + oSubSec.HSourceBillType + "'," + oSubSec.HRelationQty.ToString() + "," + oSubSec.HRelationMoney.ToString() + |
| | | "," + oSubSec.HEmpID.ToString() + "," + oSubSec.HEmpRate.ToString() + |
| | | "," + oSubSec.HBaseTimes.ToString() + "," + oSubSec.HOverTimes.ToString() + "," + oSubSec.HLeaveTimes.ToString() + "," + oSubSec.HCTPrjID.ToString() + |
| | | "," + oSubSec.HBaseDays.ToString() + "," + oSubSec.HOverDays.ToString() + "," + oSubSec.HLeaveDays.ToString() + "," + oSubSec.HYf.ToString() + |
| | | "," + oSubSec.HMoney.ToString() + "," + oSubSec.HOtherSubsidy.ToString() + "," + oSubSec.HOtherDeduct.ToString() + "," + Convert.ToString(oSubSec.HIsPay ? 1 : 0) + "," + Convert.ToString(oSubSec.HAvgFlag ? 1 : 0) + ") "); |
| | | " (HInterID,HEntryID,HRemark,HRelationQty,HRelationMoney" + |
| | | ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType" + |
| | | ",HEmpID,HEmpRate,HCTPrjID,HMoney,HOtherSubsidy,HOtherDeduct" + |
| | | ",HBaseDays,HBaseTimes,HOverDays,HOverTimes,HLeaveDays,HLeaveTimes" + |
| | | ",HIsPay,HAvgFlag,HYF" + |
| | | ") values(" |
| | | + omodel.HInterID.ToString() + "," + oSubSec.HEntryID.ToString() + ",'" + oSubSec.HRemark + "'," + oSubSec.HRelationQty.ToString() + "," + oSubSec.HRelationMoney.ToString() + |
| | | "," + oSubSec.HSourceInterID.ToString() + "," + oSubSec.HSourceEntryID.ToString() + ",'" + oSubSec.HSourceBillNo + "','" + oSubSec.HSourceBillType + "'" + |
| | | "," + oSubSec.HEmpID.ToString() + "," + oSubSec.HEmpRate.ToString() + "," + oSubSec.HCTPrjID.ToString() + "," + oSubSec.HMoney.ToString() + "," + oSubSec.HOtherSubsidy.ToString() + "," + oSubSec.HOtherDeduct.ToString() + |
| | | "," + oSubSec.HBaseDays.ToString() + "," + oSubSec.HBaseTimes.ToString() + "," + oSubSec.HOverDays.ToString() + "," + oSubSec.HOverTimes.ToString() + "," + oSubSec.HLeaveDays.ToString() + "," + oSubSec.HLeaveTimes.ToString() + |
| | | "," + Convert.ToString(oSubSec.HIsPay ? 1 : 0) + "," + Convert.ToString(oSubSec.HAvgFlag ? 1 : 0) + "," + oSubSec.HYf.ToString() + |
| | | ") "); |
| | | } |
| | | // |
| | | //foreach (Model.ClsPay_GroupBalBillSub oSub in DetailColl) |
| | | //{ |
| | | // Ds = oCn.RunProcReturn("exec h_p_Pay_GroupBalBill_Qty " + oSub.HICMOInterID, ""); |
| | | // if (Ds.Tables[0].Rows.Count == 0) |
| | | // return; |
| | | // if (DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HBool"]) == "Y") |
| | | // { |
| | | // sReturn = "æ±æ¥æ°éè¶
è¿è®¡åæ°éï¼ä¸å
许ä¿å"; |
| | | // return false; |
| | | // } |
| | | //} |
| | | // |
| | | sReturn = "æ°å¢åæ®æåï¼"; |
| | | //ä¿ååæ§å¶ |
| | | if (!AfterSave(omodel.HInterID, omodel.HBillNo, 1, ref sReturn)) |
| | | { |
| | | oCn.RollBack(); |
| | | return false; |
| | | } |
| | | sReturn = "åæ®å·ï¼" + omodel.HBillNo + " æ°å¢æåï¼"; |
| | | oCn.Commit(); |
| | | return true; |
| | | } |
| | |
| | | throw (e); |
| | | } |
| | | } |
| | | |
| | | //æ¾ç¤ºåæ® |
| | | public override bool ShowBill(Int64 lngBillKey, ref string sReturn) |
| | | { |
| | |
| | | omodel.HInterID = lngBillKey; |
| | | foreach (Model.ClsSc_MouldDotCheckPlanBillSub oSub in DetailColl) |
| | | { |
| | | oCn.RunProc("Insert into Sc_MouldDotCheckPlanBillSub " + |
| | | " (HInterID,HEntryID" + |
| | | ",HManagerID" + |
| | | ",HDotCheckItem,HDotCheckPart,HClaim" + |
| | | ",HCloseMan,HCloseType,HRemark" + |
| | | ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney" + |
| | | ",HDotCheckItemClassID,HDotCheckItemMethodID" + |
| | | ") values(" |
| | | + omodel.HInterID.ToString() + "," + oSub.HEntryID.ToString() + |
| | | "," + oSub.HManagerID.ToString() + |
| | | ",'" + oSub.HDotCheckItem + "','" + oSub.HDotCheckPart + "','" + oSub.HClaim + "'" + |
| | | ",'" + oSub.HCloseMan + "'," + Convert.ToString(oSub.HCloseType ? 1 : 0) + ",'" + oSub.HRemark + "'" + |
| | | "," + oSub.HSourceInterID.ToString() + "," + oSub.HSourceEntryID.ToString() + ",'" + oSub.HSourceBillNo + "','" + oSub.HSourceBillType + "'," + oSub.HRelationQty.ToString() + "," + oSub.HRelationMoney.ToString() + "," + oSub.HDotCheckItemClassID + "," + oSub.HDotCheckItemMethodID + |
| | | ") "); |
| | | oCn.RunProc("INSERT INTO Sc_MouldDotCheckPlanBillSub " + |
| | | " (HInterID, HEntryID, HSourceInterID, HSourceEntryID, HSourceBillNo, HSourceBillType, HRelationQty, HRelationMoney, " + |
| | | " HCloseMan, HCloseType, HRemark, " + |
| | | "HManagerID, HDotCheckItem, HDotCheckPart, HClaim, " + |
| | | " HDotCheckItemClassID, HDotCheckItemMethodID, HDotCheckItemID) " + |
| | | "VALUES (" + omodel.HInterID.ToString() + ", " + oSub.HEntryID.ToString() + ", " + oSub.HSourceInterID.ToString() + ", " + oSub.HSourceEntryID.ToString() + ", " + "'" + oSub.HSourceBillNo.Replace("'", "''") + "', " + "'" + oSub.HSourceBillType.Replace("'", "''") + "', " + oSub.HRelationQty.ToString() + ", " + oSub.HRelationMoney.ToString() + ", " + |
| | | "'" + oSub.HCloseMan.Replace("'", "''") + "', " + Convert.ToString(oSub.HCloseType ? 1 : 0) + ", " + "'" + oSub.HRemark.Replace("'", "''") + "'," + |
| | | " " + oSub.HManagerID.ToString() + ", " + "'" + oSub.HDotCheckItem.Replace("'", "''") + "', " + "'" + oSub.HDotCheckPart.Replace("'", "''") + "', " + "'" + oSub.HClaim.Replace("'", "''") + "', " + |
| | | oSub.HDotCheckItemClassID.ToString() + ", " + oSub.HDotCheckItemMethodID.ToString() + ", " + oSub.HDotCheckItemID.ToString() + |
| | | ")"); |
| | | } |
| | | |
| | | ////é
ä»¶é¡¹ç® |
| | |
| | | //æå
¥å表 //ç¹æ£é¡¹ç® |
| | | foreach (Model.ClsSc_MouldDotCheckPlanBillSub oSub in DetailColl) |
| | | { |
| | | oCn.RunProc("Insert into Sc_MouldDotCheckPlanBillSub " + |
| | | " (HInterID,HEntryID" + |
| | | ",HManagerID" + |
| | | ",HDotCheckItem,HDotCheckPart,HClaim" + |
| | | ",HCloseMan,HCloseType,HRemark" + |
| | | ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney" + |
| | | ",HDotCheckItemClassID,HDotCheckItemMethodID" + |
| | | ") values(" |
| | | + omodel.HInterID.ToString() + "," + oSub.HEntryID.ToString() + |
| | | "," + oSub.HManagerID.ToString() + |
| | | ",'" + oSub.HDotCheckItem + "','" + oSub.HDotCheckPart + "','" + oSub.HClaim + "'" + |
| | | ",'" + oSub.HCloseMan + "'," + Convert.ToString(oSub.HCloseType ? 1 : 0) + ",'" + oSub.HRemark + "'" + |
| | | "," + oSub.HSourceInterID.ToString() + "," + oSub.HSourceEntryID.ToString() + ",'" + oSub.HSourceBillNo + "','" + oSub.HSourceBillType + "'," + oSub.HRelationQty.ToString() + "," + oSub.HRelationMoney.ToString() + "," + oSub.HDotCheckItemClassID + "," + oSub.HDotCheckItemMethodID + |
| | | ") "); |
| | | oCn.RunProc("INSERT INTO Sc_MouldDotCheckPlanBillSub " + |
| | | " (HInterID, HEntryID, HSourceInterID, HSourceEntryID, HSourceBillNo, HSourceBillType, HRelationQty, HRelationMoney, " + |
| | | " HCloseMan, HCloseType, HRemark, " + |
| | | "HManagerID, HDotCheckItem, HDotCheckPart, HClaim, " + |
| | | " HDotCheckItemClassID, HDotCheckItemMethodID, HDotCheckItemID) " + |
| | | "VALUES (" +omodel.HInterID.ToString() + ", " +oSub.HEntryID.ToString() + ", " +oSub.HSourceInterID.ToString() + ", " +oSub.HSourceEntryID.ToString() + ", " +"'" + oSub.HSourceBillNo+ "', " +"'" + oSub.HSourceBillType + "', " +oSub.HRelationQty.ToString() + ", " +oSub.HRelationMoney.ToString() + ", " + |
| | | "'" + oSub.HCloseMan + "', " +Convert.ToString(oSub.HCloseType ? 1 : 0) + ", " +"'" + oSub.HRemark + "'," + |
| | | " " +oSub.HManagerID.ToString() + ", " +"'" + oSub.HDotCheckItem + "', " +"'" + oSub.HDotCheckPart + "', " +"'" + oSub.HClaim + "', " + |
| | | oSub.HDotCheckItemClassID.ToString() + ", " +oSub.HDotCheckItemMethodID.ToString() + ", " +oSub.HDotCheckItemID.ToString() + |
| | | ")"); |
| | | } |
| | | |
| | | ////é
ä»¶é¡¹ç® |
New file |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Text; |
| | | using System.Data; |
| | | |
| | | namespace DAL |
| | | { |
| | | public class ClsCj_CenterCheckBill : DBUtility.ClsXt_BaseBill |
| | | { |
| | | public Model.ClsCj_CenterCheckBillMain omodel = new Model.ClsCj_CenterCheckBillMain(); |
| | | public List<Model.ClsCj_CenterCheckBillSub> DetailColl = new List<Model.ClsCj_CenterCheckBillSub>(); |
| | | |
| | | public ClsCj_CenterCheckBill() |
| | | { |
| | | base.MvarItemKeySub = "Cj_CenterCheckBillSub"; |
| | | base.MvarItemKeySub2 = ""; |
| | | base.MvarItemKeySub3 = ""; |
| | | base.MvarItemKeySub4 = ""; |
| | | base.MvarItemKey= "Cj_CenterCheckBillMain"; |
| | | base.MvarReportTitle="䏿£å"; |
| | | base.BillType="1502"; |
| | | base.HBillSubType = "1502"; |
| | | |
| | | } |
| | | |
| | | #region åºå®ä»£ç |
| | | |
| | | ~ClsCj_CenterCheckBill() |
| | | { |
| | | DetailColl = null; |
| | | } |
| | | |
| | | #endregion èªå®ä¹æ¹æ³ |
| | | //ä¿®æ¹åæ® |
| | | public override bool ModifyBill(Int64 lngBillKey, ref string sReturn) |
| | | { |
| | | try |
| | | { |
| | | |
| | | //oCn.BeginTran(); |
| | | ////æ´æ°ä¸»è¡¨ |
| | | //oCn.RunProc("UpDate Xs_SeOrderBillMain set " + |
| | | //" HBillNo='" + omodel.HBillNo + "'" + //åºå®èµå¼=============== |
| | | //",HDate='" + omodel.HDate + "'" + |
| | | //",HYear='" + omodel.HYear.ToString() + "'" + |
| | | //",HPeriod='" + omodel.HPeriod.ToString() + "'" + |
| | | //",HRemark='" + omodel.HRemark + "'" + |
| | | //",HUpDater='" + DBUtility.ClsPub.CurUserName + "'" + |
| | | //",HUpDateDate=getdate()" + |
| | | ////======================================== |
| | | //",HSSDate='" + omodel.HSSDate.ToShortDateString() + "'" + |
| | | //",HAddress='" + omodel.HAddress + "'" + |
| | | //",HSSID=" + omodel.HSSID.ToString() + |
| | | //",HSellSID=" + omodel.HSellSID.ToString() + |
| | | //",HCusID=" + omodel.HCusID.ToString() + |
| | | //",HCurID=" + omodel.HCurID.ToString() + |
| | | //",HExRate=" + omodel.HExRate.ToString() + |
| | | //",HEmpID=" + omodel.HEmpID.ToString() + |
| | | //",HManagerID=" + omodel.HManagerID.ToString() + |
| | | //",HDeptID=" + omodel.HDeptID.ToString() + |
| | | //",HExplanation='" + omodel.HExplanation + "'" + |
| | | //",HInnerBillNo='" + omodel.HInnerBillNo + "'" + |
| | | //" where HInterID=" + lngBillKey.ToString()); |
| | | |
| | | ////ä¿ååæ§å¶========================================= |
| | | //string HBillNote = ""; |
| | | //DataSet ds = oCn.RunProcReturn("Exec h_p_Xs_SeOrderBill_BeforeSaveCtrl " + omodel.HInterID.ToString() + ", '" + omodel.HBillNo + "','" + HBillNote + "',1 ", "h_p_Xs_SeOrderBill_BeforeSaveCtrl"); |
| | | //if (ds == null) |
| | | //{ |
| | | // sReturn = "ä¿ååå¤æå¤±è´¥ï¼"; |
| | | // return false; |
| | | //} |
| | | //if (DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HBack"]) != "0") |
| | | //{ |
| | | // sReturn = "ä¿å失败ï¼" + DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HBackRemark"]); |
| | | // return false; |
| | | //} |
| | | ////========================================================= |
| | | |
| | | //oCn.BeginTran(); |
| | | //string mainSql = "UpDate Xs_SeOrderBillMain set " + |
| | | //" HBillSubType='" + omodel.HBillSubType + "'" + |
| | | //",HBillNo='" + omodel.HBillNo + "'" + //åºå®èµå¼=============== |
| | | //",HDate='" + omodel.HDate + "'" + |
| | | //",HYear='" + omodel.HYear.ToString() + "'" + |
| | | //",HPeriod='" + omodel.HPeriod.ToString() + "'" + |
| | | //",HRemark='" + omodel.HRemark + "'" + |
| | | //",HUpDater='" + DBUtility.ClsPub.CurUserName + "'" + |
| | | //",HUpDateDate=getdate()" + |
| | | ////======================================== |
| | | //",HInnerBillNo='" + omodel.HInnerBillNo + "'" + |
| | | //",HAddress='" + omodel.HAddress + "'" + |
| | | //",HDeptID=" + omodel.HDeptID.ToString() + |
| | | //",HCusID=" + omodel.HCusID.ToString() + |
| | | //",HEmpID=" + omodel.HEmpID.ToString() + |
| | | //",HCurID=" + omodel.HCurID.ToString() + |
| | | //",HExRate=" + omodel.HExRate.ToString() + |
| | | //",HEarnestRate=" + omodel.HEarnestRate.ToString() + |
| | | //",HManagerID=" + omodel.HManagerID.ToString() + |
| | | //",HSellSID=" + omodel.HSellSID.ToString() + |
| | | //",HSSID=" + omodel.HSSID.ToString() + |
| | | //",HSSDate='" + omodel.HSSDate.ToShortDateString() + "'" + |
| | | //",HPayCusID=" + omodel.HPayCusID + |
| | | //",HExplanation='" + omodel.HExplanation + "'" + |
| | | //",HLinkMan='" + omodel.HLinkMan + "'" + |
| | | //",HWHID='" + omodel.HWHID + "'" + |
| | | //",HProjectID='" + omodel.HProjectID + "'" + |
| | | //",HLinkPhone='" + omodel.HLinkPhone + "'" + |
| | | //" where HInterID=" + lngBillKey.ToString(); |
| | | |
| | | //oCn.RunProc(mainSql); |
| | | ////å é¤å
³è |
| | | //DeleteRelation(ref sReturn, lngBillKey); |
| | | ////å é¤å表 |
| | | //DeleteBillSub(lngBillKey); |
| | | ////æå
¥å表 |
| | | //omodel.HInterID = lngBillKey; |
| | | //foreach (Model.ClsXs_SeOrderBillSub oSub in DetailColl) |
| | | //{ |
| | | // //oCn.RunProc("Insert into Xs_SeOrderBillSub " + |
| | | // // " (HInterID,HEntryID,HCloseMan,HEntryCloseDate,HCloseType,HRemark" + |
| | | // // ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney" + |
| | | // // ",HMaterID,HUnitID,HQty,HPrice,HMoney,HTaxRate" + |
| | | // // ",HTaxMoney,HlineTotal,HlineTotalBB,HDate" + |
| | | // // ",HTaxPrice,HDiscountRate,HRelTaxPrice,HOutStockQty,HInvoiceQty" + |
| | | // // ") values(" |
| | | // // + omodel.HInterID.ToString() + "," + oSub.HEntryID.ToString() + ",'" + oSub.HCloseMan + "','" + oSub.HEntryCloseDate.ToShortDateString() + "'," + Convert.ToString(oSub.HCloseType ? 1 : 0) + ",'" + oSub.HRemark + "'" + |
| | | // // "," + oSub.HSourceInterID.ToString() + "," + oSub.HSourceEntryID.ToString() + ",'" + oSub.HSourceBillNo + "','" + oSub.HSourceBillType + "'," + oSub.HRelationQty.ToString() + "," + oSub.HRelationMoney.ToString() + |
| | | // // "," + oSub.HMaterID.ToString() + "," + oSub.HUnitID.ToString() + "," + oSub.HQty.ToString() + "," + oSub.HPrice.ToString() + "," + oSub.HMoney.ToString() + "," + oSub.HTaxRate.ToString() + |
| | | // // "," + oSub.HTaxMoney.ToString() + "," + oSub.HlineTotal.ToString() + "," + oSub.HlineTotalBB.ToString() + ",'" + oSub.HDate.ToShortDateString() + "'" + |
| | | // // "," + oSub.HTaxPrice.ToString() + "," + oSub.HDiscountRate.ToString() + "," + oSub.HRelTaxPrice.ToString() + "," + oSub.HOutStockQty.ToString() + "," + oSub.HInvoiceQty.ToString() + |
| | | // // ") "); |
| | | |
| | | // string subSql = "Insert into Xs_SeOrderBillSub" + |
| | | // "(HInterID,HEntryID,HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationQty_SellOutCheck,HRelationMoney_SellOutCheck,HRelationQty_ICMO,HRelationQty_SellBack,HRelationQty_SellBackCheck,HRelationMoney,HMaterID,HUnitID,HQty,HPrice,HTaxPrice,HMoney" + |
| | | // ",HDiscountRate,HRelTaxPrice,HTaxRate,HTaxMoney,HlineTotal,HlineTotalBB,HDate,HOutStockQty,HInvoiceQty,HRemark,HOrderLevID" + |
| | | // ",HCusMaterNumber,HCusModel,HCusMaterName,HisStockGoods,HWHID,HRemark_TL,HRemark_SJG) " + |
| | | // "values(" + |
| | | // "" + omodel.HInterID + |
| | | // "," + oSub.HEntryID + |
| | | // "," + oSub.HSourceInterID + |
| | | // "," + oSub.HSourceEntryID + |
| | | // ",'" + (oSub.HSourceBillNo == null ? "" : oSub.HSourceBillNo) + |
| | | // "','" + (oSub.HSourceBillType == null ? "" : oSub.HSourceBillType) + |
| | | // "'," + oSub.HRelationQty + |
| | | // "," + oSub.HRelationQty_SellOutCheck + |
| | | // "," + oSub.HRelationMoney_SellOutCheck + |
| | | // "," + oSub.HRelationQty_ICMO + |
| | | // "," + oSub.HRelationQty_SellBack + |
| | | // "," + oSub.HRelationQty_SellBackCheck + |
| | | // "," + oSub.HRelationMoney + |
| | | // "," + oSub.HMaterID + |
| | | // "," + oSub.HUnitID + |
| | | // "," + oSub.HQty + |
| | | // "," + oSub.HPrice + |
| | | // "," + oSub.HTaxPrice + |
| | | // "," + oSub.HMoney + |
| | | // "," + oSub.HDiscountRate + |
| | | // "," + oSub.HRelTaxPrice + |
| | | // "," + oSub.HTaxRate + |
| | | // "," + oSub.HTaxMoney + |
| | | // "," + oSub.HlineTotal + |
| | | // "," + oSub.HlineTotalBB + |
| | | // ",'" + oSub.HDate + |
| | | // "'," + oSub.HOutStockQty + |
| | | // "," + oSub.HInvoiceQty + |
| | | // ",'" + oSub.HRemark + |
| | | // "','" + oSub.HOrderLevID + |
| | | // "','" + oSub.HCusMaterNumber + |
| | | // "','" + oSub.HCusModel + |
| | | // "','" + oSub.HCusMaterName + |
| | | // "'," + (oSub.HisStockGoods?1:0) + |
| | | // ",'" + oSub.HWhID + "'" + |
| | | // ",'" + oSub.HRemark_TL + "'" + |
| | | // ",'" + oSub.HRemark_SJG + "'" + |
| | | // ")"; |
| | | // oCn.RunProc(subSql); |
| | | //} |
| | | |
| | | ////=========================ä¿ååæ§å¶ |
| | | //DataSet ds2 = oCn.RunProcReturn("h_p_Xs_SeOrderBill_AfterSaveCtrl " + omodel.HInterID.ToString() + ", '" + omodel.HBillNo + "',1 ", "h_p_Xs_SeOrderBill_AfterSaveCtrl"); |
| | | //if (ds2 == null) |
| | | //{ |
| | | // sReturn = "ä¿ååæ§å¶å¤æå¤±è´¥ï¼"; |
| | | // oCn.RollBack(); |
| | | // return false; |
| | | //} |
| | | //if (DBUtility.ClsPub.isStrNull(ds2.Tables[0].Rows[0]["HBack"]) != "0") |
| | | //{ |
| | | // sReturn = "ä¿å失败2ï¼" + DBUtility.ClsPub.isStrNull(ds2.Tables[0].Rows[0]["HBackRemark"]); |
| | | // oCn.RollBack(); |
| | | // return false; |
| | | //} |
| | | ////============================ |
| | | |
| | | //// |
| | | ////foreach (Model.ClsXs_SeOrderBillSub oSub in DetailColl) |
| | | ////{ |
| | | //// Ds = oCn.RunProcReturn("exec h_p_Xs_SeOrderBill_Qty " + oSub.HICMOInterID, ""); |
| | | //// if (Ds.Tables[0].Rows.Count == 0) |
| | | //// return; |
| | | //// if (DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HBool"]) == "Y") |
| | | //// { |
| | | //// sReturn = "æ±æ¥æ°éè¶
è¿è®¡åæ°éï¼ä¸å
许ä¿å"; |
| | | //// return false; |
| | | //// } |
| | | ////} |
| | | //sReturn = "ä¿®æ¹åæ®æåï¼"; |
| | | //oCn.Commit(); |
| | | return true; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | sReturn = e.Message; |
| | | oCn.RollBack(); |
| | | throw (e); |
| | | } |
| | | } |
| | | //æ°å¢åæ® |
| | | public override bool AddBill(ref string sReturn) |
| | | { |
| | | try |
| | | { |
| | | //DataSet ds; |
| | | |
| | | //ä¿ååæ§å¶========================================= |
| | | string HBillNote = ""; |
| | | DataSet ds = oCn.RunProcReturn("Exec h_p_Cj_CenterCheckBill_BeforeSaveCtrl " + omodel.HInterID.ToString() + ", '" + omodel.HBillNo + "','" + HBillNote + "',1 ", "h_p_Xs_SeOrderBill_BeforeSaveCtrl"); |
| | | if (ds == null) |
| | | { |
| | | sReturn = "ä¿ååå¤æå¤±è´¥ï¼"; |
| | | return false; |
| | | } |
| | | if (DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HBack"]) != "0") |
| | | { |
| | | sReturn = "ä¿å失败ï¼" + DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HBackRemark"]); |
| | | return false; |
| | | } |
| | | //========================================================= |
| | | |
| | | |
| | | oCn.BeginTran(); |
| | | |
| | | //æ£æ¥ä¸»è¡¨å
ç æ¯å¦éå¤ï¼è¥éå¤åéæ°çæå¹¶ç»§ç»æ£æ¥ï¼ç´å°ä¸åéå¤ |
| | | while (true) |
| | | { |
| | | ds = oCn.RunProcReturn("select * from Cj_CenterCheckBillMain where HInterID = " + omodel.HInterID, "Cj_CenterCheckBillMain"); |
| | | if (ds != null && ds.Tables[0].Rows.Count > 0) |
| | | { |
| | | omodel.HInterID = DBUtility.ClsPub.CreateBillID(BillType, ref DBUtility.ClsPub.sExeReturnInfo); |
| | | } |
| | | else |
| | | { |
| | | break; |
| | | } |
| | | } |
| | | |
| | | //æå
¥ä¸»è¡¨ |
| | | string mainSql = "Insert Into Cj_CenterCheckBillMain" + |
| | | "(HYear,HPeriod,HBillType,HBillSubType" + |
| | | ",HInterID,HBillNo,HDate,HRemark,HMaker,HMakeDate,HMainSourceInterID,HMainSourceBillNo,HMainSourceBillType,HPRDORGID" + |
| | | ",HICMOInterID,HICMOBillNo,HProcExchInterID,HProcExchBillNo,HLastResult,HMaterID,HUnitID) " + |
| | | "values(" + |
| | | "" + omodel.HDate.Year + "" + |
| | | "," + omodel.HDate.Month + "" + |
| | | ",'" + this.BillType + "'" + |
| | | ",'" + omodel.HBillSubType + "'" + |
| | | |
| | | "," + omodel.HInterID + "" + |
| | | ",'" + omodel.HBillNo + "'" + |
| | | ",'" + omodel.HDate.ToString("yyyy-MM-dd hh:mm:ss") + "'" + |
| | | |
| | | ",'" + omodel.HRemark + "'" + |
| | | ",'" + omodel.HMaker + "'" + |
| | | "," + "getdate()" + "" + |
| | | "," + omodel.HMainSourceInterID + "" + |
| | | ",'" + omodel.HMainSourceBillNo + "'" + |
| | | ",'" + omodel.HMainSourceBillType + "'" + |
| | | "," + omodel.HPRDORGID + "" + |
| | | "," + omodel.HICMOInterID + "" + |
| | | ",'" + omodel.HICMOBillNo + "'" + |
| | | "," + omodel.HProcExchInterID + "" + |
| | | ",'" + omodel.HProcExchBillNo + "'" + |
| | | "," + (omodel.HLastResult?1:0) + "" + |
| | | "," + omodel.HMaterID + "" + |
| | | "," + omodel.HUnitID + "" + |
| | | ")"; |
| | | |
| | | oCn.RunProc(mainSql); |
| | | //æå
¥å表 |
| | | foreach (Model.ClsCj_CenterCheckBillSub oSub in DetailColl) |
| | | { |
| | | string subSql = "Insert into Cj_CenterCheckBillSub" + |
| | | "(HInterID,HEntryID,HBillNo_Bak,HRemark,HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType" + |
| | | ",HProcNo,HProcID,HUnQualifiedBar) " + |
| | | "values(" + |
| | | "" + omodel.HInterID + "" + |
| | | "," + oSub.HEntryID + "" + |
| | | ",'" + omodel.HBillNo + "'" + |
| | | ",'" + oSub.HRemark + "'" + |
| | | "," + oSub.HSourceInterID + |
| | | "," + oSub.HSourceEntryID + |
| | | ",'" + (oSub.HSourceBillNo==null?"":oSub.HSourceBillNo) + "'" + |
| | | ",'" + (oSub.HSourceBillType==null?"":oSub.HSourceBillType) + "'" + |
| | | ",'" + oSub.HProcNo + "'" + |
| | | "," + oSub.HProcID + "" + |
| | | "," + (oSub.HUnQualifiedBar?1:0) + "" + |
| | | ")"; |
| | | oCn.RunProc(subSql); |
| | | } |
| | | |
| | | //=========================ä¿ååæ§å¶ |
| | | DataSet ds2 = oCn.RunProcReturn("h_p_Cj_CenterCheckBill_AfterSaveCtrl " + omodel.HInterID.ToString() + ", '" + omodel.HBillNo + "',1 ", "h_p_Cj_CenterCheckBill_AfterSaveCtrl"); |
| | | if (ds2 == null) |
| | | { |
| | | sReturn = "ä¿ååæ§å¶å¤æå¤±è´¥ï¼"; |
| | | oCn.RollBack(); |
| | | return false; |
| | | } |
| | | if (DBUtility.ClsPub.isStrNull(ds2.Tables[0].Rows[0]["HBack"]) != "0") |
| | | { |
| | | sReturn = "ä¿å失败2ï¼" + DBUtility.ClsPub.isStrNull(ds2.Tables[0].Rows[0]["HBackRemark"]); |
| | | oCn.RollBack(); |
| | | return false; |
| | | } |
| | | //============================ |
| | | |
| | | |
| | | sReturn = "æ°å¢åæ®æåï¼"; |
| | | oCn.Commit(); |
| | | return true; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | sReturn = e.Message; |
| | | oCn.RollBack(); |
| | | throw (e); |
| | | } |
| | | } |
| | | //æ¾ç¤ºåæ® |
| | | public override bool ShowBill(Int64 lngBillKey, ref string sReturn) |
| | | { |
| | | try |
| | | { |
| | | //æ¥è¯¢ä¸»è¡¨ |
| | | DataSet Ds ; |
| | | Ds = oCn.RunProcReturn("Select * from Cj_CenterCheckBillMain Where HInterID=" + lngBillKey.ToString(), "Cj_CenterCheckBillMain"); |
| | | if(Ds.Tables[0].Rows.Count==0) |
| | | { |
| | | sReturn = "åæ®æªæ¾å°ï¼"; |
| | | return false; |
| | | } |
| | | //åºå®èµå¼=========================================== |
| | | omodel.HYear = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HYear"]); |
| | | omodel.HPeriod = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HPeriod"]); |
| | | omodel.HBillType = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HBillType"]); |
| | | omodel.HBillSubType = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HBillSubType"]); |
| | | omodel.HInterID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HInterID"]); |
| | | omodel.HDate = DBUtility.ClsPub.isDate(Ds.Tables[0].Rows[0]["HDate"]); |
| | | omodel.HBillNo = Ds.Tables[0].Rows[0]["HBillNo"].ToString().Trim(); |
| | | omodel.HBillStatus = DBUtility.ClsPub.isInt(Ds.Tables[0].Rows[0]["HBillStatus"]); |
| | | omodel.HCheckItemNowID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HCheckItemNowID"]); |
| | | omodel.HCheckItemNextID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HCheckItemNextID"]); |
| | | omodel.HCheckFlowID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HCheckFlowID"]); |
| | | omodel.HRemark = Ds.Tables[0].Rows[0]["HRemark"].ToString().Trim(); |
| | | omodel.HBackDate = Ds.Tables[0].Rows[0]["HBackDate"].ToString().Trim(); |
| | | omodel.HBacker = Ds.Tables[0].Rows[0]["HBacker"].ToString().Trim(); |
| | | omodel.HCheckDate = Ds.Tables[0].Rows[0]["HCheckDate"].ToString().Trim(); |
| | | omodel.HChecker = Ds.Tables[0].Rows[0]["HChecker"].ToString().Trim(); |
| | | omodel.HMaker = Ds.Tables[0].Rows[0]["HMaker"].ToString().Trim(); |
| | | omodel.HMakeDate = Ds.Tables[0].Rows[0]["HMakeDate"].ToString().Trim(); |
| | | omodel.HUpDateDate = Ds.Tables[0].Rows[0]["HUpDateDate"].ToString().Trim(); |
| | | omodel.HUpDater = Ds.Tables[0].Rows[0]["HUpDater"].ToString().Trim(); |
| | | omodel.HCloseDate = Ds.Tables[0].Rows[0]["HCloseDate"].ToString().Trim(); |
| | | omodel.HCloseMan = Ds.Tables[0].Rows[0]["HCloseMan"].ToString().Trim(); |
| | | omodel.HCloseType = DBUtility.ClsPub.isBool(Ds.Tables[0].Rows[0]["HCloseType"]); |
| | | omodel.HDeleteDate = Ds.Tables[0].Rows[0]["HDeleteDate"].ToString().Trim(); |
| | | omodel.HDeleteMan = Ds.Tables[0].Rows[0]["HDeleteMan"].ToString().Trim(); |
| | | |
| | | omodel.HMainSourceInterID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HMainSourceInterID"]); |
| | | //omodel.HMainSourceEntryID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HMainSourceEntryIDID"]); |
| | | omodel.HMainSourceBillNo = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HMainSourceBillNo"]); |
| | | omodel.HMainSourceBillType = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HMainSourceBillType"]); |
| | | //======================================================== |
| | | omodel.HICMOInterID = DBUtility.ClsPub.isInt(Ds.Tables[0].Rows[0]["HICMOInterID"]); |
| | | omodel.HICMOEntryID = DBUtility.ClsPub.isInt(Ds.Tables[0].Rows[0]["HICMOEntryID"]); |
| | | omodel.HICMOBillNo = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HICMOBillNo"]); |
| | | |
| | | omodel.HProcExchInterID = DBUtility.ClsPub.isInt(Ds.Tables[0].Rows[0]["HProcExchInterID"]); |
| | | omodel.HProcExchEntryID = DBUtility.ClsPub.isInt(Ds.Tables[0].Rows[0]["HProcExchEntryID"]); |
| | | omodel.HProcExchBillNo = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HProcExchBillNo"]); |
| | | |
| | | omodel.HLastResult = DBUtility.ClsPub.isInt(Ds.Tables[0].Rows[0]["HLastResult"]) == 1 ? true : false; |
| | | omodel.HMaterID = DBUtility.ClsPub.isInt(Ds.Tables[0].Rows[0]["HMaterID"]); |
| | | omodel.HUnitID = DBUtility.ClsPub.isInt(Ds.Tables[0].Rows[0]["HUnitID"]); |
| | | // |
| | | |
| | | //å¾ªç¯ |
| | | DataSet DsSub ; |
| | | DsSub = oCn.RunProcReturn("Select * from Cj_CenterCheckBillSub Where HInterID=" + lngBillKey.ToString(), "Cj_CenterCheckBillSub"); |
| | | DetailColl.Clear();//æ¸
空 |
| | | for (int i = 0; i < DsSub.Tables[0].Rows.Count; i++) |
| | | { |
| | | Model.ClsCj_CenterCheckBillSub oSub = new Model.ClsCj_CenterCheckBillSub(); |
| | | // åºå®èµå¼=============================================== |
| | | oSub.HInterID = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HInterID"]); |
| | | oSub.HEntryID = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HEntryID"]); |
| | | oSub.HSourceInterID = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HSourceInterID"]); |
| | | oSub.HSourceEntryID = DBUtility.ClsPub.isLong(DsSub.Tables[0].Rows[i]["HSourceEntryID"]); |
| | | oSub.HSourceBillType = DsSub.Tables[0].Rows[i]["HSourceBillType"].ToString().Trim(); |
| | | oSub.HSourceBillNo = DsSub.Tables[0].Rows[i]["HSourceBillNo"].ToString().Trim(); |
| | | oSub.HRelationQty = DBUtility.ClsPub.isDoule(DsSub.Tables[0].Rows[i]["HRelationQty"]); |
| | | oSub.HRelationMoney = DBUtility.ClsPub.isDoule(DsSub.Tables[0].Rows[i]["HRelationMoney"]); |
| | | oSub.HCloseMan = DBUtility.ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HCloseMan"]); |
| | | oSub.HCloseType = DBUtility.ClsPub.isBool(DsSub.Tables[0].Rows[i]["HCloseType"]); |
| | | oSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DsSub.Tables[0].Rows[i]["HEntryCloseDate"]); |
| | | oSub.HRemark = DsSub.Tables[0].Rows[i]["HRemark"].ToString().Trim(); |
| | | //=================================================== |
| | | oSub.HProcNo = DBUtility.ClsPub.isStrNull(DsSub.Tables[0].Rows[i]["HProcNo"]); |
| | | oSub.HProcID = DBUtility.ClsPub.isInt(DsSub.Tables[0].Rows[i]["HProcID"]); |
| | | oSub.HUnQualifiedBar = DBUtility.ClsPub.isInt(DsSub.Tables[0].Rows[i]["HUnQualifiedBar"])==1?true:false; |
| | | |
| | | DetailColl.Add(oSub); |
| | | } |
| | | sReturn = "æ¾ç¤ºåæ®æåï¼"; |
| | | return true; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | sReturn = e.Message; |
| | | throw (e); |
| | | } |
| | | } |
| | | |
| | | //åèµ·å®¡æ¹ |
| | | public bool startCheckFlow(Int64 lngBillKey,Int64 HCheckFlowID_select, ref string sReturn) |
| | | { |
| | | try |
| | | { |
| | | string HBillNo = ""; //åæ®å· |
| | | string HCheckFlowID = ""; //å®¡æ¹æµID |
| | | string HCheckItemNowID = ""; //å½åå®¡æ ¸é¡¹ç®ID |
| | | string HCheckItemNextID = ""; //å¾
å®¡æ ¸é¡¹ç®ID |
| | | |
| | | //夿æ¯å¦å·²ç»åèµ·å®¡æ¹ |
| | | string sql0 = "select * from Xt_BillCheckFlowStatus where HBillInterID = " + lngBillKey + " and HBillTypeID = '" + this.BillType + "'"; |
| | | DataSet ds0 = oCn.RunProcReturn(sql0, "Xt_BillCheckFlowStatus"); |
| | | if (ds0 != null && ds0.Tables[0].Rows.Count > 0) |
| | | { |
| | | sReturn = "忮已å起审æ¹ï¼ä¸å¯éå¤å®¡æ¹ï¼"; |
| | | return false; |
| | | } |
| | | |
| | | //è·ååæ®æ°æ® |
| | | string sql = "select * from " + this.MvarItemKey + " where HInterID = " + lngBillKey; |
| | | DataSet ds = oCn.RunProcReturn(sql, this.MvarItemKey); |
| | | if (ds == null || ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | sReturn = "åæ®ä¸åå¨ï¼"; |
| | | return false; |
| | | } |
| | | HBillNo = ds.Tables[0].Rows[0]["HBillNo"].ToString(); |
| | | |
| | | //è·ååæ®ç±»å对åºçé»è®¤å®¡æ¹æµ |
| | | string sql1 = "select b.HInterID,b.HCheckItemID from Xt_CheckFlowMain as a " + |
| | | "inner join Xt_CheckFlowSub as b on a.HInterID = b.HInterID " + |
| | | "where a.HBillTypeID = '" + this.BillType + "' " + |
| | | "and a.HInterID = " + HCheckFlowID_select + " " + |
| | | "order by b.HFlowNo asc"; |
| | | DataSet ds1 = oCn.RunProcReturn(sql1, "Xt_CheckFlowMain"); |
| | | if (ds1 == null || ds1.Tables[0].Rows.Count == 0) |
| | | { |
| | | sReturn = "é»è®¤å®¡æ¹æµä¸åå¨ï¼"; |
| | | return false; |
| | | } |
| | | |
| | | HCheckFlowID = ds1.Tables[0].Rows[0]["HInterID"].ToString(); |
| | | HCheckItemNowID = ds1.Tables[0].Rows[0]["HCheckItemID"].ToString(); |
| | | if (ds1.Tables[0].Rows.Count >= 2) |
| | | { |
| | | HCheckItemNextID = ds1.Tables[0].Rows[1]["HCheckItemID"].ToString(); |
| | | } |
| | | else |
| | | { |
| | | HCheckItemNextID = "0"; |
| | | } |
| | | |
| | | oCn.BeginTran(); |
| | | //å¢å 忮审æ¹ç¶æè¡¨ æ°æ® |
| | | for (int i = 0; i < ds1.Tables[0].Rows.Count; i++) |
| | | { |
| | | string sql2 = "insert into Xt_BillCheckFlowStatus" + |
| | | "(HBillTypeID,HBillInterID,HBillNo,HCheckFlowID,HCheckItemID,HChecker,HCheckDate,HCheckNote) " + |
| | | "values(" + |
| | | "'" + this.BillType + "'," + |
| | | "" + lngBillKey + "," + |
| | | "'" + HBillNo + "'," + |
| | | "" + ds1.Tables[0].Rows[i]["HInterID"].ToString() + "," + |
| | | "" + ds1.Tables[0].Rows[i]["HCheckItemID"].ToString() + "," + |
| | | "" + "''" + "," + |
| | | "" + "''" + "," + |
| | | "" + "''" + "" + |
| | | ")"; |
| | | |
| | | oCn.RunProc(sql2); |
| | | } |
| | | |
| | | //æ´æ°ä¸»è¡¨ å®¡æ¹æµ æ°æ® |
| | | string sql3 = "update " + this.MvarItemKey + " set HCheckFlowID = " + HCheckFlowID + ",HCheckItemNowID=" + HCheckItemNowID + ",HCheckItemNextID=" + HCheckItemNextID + " where HInterID = " + lngBillKey; |
| | | oCn.RunProc(sql3); |
| | | |
| | | |
| | | oCn.Commit(); |
| | | |
| | | return true; |
| | | } |
| | | catch(Exception e) |
| | | { |
| | | sReturn += e.Message; |
| | | return false; |
| | | } |
| | | } |
| | | } |
| | | |
| | | } |
| | |
| | | try |
| | | { |
| | | //å¾å°mainid |
| | | omodel.HInterID = DBUtility.ClsPub.CreateBillID(BillType, ref DBUtility.ClsPub.sExeReturnInfo); |
| | | if (omodel.HInterID == 0 || omodel.HInterID.ToString() == null || omodel.HInterID.ToString() == "undefined") |
| | | { |
| | | omodel.HInterID = DBUtility.ClsPub.CreateBillID(BillType, ref DBUtility.ClsPub.sExeReturnInfo); |
| | | } |
| | | |
| | | //è¥MAINDIéå¤åéæ°è·å |
| | | oCn.BeginTran(); |
| | | //主表 |
| | |
| | | "(HYear,HPeriod,HBillType,HInterID" + |
| | | ",HDate,HBillNo,HBillStatus,HRemark,HICMOInterID" + |
| | | ",HICMOBillNo,HBarCode_P,HMaterID,HUnitID" + |
| | | ",HMaker,HMakeDate" + |
| | | ",HMaker,HMakeDate,HBillSubType" + |
| | | ") " + |
| | | " values(" + omodel.HYear + "," + omodel.HPeriod + ",'" + this.BillType + "'," + omodel.HInterID + "" + |
| | | ",'" + omodel.HDate + "','" + omodel.HBillNo.ToString() + "'," + omodel.HBillStatus + ",'" + omodel.HRemark + "'," + omodel.HICMOInterID + "" + |
| | | ",'" + omodel.HICMOBillNo.ToString() + "','" + omodel.HBarCode_P.ToString() + "'," + omodel.HMaterID + "," + omodel.HUnitID + "" + |
| | | ",'" + DBUtility.ClsPub.CurUserName + "','" + DBUtility.ClsPub.GetServerDate(-1) + "'" + |
| | | ",'" + DBUtility.ClsPub.CurUserName + "','" + DBUtility.ClsPub.GetServerDate(-1) + "','" + this.BillType + "'" + |
| | | ") "); |
| | | ////æå
¥å表 |
| | | foreach (Model.ClsSc_AssemblyBillSub oSub in DetailColl) |
| | |
| | | " (HInterID,HEntryID,HMaterID,HUnitID,HQty,HSourceID" + |
| | | ",HEquipID,HGroupID,HWorkerID,HScanDate,HBarCode,HBarCode_P" + |
| | | ",HCloseMan,HCloseType,HRemark" + |
| | | ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney)" + |
| | | ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney,HBillNo_bak)" + |
| | | " values(" |
| | | + omodel.HInterID.ToString() + "," + oSub.HEntryID.ToString() + "," + oSub.HMaterID.ToString() + "," + oSub.HUnitID.ToString() + "," + oSub.HQty.ToString() + "," + oSub.HSourceID.ToString() + "" + |
| | | "," + oSub.HEquipID.ToString() + "," + oSub.HGroupID.ToString() + "," + oSub.HWorkerID.ToString() + ",'" + oSub.HScanDate.ToShortDateString() + "','" + oSub.HBarCode + "','" + oSub.HBarCode_P + "'" + |
| | | ",'" + oSub.HCloseMan + "'," + Convert.ToString(oSub.HCloseType ? 1 : 0) + ",'" + oSub.HRemark + "'" + |
| | | "," + oSub.HSourceInterID.ToString() + "," + oSub.HSourceEntryID.ToString() + ",'" + oSub.HSourceBillNo + "','" + oSub.HSourceBillType + "'," + oSub.HRelationQty.ToString() + "," + oSub.HRelationMoney.ToString() + |
| | | "," + oSub.HSourceInterID.ToString() + "," + oSub.HSourceEntryID.ToString() + ",'" + oSub.HSourceBillNo + "','" + oSub.HSourceBillType + "'," + oSub.HRelationQty.ToString() + "," + oSub.HRelationMoney.ToString() + ",'" + omodel.HBillNo + "'" + |
| | | ") "); |
| | | } |
| | | sReturn = "æ°å¢åæ®æåï¼"; |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <configuration> |
| | | <startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration> |
| | | <startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" /></startup> |
| | | <runtime> |
| | | <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> |
| | | <dependentAssembly> |
| | | <assemblyIdentity name="ICSharpCode.SharpZipLib" publicKeyToken="1b03e6acf1164f73" culture="neutral" /> |
| | | <bindingRedirect oldVersion="0.0.0.0-1.3.2.10" newVersion="1.3.2.10" /> |
| | | </dependentAssembly> |
| | | <dependentAssembly> |
| | | <assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" /> |
| | | <bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" /> |
| | | </dependentAssembly> |
| | | <dependentAssembly> |
| | | <assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" /> |
| | | <bindingRedirect oldVersion="0.0.0.0-5.2.7.0" newVersion="5.2.7.0" /> |
| | | </dependentAssembly> |
| | | <dependentAssembly> |
| | | <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> |
| | | <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" /> |
| | | </dependentAssembly> |
| | | </assemblyBinding> |
| | | </runtime> |
| | | </configuration> |
New file |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | |
| | | namespace Model.Exceptions |
| | | { |
| | | /// <summary> |
| | | /// ç产çç»æ¥éå¼å¸¸ |
| | | /// </summary> |
| | | internal class Gy_GroupException : Exception |
| | | { |
| | | public Gy_GroupException(string message) : base(message) |
| | | { |
| | | |
| | | } |
| | | } |
| | | } |
| | |
| | | <Compile Include="CRM\ClsSec_ProductRepairBillMain.cs" /> |
| | | <Compile Include="CRM\ClsSec_ProductRepairBillSub.cs" /> |
| | | <Compile Include="CRM\ClsSec_ProductRepairBillSub1.cs" /> |
| | | <Compile Include="Exceptions\Gy_GroupException.cs" /> |
| | | <Compile Include="MES\ClsSc_MESBeginWorkBillSub_RelationBill.cs" /> |
| | | <Compile Include="WMS\ClsWMS_CusBarCodeCheckBillMain.cs" /> |
| | | <Compile Include="åºç¡èµæ\åºç¡èµæ\ClsGy_TechnologyParameterType_Model .cs" /> |
| | |
| | | <Compile Include="车é´ç®¡ç\ClsQc_PreventErrMouldCheckBillSub.cs" /> |
| | | <Compile Include="车é´ç®¡ç\ClsGy_WorkBeginDotCheckListBillSub.cs" /> |
| | | <Compile Include="车é´ç®¡ç\ClsSc_WorkBeginDotCheckBillSub.cs" /> |
| | | <Compile Include="车é´ç®¡ç\ClsCj_CenterCheckBillMain.cs" /> |
| | | <Compile Include="车é´ç®¡ç\ClsCj_CenterCheckBillSub.cs" /> |
| | | <Compile Include="车é´ç®¡ç\Sc_AssemblyBill_BindSourceTemp.cs" /> |
| | | <Compile Include="车é´ç®¡ç\ClsSc_ProcExchRecordBackBillMain.cs" /> |
| | | <Compile Include="车é´ç®¡ç\ClsSc_ProcExchRecordBackBillSub.cs" /> |
| | |
| | | public double HPrice;// decimal(18,8) --工价 |
| | | public double HMoney;// decimal(18,8) --éé¢ |
| | | public Int64 HICMOInterID;// int --ç产任å¡åID |
| | | public Int64 HICMOEntryID;// int --ç产任å¡ååID |
| | | public string HICMOBillNo;// varchar(50) --ç产任å¡åå· |
| | | public Int64 HProcReportInterID;// int --å·¥åºæ±æ¥åID |
| | | public Int64 HProcReportEntryID;// int --å·¥åºæ±æ¥ååID |
New file |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Text; |
| | | |
| | | namespace Model |
| | | { |
| | | public class ClsCj_CenterCheckBillMain : DBUtility.ClsXt_BaseBillMain |
| | | { |
| | | public int HPRDORGID; |
| | | |
| | | public int HICMOInterID; |
| | | public int HICMOEntryID; |
| | | public string HICMOBillNo; |
| | | public double HICMOQty; |
| | | |
| | | public int HProcExchInterID; |
| | | public int HProcExchEntryID; |
| | | public string HProcExchBillNo; |
| | | public double HProcExchQty; |
| | | |
| | | public bool HLastResult; |
| | | public int HMaterID; |
| | | public int HUnitID; |
| | | } |
| | | } |
New file |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Text; |
| | | |
| | | namespace Model |
| | | { |
| | | public class ClsCj_CenterCheckBillSub : DBUtility.ClsXt_BaseBillSub |
| | | { |
| | | public string HProcNo; |
| | | public int HProcID; |
| | | public bool HUnQualifiedBar; |
| | | } |
| | | } |
| | |
| | | D:\vs\项ç®ä»£ç \MES-WEB-API\MES-WEB-API\SyntacticSugar\obj\Debug\SyntacticSugar.csproj.AssemblyReference.cache |
| | | C:\Users\86130\Desktop\æºäºè¿æ\MES-WEB-API\SyntacticSugar\bin\Debug\SyntacticSugar.dll |
| | | C:\Users\86130\Desktop\æºäºè¿æ\MES-WEB-API\SyntacticSugar\bin\Debug\SyntacticSugar.pdb |
| | | C:\Users\86130\Desktop\æºäºè¿æ\MES-WEB-API\SyntacticSugar\obj\Debug\SyntacticSugar.csproj.AssemblyReference.cache |
| | | C:\Users\86130\Desktop\æºäºè¿æ\MES-WEB-API\SyntacticSugar\obj\Debug\SyntacticSugar.csproj.CoreCompileInputs.cache |
| | | C:\Users\86130\Desktop\æºäºè¿æ\MES-WEB-API\SyntacticSugar\obj\Debug\SyntacticSugar.dll |
| | | C:\Users\86130\Desktop\æºäºè¿æ\MES-WEB-API\SyntacticSugar\obj\Debug\SyntacticSugar.pdb |
| | | C:\Users\86130\Desktop\æºäºè¿æ\MES-WEB-API\SyntacticSugar\obj\Debug\SyntacticSugar.csproj.AssemblyReference.cache |
| | |
| | | 5dd9c82feb12f833c78ecebea7d9a46c99f29e3f |
| | | ebba85c1baaf628c0afa612ea676c9e3de2b6fa1c6f341c19042c3220637a7c3 |
| | |
| | | D:\vs\项ç®ä»£ç \MES-WEB-API\MES-WEB-API\SyntacticSugar\obj\Release\SyntacticSugar.csproj.CoreCompileInputs.cache |
| | | D:\vs\项ç®ä»£ç \MES-WEB-API\MES-WEB-API\SyntacticSugar\obj\Release\SyntacticSugar.dll |
| | | D:\vs\项ç®ä»£ç \MES-WEB-API\MES-WEB-API\SyntacticSugar\obj\Release\SyntacticSugar.pdb |
| | | D:\vs\项ç®ä»£ç \MES-WEB-API\MES-WEB-API\SyntacticSugar\obj\Release\SyntacticSugar.csproj.AssemblyReference.cache |
| | |
| | | } |
| | | else |
| | | { |
| | | grdMain.Rows[j].Cells[HBaNoCol].Value = HCode2; |
| | | grdMain.Rows[j].Cells[HBatchNoCol].Value = DBUtility.ClsPub.isStrNull(oDsCheck.Tables[0].Rows[0]["HBatchNo"]); |
| | | grdMain.Rows[j].Cells[HCode2Col].Value = DBUtility.ClsPub.isStrNull(oDsCheck.Tables[0].Rows[0]["HCode2"]); |
| | | //grdMain.Rows[j].Cells[HBaNoCol].Value = HCode2; |
| | | //grdMain.Rows[j].Cells[HBatchNoCol].Value = DBUtility.ClsPub.isStrNull(oDsCheck.Tables[0].Rows[0]["HBatchNo"]); |
| | | //grdMain.Rows[j].Cells[HCode2Col].Value = DBUtility.ClsPub.isStrNull(oDsCheck.Tables[0].Rows[0]["HCode2"]); |
| | | |
| | | if (DBUtility.ClsPub.isStrNull(grdMain.Rows[j].Cells[HExpiryDateCol].Value) == "") |
| | | { |
| | |
| | | { |
| | | if (ClsPub.isLong(grdMain.Rows[j].Cells[HMaterIDCol].Value) != 0) |
| | | { |
| | | string sHSourceBillNo = DBUtility.ClsPub.isStrNull(grdMain.Rows[j].Cells[HBillNoCol].Value); // æºååå· |
| | | long sHMaterID = DBUtility.ClsPub.isLong(grdMain.Rows[j].Cells[HMaterIDCol].Value); // ç©æå
ç |
| | | string sHMaterNumber = DBUtility.ClsPub.isStrNull(grdMain.Rows[j].Cells[HMaterNumberCol].Value); // ç©æä»£ç |
| | | string sHCusModelName = DBUtility.ClsPub.isStrNull(grdMain.Rows[j].Cells[HCusModelNameCol].Value); // å®¢æ·æå· |
| | | string sHCode1 = DBUtility.ClsPub.isStrNull(grdMain.Rows[j].Cells[HCode1Col].Value); // ç©æç±»å« |
| | | string sHCode2 = DBUtility.ClsPub.isStrNull(grdMain.Rows[j].Cells[HCode2Col].Value); // æ¹æ¬¡ä½ |
| | | sHCode2 = sHCode2.ToUpper(); |
| | | string HBatchNoNumber = sHCode1 + sYear + sPeriod + sDay + HCusModel; // æ¹æ¬¡çæåç¼ |
| | | HBatchNoNumber = HBatchNoNumber.ToUpper(); |
| | | |
| | | DataSet oDsBatchNo = oCn.RunProcReturn("exec h_p_Gy_CusBarCodeBill_KaiBeiLC_GetBatchNo '" + sHSourceBillNo + "'," + sHMaterID.ToString() + ",'" + sHMaterNumber + "','" + sHCusModelName + "','" + sHCode2 + "','" + HBatchNoNumber + "'", "h_p_Gy_CusBarCodeBill_KaiBeiLC_GetBatchNo"); |
| | | // |
| | | if (oDsBatchNo == null && oDsBatchNo.Tables[0].Rows.Count == 0) |
| | | { |
| | | MessageBox.Show("è·åæ¹æ¬¡å¤±è´¥ï¼"); |
| | | bc.Enabled = true; |
| | | oCn.RollBack(); |
| | | return; |
| | | } |
| | | else if (DBUtility.ClsPub.isStrNull(oDsBatchNo.Tables[0].Rows[0][0]) == "1") |
| | | { |
| | | MessageBox.Show(DBUtility.ClsPub.isStrNull(oDsBatchNo.Tables[0].Rows[0]["HRemark"])); |
| | | bc.Enabled = true; |
| | | oCn.RollBack(); |
| | | return; |
| | | } |
| | | else |
| | | { |
| | | grdMain.Rows[j].Cells[HBaNoCol].Value = sHCode2; |
| | | grdMain.Rows[j].Cells[HBatchNoCol].Value = DBUtility.ClsPub.isStrNull(oDsBatchNo.Tables[0].Rows[0]["HBatchNo"]); |
| | | grdMain.Rows[j].Cells[HCode2Col].Value = DBUtility.ClsPub.isStrNull(oDsBatchNo.Tables[0].Rows[0]["HCode2"]); |
| | | } |
| | | |
| | | HBatchNo = DBUtility.ClsPub.isStrNull(grdMain.Rows[j].Cells[HBatchNoCol].Value); |
| | | HCode3 = DBUtility.ClsPub.isStrNull(grdMain.Rows[j].Cells[HCode3Col].Value); |
| | | //è·åæå¤§æµæ°´å· |
| | |
| | | string sAllowCol = HQtyCol.ToString()+ |
| | | "," + HMinQtyCol.ToString() + |
| | | "," + HWMinQtyCol.ToString() + |
| | | "," + HMaterNumberCol.ToString() + |
| | | //"," + HMaterNumberCol.ToString() + |
| | | "," + HAuxPropNumberCol.ToString() + |
| | | "," + HUnitNumberCol.ToString() + |
| | | "," + HCode1Col.ToString() + |
| | | //"," + HCode1Col.ToString() + |
| | | //"," + HCode2Col.ToString() + |
| | | "," + HCode3Col.ToString() + |
| | | //"," + HCode3Col.ToString() + |
| | | "," + HInnerBillNoCol.ToString() + |
| | | "," + HRemarkCol.ToString(); |
| | | |
| | |
| | | "," + HMinQtyCol.ToString() + |
| | | "," + HWMinQtyCol.ToString() + |
| | | "," + HAuxPropNumberCol.ToString() + |
| | | "," + HCode1Col.ToString() + |
| | | //"," + HCode1Col.ToString() + |
| | | //"," + HCode2Col.ToString() + |
| | | "," + HCode3Col.ToString() + |
| | | //"," + HCode3Col.ToString() + |
| | | "," + HInnerBillNoCol.ToString() + |
| | | "," + HRemarkCol.ToString(); |
| | | grdMain.Columns[HBillNoCol].ReadOnly = true; |
New file |
| | |
| | | {"RootPath":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\WebAPI","ProjectFileName":"WebAPI.csproj","Configuration":"Release|AnyCPU","FrameworkPath":"","Sources":[{"SourceFile":"App_Start\\BundleConfig.cs"},{"SourceFile":"App_Start\\FilterConfig.cs"},{"SourceFile":"App_Start\\RouteConfig.cs"},{"SourceFile":"App_Start\\SwaggerConfig.cs"},{"SourceFile":"App_Start\\WebApiConfig.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_BarCodeBillController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_ConkTypeController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_ColorClassController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_ICBomBillController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_WorkDayController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_PackTypeController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_RoutingGroupController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_TechnologyController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_TechnologyParUnitController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_TechParamByProcController.cs"},{"SourceFile":"Controllers\\BaseSet\\Pay_PeriodInfoSetController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_OrderBackInfoController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_OrderLevController.cs"},{"SourceFile":"Controllers\\BaseSet\\Xt_DataDictionary_ProcController.cs"},{"SourceFile":"Controllers\\BaseSet\\Xt_DataDictionary_TableController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_ModelTypeController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_QCCheckClassController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_CheckItemController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_MaintenanceAcceptItemController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_MaintenanceItemController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_MaintenanceModeController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_StockPlaceController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_EquipMentController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_WorkCenterController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_CurrencyController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_UnitController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_BadReasonController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_CustomerController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_DepartmentController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_EmployeeController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_GroupController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_MaterialController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_ProcessController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_SourceController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_SupplierController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_PropertyController.cs"},{"SourceFile":"Controllers\\BaseSet\\Gy_WarehouseController.cs"},{"SourceFile":"Controllers\\BaseSet\\Xt_DataDictionary_ViewController.cs"},{"SourceFile":"Controllers\\BaseSet\\Xt_grdAlignment_WMESController.cs"},{"SourceFile":"Controllers\\BaseSet\\Xt_ORGANIZATIONSController.cs"},{"SourceFile":"Controllers\\BLL\\Xt_AccountPeriodController.cs"},{"SourceFile":"Controllers\\BLL\\Xt_BillSubTypeController.cs"},{"SourceFile":"Controllers\\BLL\\Xt_BillTypeController.cs"},{"SourceFile":"Controllers\\BLL\\Xt_UserGroupController.cs"},{"SourceFile":"Controllers\\BLL\\Xt_XtgnbController.cs"},{"SourceFile":"Controllers\\BLL\\Xt_SystemParameterController.cs"},{"SourceFile":"Controllers\\BLL\\Xt_UserController.cs"},{"SourceFile":"Controllers\\BLL\\Xt_SystemLogController.cs"},{"SourceFile":"Controllers\\CellWidthController.cs"},{"SourceFile":"Controllers\\CGGL\\Cg_ContractBillController.cs"},{"SourceFile":"Controllers\\CGGL\\Cg_PORequestBillController.cs"},{"SourceFile":"Controllers\\CGGL\\Cg_PurchaseReturnController.cs"},{"SourceFile":"Controllers\\CGGL\\Kf_POStockInBackBillController.cs"},{"SourceFile":"Controllers\\CGGL\\Kf_POStockInBillController.cs"},{"SourceFile":"Controllers\\CGGL\\Cg_POOrderBillController.cs"},{"SourceFile":"Controllers\\CGGL\\Sup_AskPriceBillController.cs"},{"SourceFile":"Controllers\\CGGL\\Sup_QuotePriceBillController.cs"},{"SourceFile":"Controllers\\CGGL\\WW_EntrustOrderBillController.cs"},{"SourceFile":"Controllers\\CGGL\\Cg_POInStockBillController.cs"},{"SourceFile":"Controllers\\CGGL\\Cg_POInStockBackBillController.cs"},{"SourceFile":"Controllers\\CGGL\\Cg_PayableBillController.cs"},{"SourceFile":"Controllers\\CJGL\\Cj_CallGoodsBillBackController.cs"},{"SourceFile":"Controllers\\CJGL\\Cj_CallGoodsBillMainController.cs"},{"SourceFile":"Controllers\\CJGL\\Cj_ComplementGoodsBillController.cs"},{"SourceFile":"Controllers\\CJGL\\Cj_NoPassProcController.cs"},{"SourceFile":"Controllers\\CJGL\\Cj_SendGoodsBillController.cs"},{"SourceFile":"Controllers\\CJGL\\Mes_OrderProcFlowAllReportController.cs"},{"SourceFile":"Controllers\\CJGL\\Gy_MaterPreventErrMouldBillController.cs"},{"SourceFile":"Controllers\\SBGL\\SBBB\\Sb_EquipMentCollectionTechParamController.cs"},{"SourceFile":"Controllers\\SBGL\\SBBB\\Sb_EquipMentCollectionTechParam_TempController.cs"},{"SourceFile":"Controllers\\SCGL\\Sc_ProductionReportsController.cs"},{"SourceFile":"Controllers\\ä»å管ç\\Kf_MoveStockBillController.cs"},{"SourceFile":"Controllers\\å质管ç\\è´¨éæåº¦ç®æ å\\QC_MonthTarGetBillController.cs"},{"SourceFile":"Controllers\\CJGL\\Qc_PreventErrMouldCheckBillController.cs"},{"SourceFile":"Controllers\\CJGL\\Sc_WorkBeginDotCheckBillController.cs"},{"SourceFile":"Controllers\\CJGL\\ProductionPlanReportController.cs"},{"SourceFile":"Controllers\\CJGL\\Sc_ProcessExchangeBillController.cs"},{"SourceFile":"Controllers\\CJGL\\Cj_StationOutBillController.cs"},{"SourceFile":"Controllers\\CJGL\\Cj_StationInBillController.cs"},{"SourceFile":"Controllers\\CJGL\\Cj_StationEntrustOutBillController.cs"},{"SourceFile":"Controllers\\CJGL\\Sc_ProcExchRecordBackBillController.cs"},{"SourceFile":"Controllers\\CJGL\\Sc_ProcessSendWorkController.cs"},{"SourceFile":"Controllers\\CJGL\\Sc_ProcExchSendWorkBillController.cs"},{"SourceFile":"Controllers\\CJGL\\Sc_ProcExchWorkBackBillController.cs"},{"SourceFile":"Controllers\\CJGL\\Sc_ProcExchWWSendWorkBillController.cs"},{"SourceFile":"Controllers\\CJGL\\Sc_WorkBillAutoSortBillMainController.cs"},{"SourceFile":"Controllers\\CJGL\\Cj_SingleStationController.cs"},{"SourceFile":"Controllers\\Gy_MateMouldController.cs"},{"SourceFile":"Controllers\\Gy_StdMinPickQtyController.cs"},{"SourceFile":"Controllers\\JHGL\\Gy_MaterialTechParamBillController.cs"},{"SourceFile":"Controllers\\MJGL\\Sc_MouldinventoryBillController.cs"},{"SourceFile":"Controllers\\MJGL\\Sc_MouldDotCheckRuleBillController.cs"},{"SourceFile":"Controllers\\MJGL\\Sc_MouldLifeUseBillController.cs"},{"SourceFile":"Controllers\\MJGL\\Sc_MouldReportController.cs"},{"SourceFile":"Controllers\\MJGL\\Sc_MouldScrapRequestBillController.cs"},{"SourceFile":"Controllers\\MJGL\\Sc_MouldStatusChangeBillController.cs"},{"SourceFile":"Controllers\\MJGL\\Sc_MouldUpperBillController.cs"},{"SourceFile":"Controllers\\Pay_ReportController.cs"},{"SourceFile":"Controllers\\PlateBindingController.cs"},{"SourceFile":"Controllers\\SBGL\\Gy_FixCardChangeBillController.cs"},{"SourceFile":"Controllers\\SBGL\\Gy_FixCardBillController.cs"},{"SourceFile":"Controllers\\SBGL\\SB_EquipICMOTechParamBillController.cs"},{"SourceFile":"Controllers\\SBGL\\Sb_EquipBeginBillController.cs"},{"SourceFile":"Controllers\\SBGL\\Sb_EquipReportController.cs"},{"SourceFile":"Controllers\\SBGL\\Sb_EquipStopBillController.cs"},{"SourceFile":"Controllers\\SBGL\\Sb_EquipConkBookBillController.cs"},{"SourceFile":"Controllers\\SBGL\\Sb_EquipSparepartsBillController.cs"},{"SourceFile":"Controllers\\SBGL\\Sb_EquipSparepartsChangeBillController.cs"},{"SourceFile":"Controllers\\SBGL\\Sb_EquipStatusChangeBillController.cs"},{"SourceFile":"Controllers\\SBGL\\SBTC\\Sb_EquipStockInCheckBillController.cs"},{"SourceFile":"Controllers\\SBGL\\SBTC\\Sb_EquipWorkBeforeCheckBillController.cs"},{"SourceFile":"Controllers\\SBGL\\Sb_EquipWorkBeforeCheckSBillController.cs"},{"SourceFile":"Controllers\\SBGL\\Sb_EquipStockInCheckBillSController.cs"},{"SourceFile":"Controllers\\SCGL\\Gy_SourceWorkStationSetController.cs"},{"SourceFile":"Controllers\\SCGL\\Sc_ComplementGoodBill_ZXBZController.cs"},{"SourceFile":"Controllers\\SCGL\\Sc_CurrentTicketController.cs"},{"SourceFile":"Controllers\\SCGL\\Sc_ICMOBillWorkQtyStatus_TmpController.cs"},{"SourceFile":"Controllers\\SCGL\\Sc_ICMOChangeBillController.cs"},{"SourceFile":"Controllers\\SCGL\\Sc_MyTicketController.cs"},{"SourceFile":"Controllers\\SCGL\\Sc_WorkBillMonthPlanController.cs"},{"SourceFile":"Controllers\\SCGL\\æ¥è®¡å管ç\\DataHelper.cs"},{"SourceFile":"Controllers\\SCGL\\æ¥è®¡å管ç\\JIT_Cg_PODemandPlanBillController.cs"},{"SourceFile":"Controllers\\SCGL\\Sc_CallGoodsBackRequestBillController.cs"},{"SourceFile":"Controllers\\SCGL\\Sc_ComplementGoodBillController.cs"},{"SourceFile":"Controllers\\SCGL\\Sc_ComplementGoodsController.cs"},{"SourceFile":"Controllers\\SCGL\\Sc_ICBomBillController.cs"},{"SourceFile":"Controllers\\SCGL\\æ¥è®¡å管ç\\JIT_DayPlanPlatFormBillController.cs"},{"SourceFile":"Controllers\\SCGL\\æ¥è®¡å管ç\\JIT_DayPlanPlatFormImportController.cs"},{"SourceFile":"Controllers\\SCGL\\æ¥è®¡å管ç\\JIT_ICMOSortBillController.cs"},{"SourceFile":"Controllers\\SCGL\\æ¥è®¡å管ç\\NpoiHelper.cs"},{"SourceFile":"Controllers\\SCGL\\æ¥è®¡å管ç\\Sc_JIT_ComplementGoodBillController.cs"},{"SourceFile":"Controllers\\SCGL\\æ¥è®¡å管ç\\JIT_CompleteController..cs"},{"SourceFile":"Controllers\\SCGL\\æ¥è®¡å管ç\\Sc_WorkBillSortBillController.cs"},{"SourceFile":"Controllers\\SCGL\\æ¥è®¡å管ç\\Sc_WorkDemandPlanBillController.cs"},{"SourceFile":"Controllers\\Sc_PckSplitBillController.cs"},{"SourceFile":"Controllers\\GZGL\\Gy_DuSubsidyItemBillController.cs"},{"SourceFile":"Controllers\\JHGL\\Gy_RoutingBillController.cs"},{"SourceFile":"Controllers\\Kf_ICStockBillMainController.cs"},{"SourceFile":"Controllers\\MateOutController.cs"},{"SourceFile":"Controllers\\MJGL\\Sc_MouldMaintainRuleBillController.cs"},{"SourceFile":"Controllers\\MJGL\\Sc_MouldMoveStockStepInBillListController .cs"},{"SourceFile":"Controllers\\MJGL\\Sc_MouldProdMoveBillListController.cs"},{"SourceFile":"Controllers\\MJGL\\Sc_MouldMoveStockStepOutBillController.cs"},{"SourceFile":"Controllers\\MJGL\\Sc_MouldProdInBillController.cs"},{"SourceFile":"Controllers\\MJGL\\Sc_MouldRepairChangeBillController.cs"},{"SourceFile":"Controllers\\MJGL\\Sc_MouldRepairOutBillController.cs"},{"SourceFile":"Controllers\\MJGL\\Sc_MouldScrapInBillController.cs"},{"SourceFile":"Controllers\\MJGL\\Sc_MouldOtherOutBillController.cs"},{"SourceFile":"Controllers\\MJJY\\Mj_PDA_MoudlCheckController.cs"},{"SourceFile":"Controllers\\MoveStockBillController.cs"},{"SourceFile":"Controllers\\Open_PrintTemController.cs"},{"SourceFile":"Controllers\\ReportStepPlatFormController.cs"},{"SourceFile":"Controllers\\SBGL\\Sb_EquipRepairSendWorkBillController.cs"},{"SourceFile":"Controllers\\SCGL\\Sc_ProductionReturnBillController.cs"},{"SourceFile":"Controllers\\SCGL\\Sc_PackUnionBillController.cs"},{"SourceFile":"Controllers\\Sc_MouldRepairSendWorkBillController.cs"},{"SourceFile":"Controllers\\Sc_ProcessMangementController.cs"},{"SourceFile":"Controllers\\Sc_ProcessReportController.cs"},{"SourceFile":"Controllers\\XSGL\\Kf_ICStockBackBillController.cs"},{"SourceFile":"Controllers\\XSGL\\Kf_SellOutEntryReportController.cs"},{"SourceFile":"Controllers\\XSGL\\Xs_OutDoorCheckBillController.cs"},{"SourceFile":"Controllers\\XSGL\\Xs_SellOutChangeBillController.cs"},{"SourceFile":"Controllers\\XSGL\\Xs_CusBalanceReportController.cs"},{"SourceFile":"Controllers\\XSGL\\Xs_ReceivableBillController.cs"},{"SourceFile":"Controllers\\XSGL\\Xs_ContractBillController.cs"},{"SourceFile":"Controllers\\XSGL\\YS_ContactBalController.cs"},{"SourceFile":"Controllers\\XSGL\\Xs_SeOrderChangeBillController.cs"},{"SourceFile":"Controllers\\XSGL\\Xs_ExceptiveCheckRequestBillController.cs"},{"SourceFile":"Controllers\\XSGL\\Xs_CusRatingChangeBillController.cs"},{"SourceFile":"Controllers\\CGGL\\YF_PayMentBackBillController.cs"},{"SourceFile":"Controllers\\CGGL\\YF_PayMentBillController.cs"},{"SourceFile":"Controllers\\XSGL\\YS_ReceiveBackBillController.cs"},{"SourceFile":"Controllers\\CGGL\\YF_PayMentOtherBillController.cs"},{"SourceFile":"Controllers\\XSGL\\Xs_SeReportController.cs"},{"SourceFile":"Controllers\\XSGL\\YS_ReceiveOtherBillController.cs"},{"SourceFile":"Controllers\\XSGL\\YS_ReceiveBillController.cs"},{"SourceFile":"Controllers\\XSGL\\Kf_SellOutBillController.cs"},{"SourceFile":"Controllers\\人äºç®¡ç\\å
¥èç³è¯·\\HR_EmpEngageRequestBillController.cs"},{"SourceFile":"Controllers\\人äºç®¡ç\\å¼å¸¸åé¦å\\OA_ErrMsgBackBillController.cs"},{"SourceFile":"Controllers\\人äºç®¡ç\\离èç³è¯·\\HR_EmpDimissionBillController.cs"},{"SourceFile":"Controllers\\人äºç®¡ç\\èåå¼å¨å\\HR_EmpChangeBillController.cs"},{"SourceFile":"Controllers\\ä»å管ç\\ä¸ç¹ç
§åæ«ç è®°å½å\\WMS_CusBarCodeCheckBillController.cs"},{"SourceFile":"Controllers\\ä»å管ç\\å§å¤ç¨æ\\WW_PPBomBillController.cs"},{"SourceFile":"Controllers\\ä»å管ç\\æ«ç å¼å¸¸è®°å½\\KF_PonderationBillController.cs"},{"SourceFile":"Controllers\\ä»å管ç\\æ¡ç åºå
¥åºè®°å½\\Kf_ICStockInOutBillController.cs"},{"SourceFile":"Controllers\\ä»å管ç\\æ¡ç åºå\\KF_ICInventoryList_WMSBillController.cs"},{"SourceFile":"Controllers\\ä»å管ç\\æ¡ç çæ\\Gy_BarCodeBill_OutController.cs"},{"SourceFile":"Controllers\\ä»å管ç\\æ¡ç çæ\\Gy_SplitBarCodeController.cs"},{"SourceFile":"Controllers\\ä»å管ç\\æ¡ç çæ\\KF_BarCodeStatusChangeBillController.cs"},{"SourceFile":"Controllers\\ä»å管ç\\æ¡ç çæ\\Sc_BarCodeController.cs"},{"SourceFile":"Controllers\\ä»å管ç\\è°æ¨çç¹\\Kf_MoveStockRequestBillController.cs"},{"SourceFile":"Controllers\\ä»å管ç\\颿åè´§\\apiController.cs"},{"SourceFile":"Controllers\\ä»å管ç\\颿åè´§\\Kf_StepFoldOutBillController.cs"},{"SourceFile":"Controllers\\ä»å管ç\\颿åè´§\\Kf_StockOutRequestBillController.cs"},{"SourceFile":"Controllers\\ä»å管ç\\颿åè´§\\Kf_MateOutRequestBillController.cs"},{"SourceFile":"Controllers\\ä»å管ç\\éªæ¶å
¥åº\\Kf_StepFoldinBillController.cs"},{"SourceFile":"Controllers\\ä»å管ç\\éªæ¶å
¥åº\\Kf_ProductInBillController.cs"},{"SourceFile":"Controllers\\忥èªå¨æ«ç 线\\ScanlineAPIController.cs"},{"SourceFile":"Controllers\\å质管ç\\产线质æ£å¹³å°\\Sc_ICMOBillQualityStatus_TmpController.cs"},{"SourceFile":"Controllers\\å质管ç\\产线è¿ä¿®å¹³å°\\Sc_SourceLineRepairBillController.cs"},{"SourceFile":"Controllers\\å质管ç\\客è¯å¤çå\\Crm_CustomerAppealBillController.cs"},{"SourceFile":"Controllers\\å质管ç\\å·¡æ£å\\QC_PatrolProcCheckBillController.cs"},{"SourceFile":"Controllers\\å质管ç\\å·¡æ£å\\QC_PatrolProcCheckOtherBillController.cs"},{"SourceFile":"Controllers\\å质管ç\\å·¥åºæ£éªå\\MES_ProcessCheckBill_PDAController.cs"},{"SourceFile":"Controllers\\å质管ç\\åºåæ£éªå\\QC_StockCheckBillController.cs"},{"SourceFile":"Controllers\\å质管ç\\æ£éªåæ ·è¿æ ·å\\QC_TakeSampleCheckBillController.cs"},{"SourceFile":"Controllers\\å质管ç\\è´¨éæ¥è¡¨\\QC_QualityReportsController.cs"},{"SourceFile":"Controllers\\CJGL\\CJ_WIPBeginStockBillController.cs"},{"SourceFile":"Controllers\\å质管ç\\车é´èªæ£å\\QC_WorkSelfCheckBillController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_CardChangeTypeController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_CardStatusController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_CardAddressController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_CardTypeController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_COMMONCONTACTBillController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_CustLocationController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_DotCheckItemMethodController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_DotCheckItemClassController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_DutyBillController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_EquipStatusController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_MatePriceSupController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_MaterTypeBillController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_MouldStatusController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_OperatorController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_PaymentConditionListBillController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_DisposeWayController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_ScrapReasonController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_TemporaryAreaController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_RateTypeController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_RecConditionBillController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_SettleStyleController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_SOPBillController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_SOPBillEditController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_SOPBillListController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_StaffController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_StockCheckItemBillController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_StockPlace_Controller.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_StockStatusBillController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_SupplierContactBillController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_TaxMIXController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_TaxRateBillController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_WorkController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_WorkStationBillController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_UnitConvertRateController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Xt_CheckFlowBillController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Xt_CheckFlowProgressBillController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Xt_CheckItemBillController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Xt_FastICSchemeController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\å·¥èµåºç¡èµæ\\Gy_ProcCommPriceController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\å·¥èµåºç¡èµæ\\Gy_WorkTypeController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\å·¥èµåºç¡èµæ\\Gy_WorkPayTypeController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\å·¥èµåºç¡èµæ\\Gy_ClassTimePrjGroupController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\ç产åºç¡èµæ\\Gy_ShiftsController.cs"},{"SourceFile":"Controllers\\å¤å®å®åæ¥å£\\ASSController.cs"},{"SourceFile":"Controllers\\å·¥èµç®¡ç\\HR_EmployeeSkillBillController.cs"},{"SourceFile":"Controllers\\å·¥èµç®¡ç\\HR_EmployeeSkillExamBillController.cs"},{"SourceFile":"Controllers\\å·¥èµç®¡ç\\Pay_OutApplyBillController.cs"},{"SourceFile":"Controllers\\å·¥èµç®¡ç\\Pay_OverApplyBillController.cs"},{"SourceFile":"Controllers\\å·¥èµç®¡ç\\Pay_PayMentBillController.cs"},{"SourceFile":"Controllers\\å·¥èµç®¡ç\\Pay_SalaryCalculateController.cs"},{"SourceFile":"Controllers\\å·¥èµç®¡ç\\Pay_DuSubsidyItemBillController.cs"},{"SourceFile":"Controllers\\å·¥èµç®¡ç\\Pay_ErrWorkTimesRequestBillController.cs"},{"SourceFile":"Controllers\\å·¥èµç®¡ç\\Pay_ProcPriceRequestBillController.cs"},{"SourceFile":"Controllers\\å·¥èµç®¡ç\\Pay_MonthlySalaryReportController.cs"},{"SourceFile":"Controllers\\å·¥èµç®¡ç\\Pay_PieceRateWageReportController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\å·¥èµåºç¡èµæ\\Gy_ClassTimePrjController.cs"},{"SourceFile":"Controllers\\å·¥èµç®¡ç\\Gy_ClassTimePrjSubController.cs"},{"SourceFile":"Controllers\\å·¥èµç®¡ç\\Pay_OtherBalBillController.cs"},{"SourceFile":"Controllers\\å·¥èµç®¡ç\\Pay_GroupBalBillController.cs"},{"SourceFile":"Controllers\\PurchaseOrderController.cs"},{"SourceFile":"Controllers\\QC_POStockInCheckBillController.cs"},{"SourceFile":"Controllers\\å·¥èµç®¡ç\\Gy_GroupEmpBillController.cs"},{"SourceFile":"Controllers\\å·¥èµç®¡ç\\Pay_PurchaseWallclothBillController.cs"},{"SourceFile":"Controllers\\å·¥èµç®¡ç\\HR_PostSkillBillController.cs"},{"SourceFile":"Controllers\\å·¥èµç®¡ç\\Pay_WorkTimesBillController.cs"},{"SourceFile":"Controllers\\å·¥èµç®¡ç\\Pay_SingleBalBillController.cs"},{"SourceFile":"Controllers\\ProductionOrderController.cs"},{"SourceFile":"Controllers\\PublicPageMethodController.cs"},{"SourceFile":"Controllers\\ReportFromController.cs"},{"SourceFile":"Controllers\\GG_NoticeController.cs"},{"SourceFile":"Controllers\\ReportPlatFormController.cs"},{"SourceFile":"Controllers\\SBGL\\Gy_EquipFileMainController.cs"},{"SourceFile":"Controllers\\SBGL\\Gy_EquipTypeController.cs"},{"SourceFile":"Controllers\\SBGL\\Sb_EquipDotCheckRuleBillController.cs"},{"SourceFile":"Controllers\\SBGL\\Sb_EquipMaintainRuleBillController.cs"},{"SourceFile":"Controllers\\SCGL\\Sc_MESProductReportBillController.cs"},{"SourceFile":"Controllers\\SCGL\\Sc_MESTransFerWorkBillController.cs"},{"SourceFile":"Controllers\\Sc_MouldRepairOutBillController.cs"},{"SourceFile":"Controllers\\Sc_MouldRepairInBillListController.cs"},{"SourceFile":"Controllers\\Sc_MouldController.cs"},{"SourceFile":"Controllers\\Sc_GroupOrderBillController.cs"},{"SourceFile":"Controllers\\QC_ManagementController.cs"},{"SourceFile":"Controllers\\SBGL\\Sb_EquipDotCheckBillController.cs"},{"SourceFile":"Controllers\\SBGL\\Sb_EquipMaintainBillController.cs"},{"SourceFile":"Controllers\\SBGL\\Sb_EquipMaintainPlanBillController.cs"},{"SourceFile":"Controllers\\SBGL\\Sb_EquipDotCheckPlanBillController.cs"},{"SourceFile":"Controllers\\Sb_CheckEqpRepairWorkBillController.cs"},{"SourceFile":"Controllers\\SCGL\\Sc_MaterToSourceBillController.cs"},{"SourceFile":"Controllers\\SCGL\\Sc_MESEndWorkBillController.cs"},{"SourceFile":"Controllers\\SCGL\\Sc_MESStopWorkBillController.cs"},{"SourceFile":"Controllers\\SCGL\\Sc_MESBeginWorkBillController.cs"},{"SourceFile":"Controllers\\SCGL\\QC_LastPieceCheckBillController.cs"},{"SourceFile":"Controllers\\SCGL\\QC_OutCompCheckBillController.cs"},{"SourceFile":"Controllers\\SCGL\\Sc_ICMOReportBillController.cs"},{"SourceFile":"Controllers\\Sc_MouldOtherInBillController.cs"},{"SourceFile":"Controllers\\CJGL\\Cj_StationEntrustInBillController.cs"},{"SourceFile":"Controllers\\LMESController.cs"},{"SourceFile":"Controllers\\LookingForBillController.cs"},{"SourceFile":"Controllers\\NewApiController.cs"},{"SourceFile":"Controllers\\SCGL\\Sc_PPBomBillController.cs"},{"SourceFile":"Controllers\\Sc_CheckToolsRepairWorkBillListController.cs"},{"SourceFile":"Controllers\\XSGL\\Xs_SeOutStockBackBillController.cs"},{"SourceFile":"Controllers\\XSGL\\Xs_SeOutStockBillController.cs"},{"SourceFile":"Controllers\\XSGL\\Xs_SeOrderBillController.cs"},{"SourceFile":"Controllers\\ä»å管ç\\颿åè´§\\Kf_MateOutBackBillController.cs"},{"SourceFile":"Controllers\\ä»å管ç\\颿åè´§\\Kf_MateOutBillController.cs"},{"SourceFile":"Controllers\\ä»å管ç\\éªæ¶å
¥åº\\Kf_EntrustOutBackBillController.cs"},{"SourceFile":"Controllers\\å质管ç\\å·¥åºæ£éªå\\QC_ProcessCheckBillController.cs"},{"SourceFile":"Controllers\\å质管ç\\é¦ä»¶æ£éªå\\QC_FirstPieceCheckBillController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_ConkReasonBillController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_DotCheckBillController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_MaintainBillController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_RepairBillController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\åºç¡èµæ\\Gy_RepairCheckBillController.cs"},{"SourceFile":"Controllers\\åºç¡èµæ\\å·¥èµåºç¡èµæ\\Gy_ProcPriceController.cs"},{"SourceFile":"Controllers\\åºæ¶ç®¡ç\\YS_ReceiveReportController.cs"},{"SourceFile":"Controllers\\æ°æ®åæ¥\\éé忥\\DD_DataSynchronizationController.cs"},{"SourceFile":"Controllers\\æ¡ç 管ç\\MouldController.cs"},{"SourceFile":"Controllers\\æ¡ç 管ç\\WEBSController.cs"},{"SourceFile":"Controllers\\ç产管ç\\æ¥å·¥å°å·¥åº\\Sc_MaterToSourceStepBillController.cs"},{"SourceFile":"Controllers\\ç产管ç\\æ¥å·¥å°å·¥åº\\Sc_MESBeginStepWorkBillController.cs"},{"SourceFile":"Controllers\\ç产管ç\\æ¥å·¥å°å·¥åº\\Sc_MESEndStepWorkBillController.cs"},{"SourceFile":"Controllers\\ç产管ç\\æ¥å·¥å°å·¥åº\\Sc_MESProductReportStepBillController.cs"},{"SourceFile":"Controllers\\ç产管ç\\æ¥å·¥å°å·¥åº\\Sc_MESReturnStepWorkBillController.cs"},{"SourceFile":"Controllers\\ç产管ç\\æ¥å·¥å°å·¥åº\\Sc_MESStopStepWorkBillController.cs"},{"SourceFile":"Controllers\\ç产管ç\\æ¥å·¥å°å·¥åº\\Sc_QualityReportStepBillController.cs"},{"SourceFile":"Controllers\\ç产管ç\\ç产任å¡å\\Sc_ICMOBillController.cs"},{"SourceFile":"Controllers\\ç产管ç\\ç产æ¥è¡¨\\Sc_ProductReportController.cs"},{"SourceFile":"Controllers\\ç产管ç\\è´¨éæ±æ¥å\\Sc_QualityReportBillController.cs"},{"SourceFile":"Controllers\\çæ¿ç®¡ç\\KB_CSGLController.cs"},{"SourceFile":"Controllers\\çæ¿ç®¡ç\\Kf_XSFHController.cs"},{"SourceFile":"Controllers\\项ç®ç®¡ç\\ä¸ç»©ææ \\PM_YearEmployeeMoneyBillController.cs"},{"SourceFile":"Controllers\\PM_CustomerProInfoBillController.cs"},{"SourceFile":"Controllers\\项ç®ç®¡ç\\å·¥ä½ä»»å¡\\PM_WorkTaskBillController.cs"},{"SourceFile":"Controllers\\项ç®ç®¡ç\\å·¥ä½å¨è®¡å\\PM_WorkTaskWeekBillController.cs"},{"SourceFile":"Controllers\\项ç®ç®¡ç\\å·¥ç¨é¡¹ç®\\PM_ProjectBillController.cs"},{"SourceFile":"Controllers\\项ç®ç®¡ç\\æ¥è¡¨åæ\\PM_ReportController.cs"},{"SourceFile":"Controllers\\项ç®ç®¡ç\\项ç®é¶æ®µ\\Gy_ProjectStageController.cs"},{"SourceFile":"Dapper\\SqlHelper.cs"},{"SourceFile":"Dapper\\SqlPools.cs"},{"SourceFile":"DbUntil\\DataFormatUntil.cs"},{"SourceFile":"DLL\\ClsGy_BadPhenomena_Ctl.cs"},{"SourceFile":"DLL\\ClsGy_TechnologyParameterType_Ctl.cs"},{"SourceFile":"DLL\\ClsGy_InspectInstruMent_Ctl.cs"},{"SourceFile":"DLL\\ClsGy_InspectBasis_Ctl.cs"},{"SourceFile":"DLL\\ClsGy_CheckNoteItem_Ctl.cs"},{"SourceFile":"DLL\\ClsGy_PoStockStyle_Ctl.cs"},{"SourceFile":"DLL\\ClsGy_AreaSet_Ctl.cs"},{"SourceFile":"DLL\\ClsGy_CusType_Ctl.cs"},{"SourceFile":"DLL\\ClsGy_ErrMsgBackType_Ctl.cs"},{"SourceFile":"DLL\\ClsGy_MaintainLev_Ctl.cs"},{"SourceFile":"DLL\\ClsGy_RestDay_Ctl.cs"},{"SourceFile":"DLL\\ClsGy_PreventErrMould_Ctl.cs"},{"SourceFile":"DLL\\ClsGy_TaskClass_Ctl.cs"},{"SourceFile":"DLL\\ClsGy_ProjectClass_Ctl.cs"},{"SourceFile":"DLL\\ClsGy_StockCheckItem_Ctl.cs"},{"SourceFile":"DLL\\ClsGy_ProjectMoney_Ctl.cs"},{"SourceFile":"DLL\\ClsGy_SupType_Ctl.cs"},{"SourceFile":"DLL\\ClsGy_SellStyle_Ctl.cs"},{"SourceFile":"DLL\\ClsGy_PostSkill_Ctl.cs"},{"SourceFile":"DLL\\ClsGy_StockOutStyle_Ctl.cs"},{"SourceFile":"DLL\\ClsGy_StockInStyle_Ctl.cs"},{"SourceFile":"DLL\\ClsGy_StockMoveStyle_Ctl.cs"},{"SourceFile":"DLL\\ClsGy_Post_Ctl.cs"},{"SourceFile":"DLL\\ClsGy_QualityStd_Ctl.cs"},{"SourceFile":"DLL\\ClsGy_InspectMethod_Ctl.cs"},{"SourceFile":"DLL\\ClsGy_InspectValue_Ctl.cs"},{"SourceFile":"DLL\\ClsGy_BadResult_Ctl.cs"},{"SourceFile":"DLL\\ClsGy_BadReason_Ctl.cs"},{"SourceFile":"DLL\\ClsGy_DuSubsidyItemBill.cs"},{"SourceFile":"DLL\\ClsGy_EquipFileMain.cs"},{"SourceFile":"DLL\\ClsGy_EquipTypeBill.cs"},{"SourceFile":"DLL\\ClsGy_Material_Ctl.cs"},{"SourceFile":"DLL\\ClsGy_Source_Ctl.cs"},{"SourceFile":"DLL\\ClsGy_WorkPayTypeBill.cs"},{"SourceFile":"DLL\\ClsGy_WorkTypeBill.cs"},{"SourceFile":"DLL\\ClsKf_MateOutBackBill.cs"},{"SourceFile":"DLL\\ClsKf_MateOutBill.cs"},{"SourceFile":"DLL\\ClsKf_SellOutBackBill.cs"},{"SourceFile":"DLL\\ClsOA_ErrMsgBackBill.cs"},{"SourceFile":"DLL\\ClsOA_InformBill.cs"},{"SourceFile":"DLL\\ClsQC_NoPassProdCheckBill.cs"},{"SourceFile":"DLL\\ClsQC_PatrolProcCheckBill.cs"},{"SourceFile":"DLL\\ClsSb_EquipConkBookBill.cs"},{"SourceFile":"DLL\\ClsSb_EquipDotCheckBill.cs"},{"SourceFile":"DLL\\ClsSb_EquipMaintainBill.cs"},{"SourceFile":"DLL\\ClsSb_EquipMaintainRuleBill.cs"},{"SourceFile":"DLL\\ClsSb_EquipRepairCheckBill.cs"},{"SourceFile":"DLL\\ClsSb_EquipRepairSendWorkBill.cs"},{"SourceFile":"DLL\\ClsSb_EquipRepairSignBill.cs"},{"SourceFile":"DLL\\ClsSb_EquipRepairWorkBill.cs"},{"SourceFile":"DLL\\ClsSb_MouldRepairWorkBill.cs"},{"SourceFile":"DLL\\ClsSc_ICMOBillWorkQtyStatus_Tmp.cs"},{"SourceFile":"DLL\\ClsSc_ICMOReportBill.cs"},{"SourceFile":"DLL\\ClsSc_ICMOStepBillWorkQtyStatus_Tmp.cs"},{"SourceFile":"DLL\\ClsSc_MESBeginWorkBill.cs"},{"SourceFile":"DLL\\ClsSc_MESEndWorkBill.cs"},{"SourceFile":"DLL\\ClsSc_MESReturnStepWorkBill.cs"},{"SourceFile":"DLL\\ClsSc_MESStopWorkBill.cs"},{"SourceFile":"DLL\\ClsSc_MouldDotCheckBill.cs"},{"SourceFile":"DLL\\ClsSc_MouldLifeChangeBill.cs"},{"SourceFile":"DLL\\ClsSc_MouldMaintainBill.cs"},{"SourceFile":"DLL\\ClsSc_MouldOtherOutBill.cs"},{"SourceFile":"DLL\\ClsSc_MouldOtherInBill.cs"},{"SourceFile":"DLL\\ClsSc_MouldMoveStockStepOutBill.cs"},{"SourceFile":"DLL\\ClsSc_PackUnionBill.cs"},{"SourceFile":"DLL\\ClsSc_PHPCruxBillBill.cs"},{"SourceFile":"DLL\\ClsSc_ProcessPlan.cs"},{"SourceFile":"DLL\\ClsWW_PPBomBill.cs"},{"SourceFile":"DLL\\SBGL\\SBBB\\Sb_EquipMentCollectionTechParam_Ctl.cs"},{"SourceFile":"DLL\\å·¥èµç®¡ç\\ClsPay_GroupBalBill.cs"},{"SourceFile":"DLL\\å·¥èµç®¡ç\\ClsGy_GroupEmpBill.cs"},{"SourceFile":"DLL\\å·¥èµç®¡ç\\ClsPay_WorkTimesBill.cs"},{"SourceFile":"DLL\\ééæ¶æ¯\\Cls_DDMsg.cs"},{"SourceFile":"DLL\\项ç®ç®¡ç\\项ç®é¶æ®µ\\ClsPM_CustomerProInfoBill_Ctl.cs"},{"SourceFile":"HttpClient.cs"},{"SourceFile":"InvokeHelper.cs"},{"SourceFile":"Log.cs"},{"SourceFile":"Models\\ClsGy_Supplier_PayPlan.cs"},{"SourceFile":"Models\\ClsGy_MouldFileBillSub_DotCheckRule.cs"},{"SourceFile":"Models\\ClsGy_MouldFileBillSub_MaintainRule.cs"},{"SourceFile":"Models\\ClsGy_MateMould.cs"},{"SourceFile":"Models\\ClsGy_SupMaterial.cs"},{"SourceFile":"Models\\ClsGy_EquipFileBillSub_DotCheckRule.cs"},{"SourceFile":"Models\\ClsGy_EquipFileBillSub_MaintainRule.cs"},{"SourceFile":"Models\\ClsSb_EquipRepairSignBillMain.cs"},{"SourceFile":"Models\\ClsSb_EquipRepairSignBillSub.cs"},{"SourceFile":"Models\\ClsSc_AssemblyBillMain.cs"},{"SourceFile":"Models\\ClsSc_AssemblyBillSub.cs"},{"SourceFile":"Models\\ClsSc_MESBeginWorkBillSub_RelationBill.cs"},{"SourceFile":"Models\\Gy_MouldFileSub_SubMater.cs"},{"SourceFile":"Models\\SBGL\\SBBB\\Sb_EquipMentCollectionTechParam_Temp.cs"},{"SourceFile":"Models\\SBGL\\SBBB\\Sb_EquipMentCollectionTechParam.cs"},{"SourceFile":"Models\\åºç¡èµæ\\Gy_ColorClass.cs"},{"SourceFile":"Models\\Employee.cs"},{"SourceFile":"Models\\Gy_UserCustomer.cs"},{"SourceFile":"Models\\Gy_UserMater.cs"},{"SourceFile":"Models\\Gy_UserProcess.cs"},{"SourceFile":"Models\\Gy_UserUser.cs"},{"SourceFile":"Models\\JIT_Cg_PODemandPlanBillMain.cs"},{"SourceFile":"Models\\JIT_Cg_PODemandPlanBillSub.cs"},{"SourceFile":"Models\\Cg_PODemandPlanConfigBillSub.cs"},{"SourceFile":"Models\\ClsGy_StockCheckItemBill.cs"},{"SourceFile":"Models\\ClsQK_PackingBill.cs"},{"SourceFile":"Models\\ClsSb_EquipRepairSendWorkBillMain.cs"},{"SourceFile":"Models\\ClsSb_EquipRepairSendWorkBillSub.cs"},{"SourceFile":"Models\\ClsSb_MouldRepairWorkBillMain.cs"},{"SourceFile":"Models\\ClsSb_MouldRepairWorkBillSub.cs"},{"SourceFile":"Models\\ClsSc_PackUnionBillMain.cs"},{"SourceFile":"Models\\ClsSc_PackUnionBillSub.cs"},{"SourceFile":"Models\\ClsSc_ProcessPlanMain.cs"},{"SourceFile":"Models\\ClsSc_ProcessPlanSub.cs"},{"SourceFile":"Models\\ClsSc_ProcessReportMain.cs"},{"SourceFile":"Models\\ClsSc_ProcessReportSub.cs"},{"SourceFile":"Models\\ClsWW_PPBomBillMain.cs"},{"SourceFile":"Models\\ClsWW_PPBomBillSub.cs"},{"SourceFile":"Models\\Cls_InventoryAnalysisList.cs"},{"SourceFile":"Models\\GetWeekList.cs"},{"SourceFile":"Models\\Gy_WorkWarehouseBillMainSub.cs"},{"SourceFile":"Models\\HBarCodeList.cs"},{"SourceFile":"Models\\HSouceOrderList.cs"},{"SourceFile":"Models\\JIT_NeedMaterPlanConfigBillSub.cs"},{"SourceFile":"Models\\jsonScanline.cs"},{"SourceFile":"Models\\ScanLineCode.cs"},{"SourceFile":"Models\\Sc_WorkBillSortBillMain.cs"},{"SourceFile":"Models\\Sc_WorkBillSortBillSub.cs"},{"SourceFile":"Models\\Sc_WorkDemandPlanBillMain.cs"},{"SourceFile":"Models\\Sc_WorkDemandPlanBillSub.cs"},{"SourceFile":"Models\\SOPBill.cs"},{"SourceFile":"Models\\SOPBillSub.cs"},{"SourceFile":"Models\\TechnologyParameter.cs"},{"SourceFile":"Models\\TechnologyParameterUnit.cs"},{"SourceFile":"Models\\TechParamByProc.cs"},{"SourceFile":"Models\\WorkCenter.cs"},{"SourceFile":"Models\\Xt_CheckFlowMain.cs"},{"SourceFile":"Models\\Xt_CheckFlowSub.cs"},{"SourceFile":"Models\\Xt_CheckItem.cs"},{"SourceFile":"Models\\å
¶å®\\ReciveBill_FastModel.cs"},{"SourceFile":"Models\\卿å\\OptionListModel.cs"},{"SourceFile":"Models\\åºç¡èµæ\\ConkType.cs"},{"SourceFile":"Models\\åºç¡èµæ\\Gy_ClassTimePrj.cs"},{"SourceFile":"Models\\åºç¡èµæ\\Gy_Duty.cs"},{"SourceFile":"Models\\åºç¡èµæ\\Gy_TemporaryArea.cs"},{"SourceFile":"Models\\åºç¡èµæ\\Gy_StockPlace.cs"},{"SourceFile":"Models\\åºç¡èµæ\\WorkDay.cs"},{"SourceFile":"Models\\åºç¡èµæ\\PackType.cs"},{"SourceFile":"Models\\åºç¡èµæ\\WorkStation.cs"},{"SourceFile":"Models\\å·¥èµç®¡ç\\ClsGy_ClassTimePrj_Model.cs"},{"SourceFile":"Models\\å·¥èµç®¡ç\\ClsPay_GroupBalBillEmp.cs"},{"SourceFile":"Models\\å·¥èµç®¡ç\\ClsPay_GroupBalBillMain.cs"},{"SourceFile":"Models\\å·¥èµç®¡ç\\ClsPay_GroupBalBillSub.cs"},{"SourceFile":"DLL\\å·¥èµç®¡ç\\ClsPay_SingleBalBill.cs"},{"SourceFile":"DLL\\ClsSc_MouldProdBackBill.cs"},{"SourceFile":"DLL\\å·¥èµç®¡ç\\ClsPay_OtherBalBill.cs"},{"SourceFile":"DLL\\ClsSc_MouldProdInBill.cs"},{"SourceFile":"DLL\\ClsSc_MouldMoveStockStepInBill.cs"},{"SourceFile":"DLL\\ClsSc_MouldProdMoveBill.cs"},{"SourceFile":"DLL\\ClsSc_MouldProdOutBill.cs"},{"SourceFile":"DLL\\ClsSc_MouldRepairChangeBill.cs"},{"SourceFile":"DLL\\ClsSc_MouldRepairCheckBill.cs"},{"SourceFile":"DLL\\ClsSc_MouldRepairInBill.cs"},{"SourceFile":"DLL\\ClsSc_MouldRepairOutBill.cs"},{"SourceFile":"DLL\\ClsSc_MouldScrapInBill.cs"},{"SourceFile":"DLL\\ClsSc_MouldScrapOutBill.cs"},{"SourceFile":"DLL\\ClsSc_ProcessReport.cs"},{"SourceFile":"DLL\\ClsSc_ProcessSendWork.cs"},{"SourceFile":"DLL\\ClsWW_EntrustProcessReportBill.cs"},{"SourceFile":"DLL\\ClsWW_EntrustProcessSendOutBill.cs"},{"SourceFile":"DLL\\ClsWW_EntrustWorkOrderBill.cs"},{"SourceFile":"DLL\\ClsSb_EquipDotCheckRuleBill.cs"},{"SourceFile":"LogService.cs"},{"SourceFile":"Models\\ApiConfig.cs"},{"SourceFile":"Models\\ApiResult.cs"},{"SourceFile":"Models\\CheckItem.cs"},{"SourceFile":"Models\\ClsGy_DotCheck.cs"},{"SourceFile":"Models\\ClsGy_Maintain.cs"},{"SourceFile":"Models\\ClsGy_Repair.cs"},{"SourceFile":"Models\\ClsGy_RepairCheck.cs"},{"SourceFile":"Models\\ClsKf_ICStockBillMain.cs"},{"SourceFile":"Models\\ClsKf_ICStockBillScheme.cs"},{"SourceFile":"Models\\ClsKf_ICStockBillSub.cs"},{"SourceFile":"Models\\ClsKf_MateOutBillMain.cs"},{"SourceFile":"Models\\ClsKf_MateOutBillScheme.cs"},{"SourceFile":"Models\\ClsKf_MateOutBillSub.cs"},{"SourceFile":"Models\\ClsOA_ErrMsgBackBillMain.cs"},{"SourceFile":"Models\\ClsOA_ErrMsgBackBillSub.cs"},{"SourceFile":"Models\\ClsOA_ErrMsgBackBillSub2.cs"},{"SourceFile":"Models\\ClsOA_InformBillMain.cs"},{"SourceFile":"Models\\ClsOA_InformBillSub.cs"},{"SourceFile":"Models\\å·¥èµç®¡ç\\ClsPay_OtherBalBillMain.cs"},{"SourceFile":"Models\\å·¥èµç®¡ç\\ClsPay_OtherBalBillSub.cs"},{"SourceFile":"Models\\å·¥èµç®¡ç\\ClsGy_GroupEmpListMain.cs"},{"SourceFile":"Models\\å·¥èµç®¡ç\\ClsPay_SingleBalBillMain.cs"},{"SourceFile":"Models\\å·¥èµç®¡ç\\ClsGy_GroupEmpListSub.cs"},{"SourceFile":"Models\\å·¥èµç®¡ç\\ClsPay_SingleBalBillSub.cs"},{"SourceFile":"Models\\ClsSb_EquipDotCheckRuleBillMain.cs"},{"SourceFile":"Models\\ClsSb_EquipDotCheckRuleBillSub.cs"},{"SourceFile":"Models\\ClsSb_EquipMaintainRuleBillMain.cs"},{"SourceFile":"Models\\ClsSb_EquipMaintainRuleBillSub.cs"},{"SourceFile":"Models\\ClsSb_EquipMaintainRuleBillSub_Item.cs"},{"SourceFile":"Models\\Pay_PeriodInfoSet.cs"},{"SourceFile":"Models\\Gy_OrderBackInfo.cs"},{"SourceFile":"Models\\Gy_OrderLevList.cs"},{"SourceFile":"Models\\ClsGy_EquipFileMain.cs"},{"SourceFile":"Models\\ClsGy_EquipFileType.cs"},{"SourceFile":"Models\\ClsGy_Material_Model.cs"},{"SourceFile":"Models\\ClsSb_EquipDotCheckBillMain.cs"},{"SourceFile":"Models\\ClsSb_EquipDotCheckBillSub.cs"},{"SourceFile":"Models\\ClsSb_EquipMaintainBillMain.cs"},{"SourceFile":"Models\\ClsSb_EquipMaintainBillSub.cs"},{"SourceFile":"Models\\ClsSb_EquipRepairWorkBillMain.cs"},{"SourceFile":"Models\\ClsSc_MouldProdBillMain.cs"},{"SourceFile":"Models\\ClsSc_MouldProdBillSub.cs"},{"SourceFile":"Models\\ClsSc_MouldRepairChangeBillMain.cs"},{"SourceFile":"Models\\ClsSc_MouldRepairChangeBillSub.cs"},{"SourceFile":"Models\\ClsSc_MouldRepairInBillMain.cs"},{"SourceFile":"Models\\ClsSc_MouldRepairInBillSub.cs"},{"SourceFile":"Models\\ClsSc_MouldRepairOutBillMain.cs"},{"SourceFile":"Models\\ClsSc_MouldRepairOutBillSub.cs"},{"SourceFile":"Models\\ClsGy_ProcPrice.cs"},{"SourceFile":"Models\\Gy_WorkType.cs"},{"SourceFile":"Models\\Gy_WorkPayType.cs"},{"SourceFile":"Models\\QC_POStockInCheckBillSub.cs"},{"SourceFile":"Models\\QC_POStockInCheckBill.cs"},{"SourceFile":"Models\\UserPower.cs"},{"SourceFile":"Models\\Xt_DataDictionary_Proc.cs"},{"SourceFile":"Models\\Xt_DataDictionary_View.cs"},{"SourceFile":"Models\\Xt_DataDictionary_Table.cs"},{"SourceFile":"Models\\Gy_User.cs"},{"SourceFile":"Models\\Gy_UserSupper.cs"},{"SourceFile":"Models\\Menu.cs"},{"SourceFile":"Models\\ModelConvertHelper.cs"},{"SourceFile":"Models\\Pay_OtherBalBill.cs"},{"SourceFile":"Models\\Pay_GroupBalBill.cs"},{"SourceFile":"Models\\Pay_GroupBalBillSub.cs"},{"SourceFile":"Models\\Pay_WorkTimesBillSub.cs"},{"SourceFile":"Models\\Pay_WorkTimesBill.cs"},{"SourceFile":"Models\\Pay_SingleBalBill.cs"},{"SourceFile":"Models\\Pay_OtherBalBillSub.cs"},{"SourceFile":"Models\\Pay_SingleBalBillSub.cs"},{"SourceFile":"Models\\ToHierarchy.cs"},{"SourceFile":"Models\\Xt_ORGANIZATIONS.cs"},{"SourceFile":"Models\\ClsSb_EquipRepairWorkBillSub.cs"},{"SourceFile":"Models\\ClsSc_ICMOBillWorkQtyStatus_Tmp.cs"},{"SourceFile":"Models\\ClsSc_ICMOReportBillMain.cs"},{"SourceFile":"Models\\ClsSc_ICMOReportBillSub.cs"},{"SourceFile":"Models\\ClsSc_MESBeginWorkBillMain.cs"},{"SourceFile":"Models\\ClsSc_MESBeginWorkBillSub.cs"},{"SourceFile":"Models\\ClsSc_MESEndWorkBillMain.cs"},{"SourceFile":"Models\\ClsSc_MESEndWorkBillSub.cs"},{"SourceFile":"Models\\ClsSc_MESStopWorkBillMain.cs"},{"SourceFile":"Models\\ClsSc_MESStopWorkBillSub.cs"},{"SourceFile":"Models\\ClsSc_MouldScrapOutBillMain.cs"},{"SourceFile":"Models\\ClsSc_MouldDotCheckBillMain.cs"},{"SourceFile":"Models\\ClsSc_MouldDotCheckBillSub.cs"},{"SourceFile":"Models\\ClsSc_MouldMaintainBillMain.cs"},{"SourceFile":"Models\\ClsSc_MouldMaintainBillSub.cs"},{"SourceFile":"Models\\ClsSc_MouldStockBillMain.cs"},{"SourceFile":"Models\\ClsSc_MouldStockBillSub.cs"},{"SourceFile":"Models\\EquipMent.cs"},{"SourceFile":"Models\\Gy_Mould.cs"},{"SourceFile":"Models\\Gy_MouldSub.cs"},{"SourceFile":"Models\\Sc_MouldStockBillMain.cs"},{"SourceFile":"Models\\Sc_ICMOBillQualityStatus_Tmp.cs"},{"SourceFile":"Models\\Sc_MouldStockBillSub.cs"},{"SourceFile":"Models\\Xt_AccountPeriod.cs"},{"SourceFile":"Models\\xtgnb.cs"},{"SourceFile":"Models\\SystemParameter.cs"},{"SourceFile":"Models\\ClsSc_ProcessSendWorkMain.cs"},{"SourceFile":"Models\\ClsWW_EntrustProcessReportBillMain.cs"},{"SourceFile":"Models\\ClsWW_EntrustProcessReportBillSub.cs"},{"SourceFile":"Models\\ClsWW_EntrustProcessSendOutBillMain.cs"},{"SourceFile":"Models\\ClsWW_EntrustProcessSendOutBillSub.cs"},{"SourceFile":"Models\\ClsWW_EntrustWorkOrderBillMain.cs"},{"SourceFile":"Models\\ClsWW_EntrustWorkOrderBillSub.cs"},{"SourceFile":"Models\\Customer.cs"},{"SourceFile":"Models\\BillType.cs"},{"SourceFile":"Models\\QC_OutCompCheckBillMain.cs"},{"SourceFile":"Models\\QC_OutCompCheckBillSub.cs"},{"SourceFile":"Models\\Supplier.cs"},{"SourceFile":"Models\\DocumentsView.cs"},{"SourceFile":"Models\\Gy_Group.cs"},{"SourceFile":"Models\\Gy_WorkCenter.cs"},{"SourceFile":"Models\\MaintenanceAcceptItem.cs"},{"SourceFile":"Models\\MaintenanceMode.cs"},{"SourceFile":"Models\\QC_LastPieceCheckBillSub.cs"},{"SourceFile":"Models\\QC_LastPieceCheckBillMain.cs"},{"SourceFile":"Models\\QC_ProcessCheckBillSub.cs"},{"SourceFile":"Models\\QC_ProcessCheckBillMain.cs"},{"SourceFile":"Models\\Gy_RoutingBillSub.cs"},{"SourceFile":"Models\\LookingForBill.cs"},{"SourceFile":"Models\\M_Department.cs"},{"SourceFile":"Models\\M_ProcMul.cs"},{"SourceFile":"Models\\M_StationBillMail.cs"},{"SourceFile":"Models\\M_Process.cs"},{"SourceFile":"Models\\Sc_ProcessPlanViewModel.cs"},{"SourceFile":"Models\\Sc_ProcessReportViewModel.cs"},{"SourceFile":"Models\\Sc_ProcessSendWorkViewModel.cs"},{"SourceFile":"Models\\Department.cs"},{"SourceFile":"Models\\Gy_RoutingBill.cs"},{"SourceFile":"Models\\StationBill.cs"},{"SourceFile":"Models\\StationOutBillView.cs"},{"SourceFile":"Models\\WWReportViewModel.cs"},{"SourceFile":"Models\\WWSendOutBillViewModel.cs"},{"SourceFile":"Models\\WW_EntrustProcSendWorkViewModel.cs"},{"SourceFile":"Models\\WW_EntrustWorkOrderViewModel.cs"},{"SourceFile":"Models\\åºç¡èµæ\\Gy_ClassTimePrjSub.cs"},{"SourceFile":"Models\\åºç¡èµæ\\Gy_Employee.cs"},{"SourceFile":"Models\\åºç¡èµæ\\Gy_Process.cs"},{"SourceFile":"Models\\åºç¡èµæ\\Warehouse.cs"},{"SourceFile":"Models\\å·¥èµç®¡ç\\ClsPay_PurchaseWallclothBillMain.cs"},{"SourceFile":"Models\\å·¥èµç®¡ç\\ClsPay_WorkTimesBillMain.cs"},{"SourceFile":"Models\\å·¥èµç®¡ç\\ClsPay_PurchaseWallclothBillSub.cs"},{"SourceFile":"Models\\å·¥èµç®¡ç\\ClsPay_WorkTimesBillSub.cs"},{"SourceFile":"Models\\项ç®ç®¡ç\\项ç®é¶æ®µ\\ClsPM_CustomerProInfoBillSub.cs"},{"SourceFile":"Models\\项ç®ç®¡ç\\项ç®é¶æ®µ\\ClsPM_CustomerProInfoBillMain.cs"},{"SourceFile":"obj\\Debug\\.NETFramework,Version=v4.5.AssemblyAttributes.cs"},{"SourceFile":"Properties\\Resources.Designer.cs"},{"SourceFile":"Properties\\Settings.Designer.cs"},{"SourceFile":"Service\\LuBaoSevice.cs"},{"SourceFile":"Service\\ProcessDal.cs"},{"SourceFile":"Service\\YqnDal.cs"},{"SourceFile":"Service\\YqnQbService.cs"},{"SourceFile":"Utility\\Util.cs"},{"SourceFile":"Code\\Common.cs"},{"SourceFile":"Code\\Test2.cs"},{"SourceFile":"Code\\TestDAL.cs"},{"SourceFile":"Controllers\\EntrustOutBackController.cs"},{"SourceFile":"Controllers\\EntrustOutController.cs"},{"SourceFile":"Controllers\\Kf_EntrustInBillController.cs"},{"SourceFile":"Controllers\\OtherOutBillController.cs"},{"SourceFile":"Controllers\\OtherInStockController.cs"},{"SourceFile":"Controllers\\POStockInBackBillController.cs"},{"SourceFile":"Controllers\\POStockInBillController.cs"},{"SourceFile":"Controllers\\ProductInBackController.cs"},{"SourceFile":"Controllers\\ProductInController.cs"},{"SourceFile":"Controllers\\Sc_AssemblyBillController.cs"},{"SourceFile":"Controllers\\SellOutBackController.cs"},{"SourceFile":"Controllers\\SellOutController.cs"},{"SourceFile":"ListModels.cs"},{"SourceFile":"Models\\ClsCg_POInStockBill.cs"},{"SourceFile":"Models\\json.cs"},{"SourceFile":"Controllers\\WebAPIController.cs"},{"SourceFile":"Global.asax.cs"},{"SourceFile":"Models\\JsonResult.cs"},{"SourceFile":"Models\\Pensen.cs"},{"SourceFile":"Properties\\AssemblyInfo.cs"},{"SourceFile":"Web References\\WebS\\Reference.cs"},{"SourceFile":"WebServer.cs"},{"SourceFile":"obj\\Release\\.NETFramework,Version=v4.5.AssemblyAttributes.cs"}],"References":[{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\AlibabaCloud.EndpointUtil.0.1.1\\lib\\net45\\AlibabaCloud.EndpointUtil.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\AlibabaCloud.GatewayDingTalk.1.0.2\\lib\\net45\\AlibabaCloud.GatewayDingTalk.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\AlibabaCloud.GatewaySpi.0.0.3\\lib\\net45\\AlibabaCloud.GatewaySpi.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\AlibabaCloud.OpenApiClient.0.1.11\\lib\\net45\\AlibabaCloud.OpenApiClient.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\AlibabaCloud.OpenApiUtil.1.1.1\\lib\\net45\\AlibabaCloud.OpenApiUtil.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\AlibabaCloud.SDK.Dingtalk.2.1.37\\lib\\net45\\AlibabaCloud.SDK.Dingtalk.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\AlibabaCloud.TeaUtil.0.1.19\\lib\\net45\\AlibabaCloud.TeaUtil.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\AlibabaCloud.TeaXML.0.0.5\\lib\\net45\\AlibabaCloud.TeaXML.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\Aliyun.Credentials.1.4.0\\lib\\net45\\Aliyun.Credentials.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\Antlr.3.4.1.9004\\lib\\Antlr3.Runtime.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\BLL\\bin\\Release\\BLL.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":true,"ProjectPath":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\BLL\\bin\\Release\\BLL.dll"},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\Portable.BouncyCastle.1.8.9\\lib\\net40\\BouncyCastle.Crypto.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\DAL\\bin\\Release\\DAL.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":true,"ProjectPath":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\DAL\\bin\\Release\\DAL.dll"},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\Dapper.1.50.2\\lib\\net45\\Dapper.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\DBUtility\\bin\\Release\\DBUtility.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":true,"ProjectPath":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\DBUtility\\bin\\Release\\DBUtility.dll"},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\Grpc.Core.Api.2.45.0\\lib\\net45\\Grpc.Core.Api.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\Grpc.Core.2.45.0\\lib\\net45\\Grpc.Core.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\SharpZipLib.1.3.2\\lib\\net45\\ICSharpCode.SharpZipLib.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\WebAPI\\DLL\\Kingdee.BOS.WebApi.Client.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\Microsoft.Azure.AppService.ApiApps.Service.0.9.16\\lib\\net45\\Microsoft.Azure.AppService.ApiApps.Service.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\Microsoft.CSharp.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\Microsoft.Web.Infrastructure.1.0.0.0\\lib\\net40\\Microsoft.Web.Infrastructure.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\Model\\bin\\Release\\Model.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":true,"ProjectPath":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\Model\\bin\\Release\\Model.dll"},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\mscorlib.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\Newtonsoft.Json.13.0.3\\lib\\net45\\Newtonsoft.Json.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\NPOI.2.5.5\\lib\\net45\\NPOI.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\NPOI.2.5.5\\lib\\net45\\NPOI.OOXML.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\NPOI.2.5.5\\lib\\net45\\NPOI.OpenXml4Net.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\NPOI.2.5.5\\lib\\net45\\NPOI.OpenXmlFormats.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\Pub_Class\\bin\\Release\\Pub_Class.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":true,"ProjectPath":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\Pub_Class\\bin\\Release\\Pub_Class.dll"},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\Pub_Control\\bin\\Release\\Pub_Control.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":true,"ProjectPath":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\Pub_Control\\bin\\Release\\Pub_Control.dll"},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\RestSharp.104.0\\lib\\net4\\RestSharp.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\SQLHelper\\bin\\Release\\SQLHelper.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":true,"ProjectPath":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\SQLHelper\\bin\\Release\\SQLHelper.dll"},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\Swashbuckle.Core.5.0.0\\lib\\net40\\Swashbuckle.Core.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\SyntacticSugar\\bin\\Release\\SyntacticSugar.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":true,"ProjectPath":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\SyntacticSugar\\bin\\Release\\SyntacticSugar.dll"},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\System.Buffers.4.4.0\\lib\\netstandard1.1\\System.Buffers.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.ComponentModel.Composition.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.ComponentModel.DataAnnotations.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.Configuration.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.Core.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.Data.DataSetExtensions.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.Data.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.Drawing.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.EnterpriseServices.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\System.IdentityModel.Tokens.Jwt.4.0.0\\lib\\net45\\System.IdentityModel.Tokens.Jwt.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\System.Memory.4.5.3\\lib\\netstandard1.1\\System.Memory.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.Net.Http.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\Microsoft.Net.Http.2.2.29\\lib\\net45\\System.Net.Http.Extensions.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\Microsoft.AspNet.WebApi.Client.5.2.7\\lib\\net45\\System.Net.Http.Formatting.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\Microsoft.Net.Http.2.2.29\\lib\\net45\\System.Net.Http.Primitives.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.Net.Http.WebRequest.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\System.Runtime.CompilerServices.Unsafe.4.5.2\\lib\\netstandard1.0\\System.Runtime.CompilerServices.Unsafe.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.Runtime.Serialization.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.Security.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.ServiceModel.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.Web.ApplicationServices.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\Microsoft.AspNet.Cors.5.2.7\\lib\\net45\\System.Web.Cors.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.Web.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.Web.DynamicData.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.Web.Entity.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.Web.Extensions.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\Microsoft.AspNet.WebPages.3.2.3\\lib\\net45\\System.Web.Helpers.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\Microsoft.AspNet.WebApi.Cors.5.2.7\\lib\\net45\\System.Web.Http.Cors.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\Microsoft.AspNet.WebApi.Core.5.2.7\\lib\\net45\\System.Web.Http.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\WebAPI\\DLL\\System.Web.Http.WebHost.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\Microsoft.AspNet.Mvc.5.2.3\\lib\\net45\\System.Web.Mvc.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\Microsoft.AspNet.Web.Optimization.1.1.3\\lib\\net40\\System.Web.Optimization.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\Microsoft.AspNet.Razor.3.2.3\\lib\\net45\\System.Web.Razor.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.Web.Services.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\Microsoft.AspNet.WebPages.3.2.3\\lib\\net45\\System.Web.WebPages.Deployment.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\Microsoft.AspNet.WebPages.3.2.3\\lib\\net45\\System.Web.WebPages.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\Microsoft.AspNet.WebPages.3.2.3\\lib\\net45\\System.Web.WebPages.Razor.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.Windows.Forms.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.Xml.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.5\\System.Xml.Linq.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\Tea.1.1.3\\lib\\net45\\Tea.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\sdk_dingding\\TopSdk\\bin\\Release\\TopSdk.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":true,"ProjectPath":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\sdk_dingding\\TopSdk\\bin\\Release\\TopSdk.dll"},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\WebActivatorEx.2.0.6\\lib\\net40\\WebActivatorEx.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\packages\\WebGrease.1.5.2\\lib\\WebGrease.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""}],"Analyzers":[],"Outputs":[{"OutputItemFullPath":"D:\\vs\\项ç®ä»£ç \\MES-WEB-API\\MES-WEB-API\\WebAPI\\bin\\WebAPI.dll","OutputItemRelativePath":"WebAPI.dll"},{"OutputItemFullPath":"","OutputItemRelativePath":""}],"CopyToOutputEntries":[]} |
| | |
| | | using System.Collections.Generic; |
| | | using System.Data; |
| | | using System.Data.SqlClient; |
| | | using System.IO; |
| | | using System.Web; |
| | | using System.Web.Http; |
| | | using WebAPI.Controllers.SCGL.æ¥è®¡å管ç; |
| | | using WebAPI.Models; |
| | | namespace WebAPI.Controllers |
| | | { |
| | |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | |
| | | #region æ ¡éªé¡¹ç®å表 æä»¶ä¸ä¼ |
| | | [Route("Gy_InspectMethod/Gy_Process_Excel")] |
| | | [HttpPost] |
| | | public json Gy_InspectMethod_Excel() |
| | | { |
| | | json res = new json(); |
| | | try |
| | | { |
| | | //è·åæä»¶åç§° |
| | | var file = HttpContext.Current.Request.Files[0]; |
| | | //è·åæä»¶ç©çè·¯å¾ |
| | | string ExcelPath = HttpContext.Current.Server.MapPath("~/" + file.FileName); |
| | | //ä¿åæä»¶ |
| | | file.SaveAs(ExcelPath); |
| | | |
| | | NpoiHelper np = new NpoiHelper(); |
| | | DataSet ExcelDs = np.ReadExcel(ExcelPath, 1, 1, "0"); |
| | | |
| | | //å 餿件 |
| | | File.Delete(ExcelPath); |
| | | |
| | | //å建临æ¶è¡¨ |
| | | DataTable provisional = new DataTable("dt2"); |
| | | |
| | | //æ·»å åå |
| | | for (int i = 0; i < ExcelDs.Tables[0].Columns.Count; i++) |
| | | { |
| | | provisional.Columns.Add(ExcelDs.Tables[0].Rows[0][i].ToString()); |
| | | } |
| | | |
| | | //æ·»å æ°æ® |
| | | for (int i = 1; i < ExcelDs.Tables[0].Rows.Count; i++) |
| | | { |
| | | DataRow row = provisional.NewRow(); |
| | | for (int j = 0; j < ExcelDs.Tables[0].Columns.Count; j++) |
| | | { |
| | | row[j] = ExcelDs.Tables[0].Rows[i][j].ToString(); |
| | | } |
| | | provisional.Rows.Add(row); |
| | | } |
| | | |
| | | //夿å |
| | | string error = JudgmentGy_InspectMethodColumns(provisional); |
| | | if (error.Length > 0) |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = $"Excel模æ¿åå¨é误,{error}\r\n"; |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | |
| | | for (int i = 0; i <= provisional.Rows.Count - 1; i++) |
| | | { |
| | | string HNumber = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["æ£éªæ¹æ³ä»£ç "].ToString()); |
| | | string HName = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["æ£éªæ¹æ³åç§°"].ToString()); |
| | | string HHelpCode = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["å©è®°ç "]); |
| | | string HRemark = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["夿³¨"].ToString()); |
| | | //è·åçå®è¡æ° |
| | | int line = i + 1; |
| | | } |
| | | |
| | | res.code = "1"; |
| | | res.count = 1; |
| | | res.Message = error; |
| | | res.data = provisional; |
| | | return res; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = "Exceptionï¼" + e.ToString(); |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 夿æ£éªæ¹æ³å |
| | | /// </summary> |
| | | /// <param name="provisional"></param> |
| | | /// <returns></returns> |
| | | private static string JudgmentGy_InspectMethodColumns(DataTable provisional) |
| | | { |
| | | var error = ""; |
| | | |
| | | //æ¥è¯¢æ²¡æçå |
| | | if (!provisional.Columns.Contains("æ£éªæ¹æ³ä»£ç ")) |
| | | error += "æ²¡ææ¾å°ãæ£éªæ¹æ³ä»£ç ãçæ é¢,"; |
| | | |
| | | if (!provisional.Columns.Contains("æ£éªæ¹æ³åç§°")) |
| | | error += "æ²¡ææ¾å°ãæ£éªæ¹æ³åç§°ãçæ é¢,"; |
| | | return error; |
| | | } |
| | | #endregion |
| | | |
| | | #region æ£éªæ¹æ³å表 导å
¥(ä¿å) |
| | | [Route("Gy_InspectMethod/Gy_Process_btnSave")] |
| | | [HttpPost] |
| | | public object Gy_InspectMethod_btnSave([FromBody] JObject sMainSub) |
| | | { |
| | | var _value = sMainSub["sMainSub"].ToString(); |
| | | string msg1 = _value.ToString(); |
| | | string[] sArray = msg1.Split(new string[] { "&å" }, StringSplitOptions.RemoveEmptyEntries); |
| | | string msg2 = sArray[0].ToString(); |
| | | string user = sArray[1].ToString(); |
| | | string organ = sArray[2].ToString(); |
| | | try |
| | | { |
| | | if (!DBUtility.ClsPub.Security_Log("Gy_Group_Edit", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ ä¿åæéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | List<object> Excel = Newtonsoft.Json.JsonConvert.DeserializeObject<List<object>>(msg2); |
| | | List<Dictionary<string, string>> list = new List<Dictionary<string, string>>(); |
| | | |
| | | foreach (JObject item in Excel) |
| | | { |
| | | Dictionary<string, string> dic = new Dictionary<string, string>(); |
| | | foreach (var itm in item.Properties()) |
| | | { |
| | | dic.Add(itm.Name, itm.Value.ToString()); |
| | | } |
| | | list.Add(dic); |
| | | } |
| | | |
| | | oCN.BeginTran(); |
| | | int i = 1; |
| | | foreach (Dictionary<string, string> item in list) |
| | | { |
| | | string HNumber = item["æ£éªæ¹æ³ä»£ç "].ToString(); |
| | | string HName = item["æ£éªæ¹æ³åç§°"].ToString(); |
| | | string HHelpCode = item["å©è®°ç "]; |
| | | string HRemark = item["夿³¨"].ToString(); |
| | | |
| | | string sShortNumber; |
| | | sShortNumber = DBUtility.ClsPub.GetShortNumber(HNumber);//ç代ç |
| | | if (sShortNumber.Trim() == "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "ä¿å失败ï¼ç代ç 为空ï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | int HEndFlag = 1;//æ«çº§æ å¿ |
| | | int HLevel = DBUtility.ClsPub.GetLevel(HNumber); //ç级 |
| | | |
| | | |
| | | if (!DBUtility.ClsPub.AllowNumber(HNumber.Trim())) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "ä¿å失败ï¼ä»£ç ä¸ä¸è½åºç°è¿ç»â.âå¹¶ä¸é¦ä½æ«ä½ä¸è½ä¸ºâ.âï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | ds = oCN.RunProcReturn("select * from Gy_InspectMethod where HNumber='" + HNumber + "'", "Gy_InspectMethod"); |
| | | |
| | | if (ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | |
| | | string sql = "insert into Gy_InspectMethod (HName,HNumber,HShortNumber,HLevel,HHelpCode,HParentID,HStopflag,HEndFlag,HRemark,HUseFlag, HUSEORGID, HCREATEORGID, HMakeTime,HMakeEmp)" + |
| | | $"values('{HName}', '{HNumber}', '{sShortNumber}',{HLevel},'',0,'0','0','{HRemark}', 'æªä½¿ç¨', '{organ}', '{organ}', '{System.DateTime.Now.ToString("G")}', '{user}')"; |
| | | oCN.RunProc(sql); |
| | | } |
| | | else |
| | | { |
| | | oCN.RunProc("update Gy_InspectMethod set HName='" + HName + "', HHelpCode= '" + HHelpCode + "', HModifyEmp = '" + user + "', HModifyTime = '" + System.DateTime.Now.ToString("G") + "' where HNumber= '" + HNumber + "'"); |
| | | } |
| | | |
| | | i++; |
| | | } |
| | | |
| | | oCN.Commit(); |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "导å
¥æå!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | LogService.Write(e); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | #endregion |
| | | |
| | | #region è´¨éæ å æ¥è¯¢,å®¡æ ¸ï¼åå®¡æ ¸ï¼ç¦ç¨ï¼åç¦ç¨ |
| | |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | |
| | | |
| | | #endregion |
| | | |
| | | #region ä¸è¯ç±»åå®¡æ ¸ãåå®¡æ ¸ |
| | |
| | | } |
| | | |
| | | string sql1 = "select * from h_v_Gy_CusType where 1 = 1"; |
| | | string sql = sql1 + sWhere + " order by 客æ·å类代ç "; |
| | | string sql = sql1 + sWhere + " order by HNumber "; |
| | | ds = oCN.RunProcReturn(sql, "h_v_Gy_CusType"); |
| | | |
| | | //æ·»å åå |
| | |
| | | using DBUtility; |
| | | using Newtonsoft.Json; |
| | | using Newtonsoft.Json.Linq; |
| | | using SyntacticSugar.constant; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Data; |
| | | using System.IO; |
| | | using System.Linq; |
| | | using System.Net; |
| | | using System.Net.Http; |
| | | using System.Web; |
| | | using System.Web.Http; |
| | | using WebAPI.Controllers.SCGL.æ¥è®¡å管ç; |
| | | using WebAPI.Models; |
| | | |
| | | namespace WebAPI.Controllers.BaseSet |
| | |
| | | } |
| | | #endregion |
| | | |
| | | #region æ ¡éªé¡¹ç®å表 æä»¶ä¸ä¼ |
| | | [Route("Gy_CheckItem/Gy_Process_Excel")] |
| | | [HttpPost] |
| | | public json Gy_Process_Excel() |
| | | { |
| | | json res = new json(); |
| | | try |
| | | { |
| | | //è·åæä»¶åç§° |
| | | var file = HttpContext.Current.Request.Files[0]; |
| | | //è·åæä»¶ç©çè·¯å¾ |
| | | string ExcelPath = HttpContext.Current.Server.MapPath("~/" + file.FileName); |
| | | //ä¿åæä»¶ |
| | | file.SaveAs(ExcelPath); |
| | | |
| | | NpoiHelper np = new NpoiHelper(); |
| | | DataSet ExcelDs = np.ReadExcel(ExcelPath, 1, 1, "0"); |
| | | |
| | | //å 餿件 |
| | | File.Delete(ExcelPath); |
| | | |
| | | //å建临æ¶è¡¨ |
| | | DataTable provisional = new DataTable("dt2"); |
| | | |
| | | //æ·»å åå |
| | | for (int i = 0; i < ExcelDs.Tables[0].Columns.Count; i++) |
| | | { |
| | | provisional.Columns.Add(ExcelDs.Tables[0].Rows[0][i].ToString()); |
| | | } |
| | | |
| | | //模æ¿ç¼ºå°å ä½éè¦ä»æ°æ®åºä¸æ¥è¯¢åºæ¥æ¾ç¤ºå¨é¡µé¢çåæ®µ |
| | | provisional.Columns.Add("HOrgID", typeof(Int32));//ç»ç»ID |
| | | provisional.Columns.Add("HDeptID", typeof(Int32));//é¨é¨ID |
| | | |
| | | //æ·»å æ°æ® |
| | | for (int i = 1; i < ExcelDs.Tables[0].Rows.Count; i++) |
| | | { |
| | | DataRow row = provisional.NewRow(); |
| | | for (int j = 0; j < ExcelDs.Tables[0].Columns.Count; j++) |
| | | { |
| | | row[j] = ExcelDs.Tables[0].Rows[i][j].ToString(); |
| | | } |
| | | provisional.Rows.Add(row); |
| | | } |
| | | |
| | | //夿å |
| | | string error = JudgmentColumns(provisional); |
| | | if (error.Length > 0) |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = $"Excel模æ¿åå¨é误,{error}\r\n"; |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | |
| | | for (int i = 0; i <= provisional.Rows.Count - 1; i++) |
| | | { |
| | | string HNumber = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["代ç "].ToString()); |
| | | string HUSEORGID = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["ç»ç»ä»£ç "].ToString()); |
| | | string HQCCheckClassID = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["æ£éªé¡¹ç®ç±»å«ä»£ç "].ToString()); |
| | | string HQCCheckClassName = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["æ£éªé¡¹ç®ç±»å«åç§°"].ToString()); |
| | | string HName = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["åç§°"].ToString()); |
| | | string HORGName = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["ç»ç»åç§°"].ToString()); |
| | | string HHelpCode = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["å©è®°ç "]); |
| | | string HRemark = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["夿³¨"].ToString()); |
| | | |
| | | //è·åçå®è¡æ° |
| | | int line = i + 1; |
| | | |
| | | if (HUSEORGID != "") |
| | | { |
| | | //æ¥è¯¢ç»ç» |
| | | ds = oCN.RunProcReturn("select * from Xt_ORGANIZATIONS where HNumber='" + HUSEORGID + "' and Hname='" + HORGName + "'", "Xt_ORGANIZATIONS"); |
| | | |
| | | if (ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = "第" + line + "è¡,ç»ç»ä¸åå¨ï¼"; |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | else |
| | | { |
| | | provisional.Rows[i]["HOrgID"] = ds.Tables[0].Rows[0]["HItemID"].ToString(); |
| | | } |
| | | string HORGid = ds.Tables[0].Rows[0]["HItemID"].ToString(); |
| | | |
| | | //æ¥è¯¢æ£éªé¡¹ç®æ¯å¦åå¨ |
| | | DataSet checkClass = oCN.RunProcReturn("select * from Gy_QCCheckClass where HNumber = '" + HQCCheckClassID + "' and HName = '" + HQCCheckClassName + "'", "Gy_QCCheckClass"); |
| | | if (checkClass.Tables[0].Rows.Count == 0) |
| | | { |
| | | res.code = CodeConstant.FAIL; |
| | | res.count = CountConstant.FAIL; |
| | | res.Message = "第" + line + "è¡,æ£éªé¡¹ç®ä¸åå¨ï¼"; |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | res.code = CodeConstant.FAIL; |
| | | res.count = CountConstant.FAIL; |
| | | res.Message = "第" + line + "è¡,ç»ç»ä»£ç 为空"; |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | } |
| | | |
| | | res.code = "1"; |
| | | res.count = 1; |
| | | res.Message = error; |
| | | res.data = provisional; |
| | | return res; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = "Exceptionï¼" + e.ToString(); |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 夿å |
| | | /// </summary> |
| | | /// <param name="provisional"></param> |
| | | /// <returns></returns> |
| | | private static string JudgmentColumns(DataTable provisional) |
| | | { |
| | | var error = ""; |
| | | |
| | | //æ¥è¯¢æ²¡æçå |
| | | if (!provisional.Columns.Contains("ç»ç»ä»£ç ")) |
| | | error += "æ²¡ææ¾å°ãç»ç»ä»£ç ãçæ é¢,"; |
| | | |
| | | if(!provisional.Columns.Contains("æ£éªé¡¹ç®ç±»å«åç§°")) |
| | | error += "æ²¡ææ¾å°ãæ£éªé¡¹ç®ç±»å«åç§°ãçæ é¢,"; |
| | | return error; |
| | | } |
| | | #endregion |
| | | |
| | | #region æ ¡éªé¡¹ç®å表 导å
¥(ä¿å) |
| | | [Route("Gy_CheckItem/Gy_Process_btnSave")] |
| | | [HttpPost] |
| | | public object Gy_Group_btnSave([FromBody] JObject sMainSub) |
| | | { |
| | | var _value = sMainSub["sMainSub"].ToString(); |
| | | string msg1 = _value.ToString(); |
| | | string[] sArray = msg1.Split(new string[] { "&å" }, StringSplitOptions.RemoveEmptyEntries); |
| | | string msg2 = sArray[0].ToString(); |
| | | string user = sArray[1].ToString(); |
| | | try |
| | | { |
| | | if (!DBUtility.ClsPub.Security_Log("Gy_Group_Edit", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ ä¿åæéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | List<object> Excel = Newtonsoft.Json.JsonConvert.DeserializeObject<List<object>>(msg2); |
| | | List<Dictionary<string, string>> list = new List<Dictionary<string, string>>(); |
| | | |
| | | foreach (JObject item in Excel) |
| | | { |
| | | Dictionary<string, string> dic = new Dictionary<string, string>(); |
| | | foreach (var itm in item.Properties()) |
| | | { |
| | | dic.Add(itm.Name, itm.Value.ToString()); |
| | | } |
| | | list.Add(dic); |
| | | } |
| | | |
| | | oCN.BeginTran(); |
| | | int i = 1; |
| | | foreach (Dictionary<string, string> item in list) |
| | | { |
| | | string HNumber = item["代ç "].ToString(); |
| | | string HUSEORGID = item["ç»ç»ä»£ç "].ToString(); |
| | | string HName = item["åç§°"].ToString(); |
| | | string HORGName = item["ç»ç»åç§°"].ToString(); |
| | | string HHelpCode = item["å©è®°ç "]; |
| | | string HQCCheckClassID = item["æ£éªé¡¹ç®ç±»å«ä»£ç "]; |
| | | string HRemark = item["夿³¨"].ToString(); |
| | | |
| | | string sShortNumber; |
| | | sShortNumber = DBUtility.ClsPub.GetShortNumber(HNumber);//ç代ç |
| | | if (sShortNumber.Trim() == "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "ä¿å失败ï¼ç代ç 为空ï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | int HEndFlag = 1;//æ«çº§æ å¿ |
| | | int HLevel = DBUtility.ClsPub.GetLevel(HNumber); //ç级 |
| | | |
| | | |
| | | if (!DBUtility.ClsPub.AllowNumber(HNumber.Trim())) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "ä¿å失败ï¼ä»£ç ä¸ä¸è½åºç°è¿ç»â.âå¹¶ä¸é¦ä½æ«ä½ä¸è½ä¸ºâ.âï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | ds = oCN.RunProcReturn("select * from Gy_QCCheckItem where HNumber='" + HNumber + "'", "Gy_QCCheckItem"); |
| | | |
| | | if (ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | |
| | | string sql = "insert into Gy_QCCheckItem (HName,HNumber,HUSEORGID,HCREATEORGID,HShortNumber,HQCCheckClassID,HLevel,HHelpCode,HParentID,HStopflag,HUseFlag,HRemark, HMakeTime,HMakeEmp)" + |
| | | $"values('{HName}', '{HNumber}', {HUSEORGID}, {HUSEORGID}, '{sShortNumber}','{HQCCheckClassID}',{HLevel},'',0,0,'æªä½¿ç¨','{HRemark}', '{System.DateTime.Now.ToString("G")}', '{user}')"; |
| | | oCN.RunProc(sql); |
| | | } |
| | | else |
| | | { |
| | | oCN.RunProc("update Gy_QCCheckItem set HName='" + HName + "', HHelpCode='" + HHelpCode + "', HQCCheckClassID = '" + HQCCheckClassID + "', HModifyEmp = '" + user + "', HModifyTime = '" + System.DateTime.Now.ToString("G") + "' where HNumber='" + HNumber + "'"); |
| | | } |
| | | |
| | | i++; |
| | | } |
| | | |
| | | oCN.Commit(); |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "导å
¥æå!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | LogService.Write(e); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | } |
| | | } |
| | |
| | | } |
| | | string HNumber = ds.Tables[0].Rows[0]["客æ·ä»£ç "].ToString(); |
| | | // ä½¿ç¨æ£åè¡¨è¾¾å¼æ¾å°æ°åé¨å (?<=\D)æ¯ä¸ä¸ªé¶å®½æè¨ï¼è¡¨ç¤ºåé¢çåç¬¦ä¸æ¯æ°å (\d+)$表示åé¢è·çä¸è¿ä¸²å符串ç¥éæ«å°¾ |
| | | Match match = Regex.Match(HNumber, @"(?<=\D)(\d+)$"); |
| | | Match match = Regex.Match(HNumber, @"(\d+)$"); |
| | | if (match.Success) |
| | | { |
| | | string prefix = HNumber.Substring(0, HNumber.Length - match.Length); // æååç¼ |
| | |
| | | using Newtonsoft.Json; |
| | | using Newtonsoft.Json.Linq; |
| | | using Pub_Class; |
| | | using SyntacticSugar.constant; |
| | | using System; |
| | | using System.Collections; |
| | | using System.Collections.Generic; |
| | | using System.Data; |
| | | using System.Data.SqlClient; |
| | | using System.IO; |
| | | using System.Threading.Tasks; |
| | | using System.Web; |
| | | using System.Web.Http; |
| | | using WebAPI.Controllers.SCGL.æ¥è®¡å管ç; |
| | | using WebAPI.Models; |
| | | namespace WebAPI.Controllers |
| | | { |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | #region ç产çç»å®¡æ ¸ãåå®¡æ ¸ |
| | | /// <summary> |
| | | /// |
| | |
| | | } |
| | | #endregion |
| | | |
| | | #region ç产çç» æä»¶ä¸ä¼ |
| | | [Route("Gy_Group/Gy_Process_Excel")] |
| | | [HttpPost] |
| | | public json Gy_Process_Excel() |
| | | { |
| | | json res = new json(); |
| | | try |
| | | { |
| | | //è·åæä»¶åç§° |
| | | var file = HttpContext.Current.Request.Files[0]; |
| | | //è·åæä»¶ç©çè·¯å¾ |
| | | string ExcelPath = HttpContext.Current.Server.MapPath("~/" + file.FileName); |
| | | //ä¿åæä»¶ |
| | | file.SaveAs(ExcelPath); |
| | | |
| | | NpoiHelper np = new NpoiHelper(); |
| | | DataSet ExcelDs = np.ReadExcel(ExcelPath, 1, 1, "0"); |
| | | |
| | | //å 餿件 |
| | | File.Delete(ExcelPath); |
| | | |
| | | //å建临æ¶è¡¨ |
| | | DataTable provisional = new DataTable("dt2"); |
| | | |
| | | //æ·»å åå |
| | | for (int i = 0; i < ExcelDs.Tables[0].Columns.Count; i++) |
| | | { |
| | | provisional.Columns.Add(ExcelDs.Tables[0].Rows[0][i].ToString()); |
| | | } |
| | | |
| | | //模æ¿ç¼ºå°å ä½éè¦ä»æ°æ®åºä¸æ¥è¯¢åºæ¥æ¾ç¤ºå¨é¡µé¢çåæ®µ |
| | | provisional.Columns.Add("HOrgID", typeof(Int32));//ç»ç»ID |
| | | provisional.Columns.Add("HDeptID", typeof(Int32));//é¨é¨ID |
| | | |
| | | //æ·»å æ°æ® |
| | | for (int i = 1; i < ExcelDs.Tables[0].Rows.Count; i++) |
| | | { |
| | | DataRow row = provisional.NewRow(); |
| | | for (int j = 0; j < ExcelDs.Tables[0].Columns.Count; j++) |
| | | { |
| | | row[j] = ExcelDs.Tables[0].Rows[i][j].ToString(); |
| | | } |
| | | provisional.Rows.Add(row); |
| | | } |
| | | |
| | | //夿å |
| | | string error = JudgmentColumns(provisional); |
| | | if (error.Length > 0) |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = $"Excel模æ¿åå¨é误,{error}\r\n"; |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | |
| | | for (int i = 0; i <= provisional.Rows.Count - 1; i++) |
| | | { |
| | | string HNumber = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["çç»ä»£ç "].ToString()); |
| | | string HUSEORGID = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["ç»ç»ä»£ç "].ToString()); |
| | | string HName = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["çç»"].ToString()); |
| | | string HORGName = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["ç»ç»åç§°"].ToString()); |
| | | string HDeptID = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["é¨é¨ä»£ç "].ToString()); |
| | | string HDeptNumber = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["æå±é¨é¨"].ToString()); |
| | | string HEmpQty = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["çç»æ»äººæ°"].ToString()); |
| | | string HHelpCode = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["å©è®°ç "]); |
| | | string HCompName = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["å³å¡åä½"]).ToString(); |
| | | string HProcID = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["å·¥åº"].ToString()); |
| | | string HProcName = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["å·¥åºåç§°"].ToString()); |
| | | string HBarCode = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["æ¡å½¢ç "].ToString()); |
| | | string HRemark = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["夿³¨"].ToString()); |
| | | |
| | | //è·åçå®è¡æ° |
| | | int line = i + 1; |
| | | |
| | | if (HUSEORGID != "") |
| | | { |
| | | //æ¥è¯¢ç»ç» |
| | | ds = oCN.RunProcReturn("select * from Xt_ORGANIZATIONS where HNumber='" + HUSEORGID + "' and Hname='" + HORGName + "'", "Xt_ORGANIZATIONS"); |
| | | |
| | | if (ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = "第" + line + "è¡,ç»ç»ä¸åå¨ï¼"; |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | else |
| | | { |
| | | provisional.Rows[i]["HOrgID"] = ds.Tables[0].Rows[0]["HItemID"].ToString(); |
| | | } |
| | | string HORGid = ds.Tables[0].Rows[0]["HItemID"].ToString(); |
| | | |
| | | if(String.IsNullOrEmpty(HProcID) || String.IsNullOrEmpty(HProcName)) |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = "第" + line + "è¡,å·¥åºåç§°ä¸è½ä¸ºç©ºï¼"; |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | |
| | | //é¨é¨æ¥è¯¢ |
| | | //æ¥è¯¢é¨é¨ |
| | | ds = oCN.RunProcReturn("select * from Gy_Department where HNumber='" + HDeptID + "' and HUSEORGID=" + HORGid + "", "Gy_Department"); |
| | | |
| | | if (ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = "第" + line + "è¡,该" + HORGName + "ç»ç»,é¨é¨:" + HDeptNumber + ",ä¸åå¨ï¼"; |
| | | res.data = null; |
| | | } |
| | | else |
| | | { |
| | | provisional.Rows[i]["HDeptID"] = ds.Tables[0].Rows[0]["HItemID"].ToString(); |
| | | } |
| | | |
| | | //å·¥åºæ¥è¯¢ |
| | | //æ¥è¯¢å·¥åºæ¯å¦åå¨ |
| | | ds = oCN.RunProcReturn("select * from Gy_Process where HNumber ='" + HProcID + "' and HUSEORGID=" + HORGid + "", "Gy_Process"); |
| | | |
| | | if (ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = "第" + line + "è¡,该" + HORGName + "ç»ç»,å·¥åº:" + HProcName + ",ä¸åå¨ï¼"; |
| | | res.data = null; |
| | | } |
| | | else |
| | | { |
| | | provisional.Rows[i]["HProcID"] = ds.Tables[0].Rows[0]["HItemID"].ToString(); |
| | | } |
| | | |
| | | } |
| | | else |
| | | { |
| | | res.code = CodeConstant.FAIL; |
| | | res.count = CountConstant.FAIL; |
| | | res.Message = "第" + line + "è¡,ç»ç»ä»£ç 为空"; |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | } |
| | | |
| | | res.code = "1"; |
| | | res.count = 1; |
| | | res.Message = error; |
| | | res.data = provisional; |
| | | return res; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = "Exceptionï¼" + e.ToString(); |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 夿å |
| | | /// </summary> |
| | | /// <param name="provisional"></param> |
| | | /// <returns></returns> |
| | | private static string JudgmentColumns(DataTable provisional) |
| | | { |
| | | var error = ""; |
| | | |
| | | //æ¥è¯¢å·¥èºè·¯çº¿æ²¡æçå |
| | | if (!provisional.Columns.Contains("ç»ç»ä»£ç ")) |
| | | error += "æ²¡ææ¾å°ãç»ç»ä»£ç ãçæ é¢,"; |
| | | |
| | | if (!provisional.Columns.Contains("çç»ä»£ç ")) |
| | | error += "æ²¡ææ¾å°ãçç»ä»£ç ãçæ é¢,"; |
| | | |
| | | if (!provisional.Columns.Contains("çç»")) |
| | | error += "æ²¡ææ¾å°ãçç»ãçæ é¢,"; |
| | | |
| | | if (!provisional.Columns.Contains("é¨é¨ä»£ç ")) |
| | | error += "æ²¡ææ¾å°ãé¨é¨ä»£ç ãçæ é¢,"; |
| | | |
| | | if (!provisional.Columns.Contains("æå±é¨é¨")) |
| | | error += "æ²¡ææ¾å°ãæå±é¨é¨ãçæ é¢,"; |
| | | |
| | | if (!provisional.Columns.Contains("çç»æ»äººæ°")) |
| | | error += "æ²¡ææ¾å°ãçç»æ»äººæ°ãçæ é¢,"; |
| | | |
| | | if (!provisional.Columns.Contains("å·¥åº")) |
| | | error += "æ²¡ææ¾å°ãå·¥åºãçæ é¢,"; |
| | | |
| | | if (!provisional.Columns.Contains("å·¥åº")) |
| | | error += "æ²¡ææ¾å°ãå·¥åºãçæ é¢,"; |
| | | |
| | | if (!provisional.Columns.Contains("å³å¡åä½")) |
| | | error += "æ²¡ææ¾å°ãå³å¡åä½ãçæ é¢,"; |
| | | return error; |
| | | } |
| | | #endregion |
| | | |
| | | #region å·¥åºé¡¹ç® 导å
¥(ä¿å) |
| | | [Route("Gy_Group/Gy_Process_btnSave")] |
| | | [HttpPost] |
| | | public object Gy_Group_btnSave([FromBody] JObject sMainSub) |
| | | { |
| | | var _value = sMainSub["sMainSub"].ToString(); |
| | | string msg1 = _value.ToString(); |
| | | string[] sArray = msg1.Split(new string[] { "&å" }, StringSplitOptions.RemoveEmptyEntries); |
| | | string msg2 = sArray[0].ToString(); |
| | | string user = sArray[1].ToString(); |
| | | try |
| | | { |
| | | if (!DBUtility.ClsPub.Security_Log("Gy_Group_Edit", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ ä¿åæéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | List<object> Excel = Newtonsoft.Json.JsonConvert.DeserializeObject<List<object>>(msg2); |
| | | List<Dictionary<string, string>> list = new List<Dictionary<string, string>>(); |
| | | |
| | | foreach (JObject item in Excel) |
| | | { |
| | | Dictionary<string, string> dic = new Dictionary<string, string>(); |
| | | foreach (var itm in item.Properties()) |
| | | { |
| | | dic.Add(itm.Name, itm.Value.ToString()); |
| | | } |
| | | list.Add(dic); |
| | | } |
| | | |
| | | oCN.BeginTran(); |
| | | int i = 1; |
| | | foreach (Dictionary<string, string> item in list) |
| | | { |
| | | string HNumber = item["çç»ä»£ç "].ToString(); |
| | | string HUSEORGID = item["ç»ç»ä»£ç "].ToString(); |
| | | string HName = item["çç»"].ToString(); |
| | | string HORGName = item["ç»ç»åç§°"].ToString(); |
| | | string HDeptID = item["é¨é¨ä»£ç "].ToString(); |
| | | string HDeptNumber = item["æå±é¨é¨"].ToString(); |
| | | string HEmpQty = item["çç»æ»äººæ°"].ToString(); |
| | | string HHelpCode = item["å©è®°ç "]; |
| | | string HCompName = item["å³å¡åä½"].ToString(); |
| | | string HProcID = item["å·¥åº"].ToString(); |
| | | string HProcName = item["å·¥åºåç§°"].ToString(); |
| | | string HRemark = item["夿³¨"].ToString(); |
| | | string HBarCodeForBase = item["æ¡å½¢ç "].ToString(); |
| | | |
| | | string sShortNumber; |
| | | sShortNumber = DBUtility.ClsPub.GetShortNumber(HNumber);//ç代ç |
| | | if (sShortNumber.Trim() == "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "ä¿å失败ï¼ç代ç 为空ï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | int HEndFlag = 1;//æ«çº§æ å¿ |
| | | int HLevel = DBUtility.ClsPub.GetLevel(HNumber); //ç级 |
| | | |
| | | |
| | | if (!DBUtility.ClsPub.AllowNumber(HNumber.Trim())) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "ä¿å失败ï¼ä»£ç ä¸ä¸è½åºç°è¿ç»â.âå¹¶ä¸é¦ä½æ«ä½ä¸è½ä¸ºâ.âï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | ds = oCN.RunProcReturn("select * from Gy_Group where HNumber='" + HNumber + "'", "Gy_Group"); |
| | | |
| | | if (ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | |
| | | string sql = "insert into Gy_Group(HName,HNumber,HDeptID,HUSEORGID,HCREATEORGID,HEmpQty,HShortNumber,HBarCodeForBase,HCompName,HProcID,HLevel,HHelpCode,HParentID,HStopflag,HRemark)" + |
| | | $"values('{HName}', '{HNumber}',{HDeptID}, {HUSEORGID}, {HUSEORGID}, {HEmpQty}, '{sShortNumber}','{HBarCodeForBase}','{HCompName}',{HProcID},{HLevel},'',0,0,'{HRemark}')"; |
| | | oCN.RunProc(sql); |
| | | } |
| | | else |
| | | { |
| | | oCN.RunProc("update Gy_Group set HBarCodeForBase='" + HBarCodeForBase + "',HDeptID=" + HDeptID + ",HName='" + HName + "', HHelpCode='" + HHelpCode + "' where HNumber='" + HNumber + "'"); |
| | | } |
| | | |
| | | i++; |
| | | } |
| | | |
| | | oCN.Commit(); |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "导å
¥æå!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | LogService.Write(e); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | /// <summary> |
| | | /// ç»´ä¿®åè¡¨ä¿®æ¹æé®æ¹æ³ |
| | |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | string sql1 = string.Format(@"select * from h_v_Gy_MaterialList where ç»ç»åç§°='" + Organization + "'"); |
| | | string sql1 = string.Format(@"select top(500) * from h_v_Gy_MaterialList where ç»ç»åç§°='" + Organization + "'"); |
| | | if (sWhere == null || sWhere.Equals("")) |
| | | { |
| | | ds = oCN.RunProcReturn(sql1 + sWhere + " order by ç©æä»£ç desc", "h_v_Gy_MaterialList"); |
| | |
| | | } |
| | | } |
| | | |
| | | #region ç©æå页å表 |
| | | [Route("Gy_Material/page")] |
| | | [HttpGet] |
| | | public object page(string sWhere, string user, string Organization,int page,int size) |
| | | { |
| | | try |
| | | { |
| | | List<object> columnNameList = new List<object>(); |
| | | //ç¼è¾æé |
| | | if (!DBUtility.ClsPub.Security_Log_second("Gy_Material", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ æ¥çæéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | if (sWhere == null || sWhere.Equals("")) |
| | | { |
| | | ds = oCN.RunProcReturn("exec h_p_Gy_MaterialList " + page + "," + size + ",'" + Organization +"'," + "''", "h_p_Gy_MaterialList"); |
| | | } |
| | | else |
| | | { |
| | | ds = oCN.RunProcReturn("exec h_p_Gy_MaterialList " + page + "," + size + ",'" + Organization + "','" + sWhere + "'", "h_p_Gy_MaterialList"); |
| | | } |
| | | |
| | | //æ·»å åå |
| | | foreach (DataColumn col in ds.Tables[0].Columns) |
| | | { |
| | | Type dataType = col.DataType; |
| | | string ColmString = "{\"ColmCols\":\"" + col.ColumnName + "\",\"ColmType\":\"" + dataType.Name + "\"}"; |
| | | columnNameList.Add(JsonConvert.DeserializeObject(ColmString));//è·åå°DataColumnå对象çåå |
| | | } |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = int.Parse(ds.Tables[1].Rows[0]["count"].ToString()); |
| | | objJsonResult.Message = "Sucessï¼"; |
| | | objJsonResult.list = columnNameList; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region ç©ææ ¹æ®åç±»è·åæå¤§ç©æç¼ç |
| | | [Route("Gy_Material/getMaxNum")] |
| | | [HttpGet] |
| | |
| | | using DBUtility; |
| | | using Newtonsoft.Json; |
| | | using Newtonsoft.Json.Linq; |
| | | using SyntacticSugar.constant; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Data; |
| | | using System.IO; |
| | | using System.Linq; |
| | | using System.Net; |
| | | using System.Net.Http; |
| | | using System.Web; |
| | | using System.Web.Http; |
| | | using WebAPI.Controllers.SCGL.æ¥è®¡å管ç; |
| | | using WebAPI.Models; |
| | | |
| | | namespace WebAPI.Controllers.BaseSet |
| | |
| | | return objJsonResult; |
| | | } |
| | | #endregion |
| | | |
| | | #region æ ¡éªé¡¹ç®å表 æä»¶ä¸ä¼ |
| | | [Route("Gy_QCCheckClass/Gy_Process_Excel")] |
| | | [HttpPost] |
| | | public json Gy_Process_Excel() |
| | | { |
| | | json res = new json(); |
| | | try |
| | | { |
| | | //è·åæä»¶åç§° |
| | | var file = HttpContext.Current.Request.Files[0]; |
| | | //è·åæä»¶ç©çè·¯å¾ |
| | | string ExcelPath = HttpContext.Current.Server.MapPath("~/" + file.FileName); |
| | | //ä¿åæä»¶ |
| | | file.SaveAs(ExcelPath); |
| | | |
| | | NpoiHelper np = new NpoiHelper(); |
| | | DataSet ExcelDs = np.ReadExcel(ExcelPath, 1, 1, "0"); |
| | | |
| | | //å 餿件 |
| | | File.Delete(ExcelPath); |
| | | |
| | | //å建临æ¶è¡¨ |
| | | DataTable provisional = new DataTable("dt2"); |
| | | |
| | | //æ·»å åå |
| | | for (int i = 0; i < ExcelDs.Tables[0].Columns.Count; i++) |
| | | { |
| | | provisional.Columns.Add(ExcelDs.Tables[0].Rows[0][i].ToString()); |
| | | } |
| | | |
| | | //æ·»å æ°æ® |
| | | for (int i = 1; i < ExcelDs.Tables[0].Rows.Count; i++) |
| | | { |
| | | DataRow row = provisional.NewRow(); |
| | | for (int j = 0; j < ExcelDs.Tables[0].Columns.Count; j++) |
| | | { |
| | | row[j] = ExcelDs.Tables[0].Rows[i][j].ToString(); |
| | | } |
| | | provisional.Rows.Add(row); |
| | | } |
| | | |
| | | //夿å |
| | | string error = JudgmentColumns(provisional); |
| | | if (error.Length > 0) |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = $"Excel模æ¿åå¨é误,{error}\r\n"; |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | |
| | | for (int i = 0; i <= provisional.Rows.Count - 1; i++) |
| | | { |
| | | string HNumber = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["代ç "].ToString()); |
| | | string HName = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["åç§°"].ToString()); |
| | | string HHelpCode = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["å©è®°ç "]); |
| | | string HRemark = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["夿³¨"].ToString()); |
| | | //è·åçå®è¡æ° |
| | | int line = i + 1; |
| | | } |
| | | |
| | | res.code = "1"; |
| | | res.count = 1; |
| | | res.Message = error; |
| | | res.data = provisional; |
| | | return res; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = "Exceptionï¼" + e.ToString(); |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 夿å |
| | | /// </summary> |
| | | /// <param name="provisional"></param> |
| | | /// <returns></returns> |
| | | private static string JudgmentColumns(DataTable provisional) |
| | | { |
| | | var error = ""; |
| | | |
| | | //æ¥è¯¢æ²¡æçå |
| | | if (!provisional.Columns.Contains("代ç ")) |
| | | error += "æ²¡ææ¾å°ã代ç ãçæ é¢,"; |
| | | |
| | | if (!provisional.Columns.Contains("åç§°")) |
| | | error += "æ²¡ææ¾å°ãåç§°ãçæ é¢,"; |
| | | return error; |
| | | } |
| | | #endregion |
| | | |
| | | #region æ ¡éªé¡¹ç®å表 导å
¥(ä¿å) |
| | | [Route("Gy_QCCheckClass/Gy_Process_btnSave")] |
| | | [HttpPost] |
| | | public object Gy_Group_btnSave([FromBody] JObject sMainSub) |
| | | { |
| | | var _value = sMainSub["sMainSub"].ToString(); |
| | | string msg1 = _value.ToString(); |
| | | string[] sArray = msg1.Split(new string[] { "&å" }, StringSplitOptions.RemoveEmptyEntries); |
| | | string msg2 = sArray[0].ToString(); |
| | | string user = sArray[1].ToString(); |
| | | string organ = sArray[2].ToString(); |
| | | try |
| | | { |
| | | if (!DBUtility.ClsPub.Security_Log("Gy_Group_Edit", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ ä¿åæéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | List<object> Excel = Newtonsoft.Json.JsonConvert.DeserializeObject<List<object>>(msg2); |
| | | List<Dictionary<string, string>> list = new List<Dictionary<string, string>>(); |
| | | |
| | | foreach (JObject item in Excel) |
| | | { |
| | | Dictionary<string, string> dic = new Dictionary<string, string>(); |
| | | foreach (var itm in item.Properties()) |
| | | { |
| | | dic.Add(itm.Name, itm.Value.ToString()); |
| | | } |
| | | list.Add(dic); |
| | | } |
| | | |
| | | oCN.BeginTran(); |
| | | int i = 1; |
| | | foreach (Dictionary<string, string> item in list) |
| | | { |
| | | string HNumber = item["代ç "].ToString(); |
| | | string HName = item["åç§°"].ToString(); |
| | | string HHelpCode = item["å©è®°ç "]; |
| | | string HRemark = item["夿³¨"].ToString(); |
| | | |
| | | string sShortNumber; |
| | | sShortNumber = DBUtility.ClsPub.GetShortNumber(HNumber);//ç代ç |
| | | if (sShortNumber.Trim() == "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "ä¿å失败ï¼ç代ç 为空ï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | int HEndFlag = 1;//æ«çº§æ å¿ |
| | | int HLevel = DBUtility.ClsPub.GetLevel(HNumber); //ç级 |
| | | |
| | | |
| | | if (!DBUtility.ClsPub.AllowNumber(HNumber.Trim())) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "ä¿å失败ï¼ä»£ç ä¸ä¸è½åºç°è¿ç»â.âå¹¶ä¸é¦ä½æ«ä½ä¸è½ä¸ºâ.âï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | ds = oCN.RunProcReturn("select * from Gy_QCCheckClass where HNumber='" + HNumber + "'", "Gy_QCCheckClass"); |
| | | |
| | | if (ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | |
| | | string sql = "insert into Gy_QCCheckClass (HName,HNumber,HShortNumber,HLevel,HHelpCode,HParentID,HStopflag,HEndFlag,HRemark,HUseFlag, HUSEORGID, HCREATEORGID, HMakeTime,HMakeEmp)" + |
| | | $"values('{HName}', '{HNumber}', '{sShortNumber}',{HLevel},'',0,'0','0','{HRemark}', 'æªä½¿ç¨', '{organ}', '{organ}', '{System.DateTime.Now.ToString("G")}', '{user}')"; |
| | | oCN.RunProc(sql); |
| | | } |
| | | else |
| | | { |
| | | oCN.RunProc("update Gy_QCCheckClass set HName='" + HName + "', HHelpCode='" + HHelpCode + "', HModifyEmp = '" + user + "', HModifyTime = '" + System.DateTime.Now.ToString("G") + "'where HNumber='" + HNumber + "'"); |
| | | } |
| | | |
| | | i++; |
| | | } |
| | | |
| | | oCN.Commit(); |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "导å
¥æå!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | LogService.Write(e); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | } |
| | | } |
| | |
| | | using System; |
| | | using Newtonsoft.Json.Linq; |
| | | using SyntacticSugar.constant; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Data; |
| | | using System.IO; |
| | | using System.Linq; |
| | | using System.Web; |
| | | using System.Web.Http; |
| | | using WebAPI.Controllers.SCGL.æ¥è®¡å管ç; |
| | | using WebAPI.Models; |
| | | |
| | | namespace WebAPI.Controllers.BaseSet |
| | |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region å·¥èºè·¯çº¿å¤§ç±» æä»¶ä¸ä¼ |
| | | [Route("Gy_RoutingGroup/Gy_Process_Excel")] |
| | | [HttpPost] |
| | | public json Gy_RoutingGroup_Excel() |
| | | { |
| | | json res = new json(); |
| | | try |
| | | { |
| | | //è·åæä»¶åç§° |
| | | var file = HttpContext.Current.Request.Files[0]; |
| | | //è·åæä»¶ç©çè·¯å¾ |
| | | string ExcelPath = HttpContext.Current.Server.MapPath("~/" + file.FileName); |
| | | //ä¿åæä»¶ |
| | | file.SaveAs(ExcelPath); |
| | | |
| | | NpoiHelper np = new NpoiHelper(); |
| | | DataSet ExcelDs = np.ReadExcel(ExcelPath, 1, 1, "0"); |
| | | |
| | | //å 餿件 |
| | | File.Delete(ExcelPath); |
| | | |
| | | //å建临æ¶è¡¨ |
| | | DataTable provisional = new DataTable("dt2"); |
| | | |
| | | //æ·»å åå |
| | | for (int i = 0; i < ExcelDs.Tables[0].Columns.Count; i++) |
| | | { |
| | | provisional.Columns.Add(ExcelDs.Tables[0].Rows[0][i].ToString()); |
| | | } |
| | | |
| | | //模æ¿ç¼ºå°å ä½éè¦ä»æ°æ®åºä¸æ¥è¯¢åºæ¥æ¾ç¤ºå¨é¡µé¢çåæ®µ |
| | | provisional.Columns.Add("HOrgID", typeof(Int32));//ç»ç»ID |
| | | provisional.Columns.Add("HDeptID", typeof(Int32));//é¨é¨ID |
| | | |
| | | //æ·»å æ°æ® |
| | | for (int i = 1; i < ExcelDs.Tables[0].Rows.Count; i++) |
| | | { |
| | | DataRow row = provisional.NewRow(); |
| | | for (int j = 0; j < ExcelDs.Tables[0].Columns.Count; j++) |
| | | { |
| | | row[j] = ExcelDs.Tables[0].Rows[i][j].ToString(); |
| | | } |
| | | provisional.Rows.Add(row); |
| | | } |
| | | |
| | | for (int i = 0; i <= provisional.Rows.Count - 1; i++) |
| | | { |
| | | string HNumber = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["代ç "].ToString()); |
| | | string HName = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["åç§°"].ToString()); |
| | | string HHelpCode = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["å©è®°ç "]); |
| | | string HRemark = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["夿³¨"].ToString()); |
| | | |
| | | //è·åçå®è¡æ° |
| | | int line = i + 1; |
| | | } |
| | | |
| | | res.code = "1"; |
| | | res.count = 1; |
| | | res.data = provisional; |
| | | return res; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = "Exceptionï¼" + e.ToString(); |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region |
| | | #region å·¥èºè·¯çº¿ 导å
¥(ä¿å) |
| | | [Route("Gy_RoutingGroup/Gy_Process_btnSave")] |
| | | [HttpPost] |
| | | public object Gy_Group_btnSave([FromBody] JObject sMainSub) |
| | | { |
| | | var _value = sMainSub["sMainSub"].ToString(); |
| | | string msg1 = _value.ToString(); |
| | | string[] sArray = msg1.Split(new string[] { "&å" }, StringSplitOptions.RemoveEmptyEntries); |
| | | string msg2 = sArray[0].ToString(); |
| | | string user = sArray[1].ToString(); |
| | | try |
| | | { |
| | | if (!DBUtility.ClsPub.Security_Log("Gy_Group_Edit", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ ä¿åæéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | List<object> Excel = Newtonsoft.Json.JsonConvert.DeserializeObject<List<object>>(msg2); |
| | | List<Dictionary<string, string>> list = new List<Dictionary<string, string>>(); |
| | | |
| | | foreach (JObject item in Excel) |
| | | { |
| | | Dictionary<string, string> dic = new Dictionary<string, string>(); |
| | | foreach (var itm in item.Properties()) |
| | | { |
| | | dic.Add(itm.Name, itm.Value.ToString()); |
| | | } |
| | | list.Add(dic); |
| | | } |
| | | |
| | | oCN.BeginTran(); |
| | | int i = 1; |
| | | foreach (Dictionary<string, string> item in list) |
| | | { |
| | | string HNumber = item["代ç "].ToString(); |
| | | string HName = item["åç§°"].ToString(); |
| | | string HHelpCode = item["å©è®°ç "]; |
| | | string HRemark = item["夿³¨"].ToString(); |
| | | |
| | | string sShortNumber; |
| | | sShortNumber = DBUtility.ClsPub.GetShortNumber(HNumber);//ç代ç |
| | | if (sShortNumber.Trim() == "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "ä¿å失败ï¼ç代ç 为空ï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | int HEndFlag = 1;//æ«çº§æ å¿ |
| | | int HLevel = DBUtility.ClsPub.GetLevel(HNumber); //ç级 |
| | | |
| | | |
| | | if (!DBUtility.ClsPub.AllowNumber(HNumber.Trim())) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "ä¿å失败ï¼ä»£ç ä¸ä¸è½åºç°è¿ç»â.âå¹¶ä¸é¦ä½æ«ä½ä¸è½ä¸ºâ.âï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | ds = oCN.RunProcReturn("select * from Gy_RoutingGroup where HNumber='" + HNumber + "'", " Gy_RoutingGroup"); |
| | | |
| | | if (ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | |
| | | string sql = "insert into Gy_RoutingGroup(HName,HNumber,HShortNumber,HLevel,HHelpCode,HParentID,HStopflag,HEndFlag,HRemark)" + |
| | | $"values('{HName}', '{HNumber}', '{sShortNumber}',0,'',0,0,0,'{HRemark}')"; |
| | | oCN.RunProc(sql); |
| | | } |
| | | else |
| | | { |
| | | oCN.RunProc("update Gy_RoutingGroup set HName='" + HName + "', HHelpCode='" + HHelpCode + "' where HNumber='" + HNumber + "'"); |
| | | } |
| | | |
| | | i++; |
| | | } |
| | | |
| | | oCN.Commit(); |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "导å
¥æå!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | LogService.Write(e); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | #endregion |
| | | } |
| | | } |
| | |
| | | { |
| | | try |
| | | { |
| | | ds = oCN.RunProcReturn("select * from Xt_ModuleButtonSet where HModuleName='" + HModName + "' and HBillType='" + HBillType + "' and HUserName='" + HUserName + "'", "Xt_ModuleButtonSet"); |
| | | ds = oCN.RunProcReturn("select * from Xt_ModuleButtonSet where HModuleName='" + HModName + "' and HBillType='" + HBillType + "' and HUserName='" + HUserName + "' order by HOrder", "Xt_ModuleButtonSet"); |
| | | if (ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | ds = oCN.RunProcReturn("select * from Xt_ModuleButtonSet where HModuleName='" + HModName + "' and HBillType='" + HBillType + "' and HUserName='" + "admin" + "'", "Xt_ModuleButtonSet"); |
| | | ds = oCN.RunProcReturn("select * from Xt_ModuleButtonSet where HModuleName='" + HModName + "' and HBillType='" + HBillType + "' and HUserName='" + "admin" + "' order by HOrder", "Xt_ModuleButtonSet"); |
| | | |
| | | if (ds.Tables[0].Rows.Count != 0) |
| | | { |
| | |
| | | public string BtnID; |
| | | public string BtnName; |
| | | public bool IsHide; |
| | | public string HOtherName; |
| | | } |
| | | public class noEditList |
| | | { |
| | |
| | | public int HOrder; |
| | | public bool HHideFlag; |
| | | public bool HEditFlag; |
| | | public string HOtherName; |
| | | } |
| | | |
| | | [Route("Xt_ModuleButtonSet_WMES/AddModuleButtonSetWMES")] |
| | |
| | | string HButtonID = HButtonIDLists[j].ToString(); |
| | | string HButtonName = HButtonNameLists[j].ToString(); |
| | | int HOrder = HOrderLists[j]; |
| | | string HOtherName = button[i].HOtherName; |
| | | if (button[i].IsHide) |
| | | { |
| | | HHideFlag = 1; |
| | |
| | | HEditFlag = 0; |
| | | HHideFlag = 0; |
| | | } |
| | | string sql = "exec h_p_Xt_ModuleButtonSet '" + HBillType + "','" + HModuleName + "','" + HButtonID + "','" + HButtonName + "'," + HOrder + "," + HHideFlag + "," + HEditFlag + ",'" + HUserName + "'"; |
| | | string sql = "exec h_p_Xt_ModuleButtonSet '" + HBillType + "','" + HModuleName + "','" + HButtonID + "','" + HButtonName + "'," + HOrder + "," + HHideFlag + "," + HEditFlag + ",'" + HUserName + "','" + HOtherName + "'"; |
| | | oCN.RunProc(sql); |
| | | } |
| | | } |
| | |
| | | string HButtonID = noEditLists[i].HButtonID; |
| | | string HButtonName = noEditLists[i].HButtonName; |
| | | int HOrder = HOrderLists[j]; |
| | | string sql = "exec h_p_Xt_ModuleButtonSet '" + HBillType + "','" + HModuleName + "','" + HButtonID + "','" + HButtonName + "'," + HOrder + "," + HHideFlag + "," + HEditFlag + ",'" + HUserName + "'"; |
| | | string HOtherName = noEditLists[i].HOtherName; |
| | | string sql = "exec h_p_Xt_ModuleButtonSet '" + HBillType + "','" + HModuleName + "','" + HButtonID + "','" + HButtonName + "'," + HOrder + "," + HHideFlag + "," + HEditFlag + ",'" + HUserName + "','" + HOtherName + "'"; |
| | | oCN.RunProc(sql); |
| | | } |
| | | } |
| | |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | |
| | | #region åºç¡èµæ è·åæ°æ® |
| | | [Route("Gy_GetBaseData/Gy_GetBaseData")] |
| | | [HttpGet] |
| | | public object Gy_GetBaseData(string sql,string tableView, string user) |
| | | { |
| | | try |
| | | { |
| | | List<object> columnNameList = new List<object>(); |
| | | |
| | | |
| | | ds = oCN.RunProcReturn(sql, tableView); |
| | | |
| | | //æ·»å åå |
| | | foreach (DataColumn col in ds.Tables[0].Columns) |
| | | { |
| | | Type dataType = col.DataType; |
| | | string ColmString = "{\"ColmCols\":\"" + col.ColumnName + "\",\"ColmType\":\"" + dataType.Name + "\"}"; |
| | | columnNameList.Add(JsonConvert.DeserializeObject(ColmString));//è·åå°DataColumnå对象çåå |
| | | } |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "Sucessï¼"; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | objJsonResult.list = columnNameList; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | } |
| | | } |
New file |
| | |
| | | using Newtonsoft.Json; |
| | | using Newtonsoft.Json.Linq; |
| | | using Pub_Class; |
| | | using System; |
| | | using System.Collections; |
| | | using System.Collections.Generic; |
| | | using System.Data; |
| | | using System.Data.SqlClient; |
| | | using System.Web.Http; |
| | | using WebAPI.Models; |
| | | |
| | | namespace WebAPI.Controllers |
| | | { |
| | | //æ¶æ¬¾åController |
| | | public class Cj_CenterCheckBillController : ApiController |
| | | { |
| | | //è·åç³»ç»åæ° |
| | | Pub_Class.ClsXt_SystemParameter oSystemParameter = new Pub_Class.ClsXt_SystemParameter(); |
| | | public DBUtility.ClsPub.Enum_BillStatus BillStatus; |
| | | public DAL.ClsCj_CenterCheckBill BillOld = new DAL.ClsCj_CenterCheckBill(); |
| | | public DAL.ClsCj_CenterCheckBill BillNew0 = new DAL.ClsCj_CenterCheckBill(); |
| | | |
| | | private json objJsonResult = new json(); |
| | | SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); |
| | | DataSet ds; |
| | | |
| | | #region 䏿£åå表 æ¥è¯¢ |
| | | /// <summary> |
| | | /// è¿å项ç®é¶æ®µå表 |
| | | ///åæ°ï¼string sqlã |
| | | ///è¿åå¼ï¼objectã |
| | | /// </summary> |
| | | [Route("Cj_CenterCheckBill/list")] |
| | | [HttpGet] |
| | | public object getCj_CenterCheckBill(string sWhere, string user) |
| | | { |
| | | try |
| | | { |
| | | List<object> columnNameList = new List<object>(); |
| | | //æ¥çæé |
| | | if (!DBUtility.ClsPub.Security_Log("Cj_CenterCheckBill_Query", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ æ¥çæéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | if (sWhere == null || sWhere.Equals("")) |
| | | { |
| | | ds = oCN.RunProcReturn("select * from h_v_Cj_CenterCheckBillList_Query order by åæ®å· desc", "h_v_Cj_CenterCheckBillList_Query"); |
| | | } |
| | | else |
| | | { |
| | | string sql1 = "select * from h_v_Cj_CenterCheckBillList_Query where 1 = 1 "; |
| | | string sql = sql1 + sWhere + " order by åæ®å· desc"; |
| | | ds = oCN.RunProcReturn(sql, "h_v_Cj_CenterCheckBillList_Query"); |
| | | } |
| | | |
| | | //æ·»å åå |
| | | foreach (DataColumn col in ds.Tables[0].Columns) |
| | | { |
| | | Type dataType = col.DataType; |
| | | string ColmString = "{\"ColmCols\":\"" + col.ColumnName + "\",\"ColmType\":\"" + dataType.Name + "\"}"; |
| | | columnNameList.Add(JsonConvert.DeserializeObject(ColmString));//è·åå°DataColumnå对象çåå |
| | | } |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "Sucessï¼"; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | objJsonResult.list = columnNameList; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region 䏿£ æ«ç è·åä¿¡æ¯ |
| | | [Route("Cj_CenterCheckBill/getDataByBarCode_CenterCheckBill")] |
| | | [HttpGet] |
| | | public object getDataByBarCode_CenterCheckBill(string HBarCode, string HInterID, string user, string HBillType) |
| | | { |
| | | try |
| | | { |
| | | if (HBarCode == null || HBarCode.Equals("")) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "空ç½ç ,æ¡å½¢ç ä¸è½ä¸ºç©ºï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | |
| | | //æåæ¡å½¢ç |
| | | string sBillBarCode = HBarCode.Trim(); |
| | | string[] NewBarCode; |
| | | if (sBillBarCode.CompareTo("#") > 0) |
| | | { |
| | | NewBarCode = sBillBarCode.Split(Convert.ToChar("#")); |
| | | sBillBarCode = NewBarCode[0]; |
| | | } |
| | | string sBillNo = sBillBarCode; //æ¡å½¢ç |
| | | |
| | | string[] arr = sBillNo.Split('&'); //以符å·â&âå岿¡å½¢ç |
| | | string BillNo_PGD = arr[0]; //åæ®å· |
| | | string entryid_PGD = "";//åid |
| | | if (arr.Length > 1) |
| | | { |
| | | entryid_PGD = arr[1]; |
| | | } |
| | | |
| | | //æªåæ¡ç ç±»å åä¸ä½ |
| | | string BillNoType = BillNo_PGD.Substring(0, Math.Min(3, BillNo_PGD.Length)); |
| | | //æªåæ¡ç ç±»å2 ååä½ |
| | | string BillNoType2 = BillNo_PGD.Substring(0, Math.Min(4, BillNo_PGD.Length)); |
| | | //æªåå
ç |
| | | string BillNo = BillNo_PGD.Substring(3, Math.Min(BillNo_PGD.Length - 3, BillNo_PGD.Length)); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | string sErr = ""; |
| | | |
| | | switch (BillNoType2) |
| | | { |
| | | case "GXLX"://æµè½¬å¡ |
| | | |
| | | string sql = ""; |
| | | if (HBillType == "7502") |
| | | { |
| | | ds = oCN.RunProcReturn("exec h_p_Sc_ProcessExchangeBill__ProcList_New '" + BillNo_PGD + "','" + user + "'", "h_p_Sc_ProcessExchangeBill__ProcList"); |
| | | } |
| | | break; |
| | | default: |
| | | break; |
| | | } |
| | | |
| | | if (ds != null) |
| | | { |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "Sucessï¼"; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "没æè¿åæ°æ®ï¼æ¡ç åç¼é误ã"; |
| | | objJsonResult.data = ""; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region 䏿£ æ°å¢ä¿å |
| | | [Route("Cj_CenterCheckBill/add_CenterCheckBill")] |
| | | [HttpPost] |
| | | public object add_CenterCheckBill([FromBody] JObject oMain) |
| | | { |
| | | var _value = oMain["oMain"].ToString(); |
| | | string msg1 = _value.ToString(); |
| | | string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); |
| | | try |
| | | { |
| | | //ååºåå |
| | | string msg2 = "[" + sArray[0].ToString() + "]"; |
| | | string user = sArray[1].ToString();//ç¨æ·å |
| | | string OperationType = sArray[2].ToString();//ç±»å |
| | | string msg_entry = sArray[3].ToString(); //æç»è¡ä¿¡æ¯ |
| | | |
| | | ////夿æ¯å¦æç¼è¾æé |
| | | //if (!DBUtility.ClsPub.Security_Log("Cj_CenterCheckBill_Edit", 1, false, user)) |
| | | //{ |
| | | // objJsonResult.code = "0"; |
| | | // objJsonResult.count = 0; |
| | | // objJsonResult.Message = "æ ç¼è¾æé!"; |
| | | // objJsonResult.data = null; |
| | | // return objJsonResult; |
| | | //} |
| | | |
| | | DAL.ClsCj_CenterCheckBill BillNew = new DAL.ClsCj_CenterCheckBill(); |
| | | string s = ""; |
| | | |
| | | List<Model.ClsCj_CenterCheckBillMain> lsmain = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsCj_CenterCheckBillMain>>(msg2); |
| | | foreach (Model.ClsCj_CenterCheckBillMain oItem in lsmain) |
| | | { |
| | | if (OperationType == "1") |
| | | { |
| | | //忮巿¯å¦éå¤ |
| | | if (BillNew0.IsExistBillNo(ref ClsPub.sExeReturnInfo, oItem.HBillNo, BillStatus, BillOld.omodel.HInterID)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®å·éå¤ï¼ä¸å
许ä¿åï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | if (OperationType == "3") |
| | | { |
| | | if (BillOld.ShowBill(oItem.HInterID, ref s) == false) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ¤åæ®æè¯¯ï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | //夿æ¯å¦å¯ç¼è¾ |
| | | if (BillOld.omodel.HChecker != "" && BillOld.omodel.HChecker != null) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ¤åæ®å·²ç»è¢«å®¡æ ¸ï¼ä¸å
许修æ¹ï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | if (BillOld.omodel.HBillStatus > 1) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ¤åæ®å¤äºä¸å¯ç¼è¾ç¶æï¼ä¸å
许修æ¹ï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | if (!DBUtility.Xt_BaseBillFun.Fun_AllowEditBill(BillOld, ref s)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = s + "ï¼ä¸å
许修æ¹"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | |
| | | BillNew.omodel = oItem; |
| | | } |
| | | |
| | | //è¡¨ä½æ°æ® |
| | | List<Model.ClsCj_CenterCheckBillSub> subList = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsCj_CenterCheckBillSub>>(msg_entry); |
| | | int i = 0; |
| | | foreach(Model.ClsCj_CenterCheckBillSub oItemSub in subList) |
| | | { |
| | | i++; |
| | | oItemSub.HEntryID = i; |
| | | |
| | | BillNew.DetailColl.Add(oItemSub); |
| | | } |
| | | |
| | | //忮宿´æ§å¤æ |
| | | if (BillNew.omodel.HProcExchBillNo == "" && BillNew.omodel.HMainSourceBillNo=="") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æµè½¬å¡æ²¡æéæ©ï¼è¯·æ«ææ¡å½¢ç æè¾å
¥æ¡å½¢ç åå车"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | //ä¿å |
| | | //ä¿å宿¯åå¤ç |
| | | bool bResult; |
| | | if (OperationType == "1") |
| | | { |
| | | bResult = BillNew.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); |
| | | } |
| | | else if (OperationType == "3") |
| | | { |
| | | bResult = BillNew.ModifyBill(BillNew.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); |
| | | } |
| | | else |
| | | { |
| | | bResult = false; |
| | | } |
| | | if (bResult) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "ä¿åæåï¼"; |
| | | //WebAPIController.Add_Log("éè´§å䏿¨", UserName, "çæéè´§å"); |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "ä¿å失败ï¼" + DBUtility.ClsPub.sExeReturnInfo; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region 䏿£å å é¤ |
| | | /// <summary> |
| | | ///åæ°ï¼string HInterIDã |
| | | ///è¿åå¼ï¼objectã |
| | | /// </summary> |
| | | [Route("Cj_CenterCheckBill/delete")] |
| | | [HttpGet] |
| | | public object deleteCj_CenterCheckBill(string HInterID, string user) |
| | | { |
| | | try |
| | | { |
| | | string s = ""; |
| | | |
| | | //æ¥çæé |
| | | if (!DBUtility.ClsPub.Security_Log("Cj_CenterCheckBill_Drop", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ å 餿éï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | if (HInterID == null || HInterID.Equals("")) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "HInterIDä¸è½ä¸ºç©ºï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | if (BillOld.ShowBill(long.Parse(HInterID), ref s) == false) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ¤åæ®æè¯¯ï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | //夿æ¯å¦å¯ç¼è¾ |
| | | if (BillOld.omodel.HChecker != "" && BillOld.omodel.HChecker != null) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ¤åæ®å·²ç»è¢«å®¡æ ¸ï¼ä¸å
许å é¤ï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | //å é¤åæ§å¶========================================= |
| | | string sql1 = "exec h_p_Cj_CenterCheckBill_BeforeDelCtrl " + BillOld.omodel.HInterID + ",'" + BillOld.omodel.HBillNo + "','" + user + "'"; |
| | | ds = oCN.RunProcReturn(sql1, "h_p_Cj_CenterCheckBill_BeforeDelCtrl"); |
| | | if (ds == null || ds.Tables.Count == 0 || ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "å é¤å¤±è´¥!åå :å é¤åå¤æå¤±è´¥ï¼è¯·ä¸ç½ç»ç®¡ç人åèç³»"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | if (ds.Tables[0].Rows[0]["HBack"].ToString() != "0") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "å é¤å¤±è´¥!åå :" + ds.Tables[0].Rows[0]["HRemark"].ToString(); ; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | //================================================================================== |
| | | |
| | | //è¿è¡ ä¼è®¡æé´ ç»è´¦ çå¤æåæ§å¶ |
| | | int sYear = 0; |
| | | int sPeriod = 0; |
| | | DateTime HDate = DateTime.Now; |
| | | if (DBUtility.Xt_BaseBillFun.Fun_AllowYearPeriod(HDate, ref sYear, ref sPeriod, ref s) == false) |
| | | { |
| | | objJsonResult.Message = s; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | oCN.BeginTran(); |
| | | |
| | | oCN.RunProc("delete from Cj_CenterCheckBillMain where HInterID = " + HInterID); |
| | | oCN.RunProc("delete from Cj_CenterCheckBillSub where HInterID= " + HInterID); |
| | | |
| | | //å é¤åæ§å¶================================================================================== |
| | | string sql2 = "exec h_p_Cj_CenterCheckBill_AfterDelCtrl " + BillOld.omodel.HInterID + ",'" + BillOld.omodel.HBillNo + "','" + user + "'"; |
| | | ds = oCN.RunProcReturn(sql2, "h_p_Cj_CenterCheckBill_AfterDelCtrl"); |
| | | if (ds == null || ds.Tables.Count == 0 || ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | s = "å é¤åå¤æå¤±è´¥ï¼è¯·ä¸ç½ç»ç®¡ç人åèç³»"; |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "å é¤å¤±è´¥!åå :" + s; |
| | | objJsonResult.data = null; |
| | | oCN.RollBack(); |
| | | return objJsonResult; |
| | | } |
| | | if (ds.Tables[0].Rows[0]["HBack"].ToString() != "0") |
| | | { |
| | | s = ds.Tables[0].Rows[0]["HRemark"].ToString(); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "å é¤å¤±è´¥!åå :" + s; |
| | | objJsonResult.data = null; |
| | | oCN.RollBack(); |
| | | return objJsonResult; |
| | | } |
| | | //============================================================================================== |
| | | |
| | | oCN.Commit(); |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "æ¨å·²å é¤åæ®å·ä¸º" + BillOld.omodel.HBillNo + "çæ¶æ¬¾åï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | oCN.RollBack(); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region 䏿£å å®¡æ ¸/åå®¡æ ¸ |
| | | /// <summary> |
| | | /// </summary> |
| | | /// <param name="HInterID">忮ID</param> |
| | | /// <param name="IsAudit">å®¡æ ¸(0),åå®¡æ ¸(1)</param> |
| | | /// <param name="CurUserName">å®¡æ ¸äºº</param> |
| | | /// <returns></returns> |
| | | [Route("Cj_CenterCheckBill/AuditCj_CenterCheckBill")] |
| | | [HttpGet] |
| | | public object AuditCj_CenterCheckBill(int HInterID, int IsAudit, string CurUserName) |
| | | { |
| | | string ModRightNameCheck = "Cj_CenterCheckBill_Check"; |
| | | DBUtility.ClsPub.CurUserName = CurUserName; |
| | | try |
| | | { |
| | | //å®¡æ ¸æé |
| | | if (!DBUtility.ClsPub.Security_Log_second(ModRightNameCheck, 1, false, CurUserName)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å®¡æ ¸å¤±è´¥ï¼æ æéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | //HInterIDæ°æ®å¤æ |
| | | if (HInterID <= 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "HInterIDå°äº0ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | |
| | | Int64 lngBillKey = 0; |
| | | lngBillKey = DBUtility.ClsPub.isLong(HInterID); //对HInterIDè¿è¡ç±»åçè½¬æ¢ |
| | | DAL.ClsCj_CenterCheckBill oBill = new DAL.ClsCj_CenterCheckBill(); //å®ä¾ååæ®æä½ç±»ï¼ç¨äºè¿è¡ç¸å
³æä½ |
| | | |
| | | //é对éè¦è¿è¡çæä½ï¼æ£éªå½ååæ®çç¶ææ¯å¦æ¯æéè¦è¿è¡çæä½ |
| | | if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo)) //æ ¹æ®HInterIDè·åè¯¥åæ®çæ°æ® |
| | | { |
| | | if (oBill.omodel.HCloseMan.Trim() != "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "忮已å
³é!ä¸è½åæ¬¡å®¡æ ¸ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | if (oBill.omodel.HDeleteMan.Trim() != "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "忮已ä½åº!ä¸è½åæ¬¡å®¡æ ¸ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | if (IsAudit == 0) //å®¡æ ¸å¤æ |
| | | { |
| | | if (oBill.omodel.HChecker.Trim() != "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®å·²å®¡æ ¸!ä¸è½åæ¬¡å®¡æ ¸ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | if (IsAudit == 1) //åå®¡æ ¸å¤æ |
| | | { |
| | | if (oBill.omodel.HChecker.Trim() == "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®æªå®¡æ ¸!ä¸éè¦åå®¡æ ¸!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®ä¸åå¨!åå :" + DBUtility.ClsPub.sExeReturnInfo; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | |
| | | //è¿è¡éè¦è¿è¡çå®¡æ ¸/åå®¡æ ¸æä½ |
| | | if (IsAudit == 0) //å®¡æ ¸æäº¤ |
| | | { |
| | | //è¿è¡ ä¼è®¡æé´ ç»è´¦ çå¤æåæ§å¶ |
| | | string s = ""; |
| | | int sYear = 0; |
| | | int sPeriod = 0; |
| | | DateTime HDate = DateTime.Now; |
| | | if (DBUtility.Xt_BaseBillFun.Fun_AllowYearPeriod(HDate, ref sYear, ref sPeriod, ref s) == false) |
| | | { |
| | | objJsonResult.Message = s; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | |
| | | //å®¡æ ¸åæ§å¶========================================= |
| | | string sql1 = "exec h_p_Cj_CenterCheckBill_BeforeCheckCtrl " + oBill.omodel.HInterID + ",'" + oBill.omodel.HBillNo + "','" + CurUserName + "'"; |
| | | ds = oCN.RunProcReturn(sql1, "h_p_Cj_CenterCheckBill_BeforeCheckCtrl"); |
| | | if (ds == null || ds.Tables.Count == 0 || ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "å®¡æ ¸å¤±è´¥!åå :å®¡æ ¸åå¤æå¤±è´¥ï¼è¯·ä¸ç½ç»ç®¡ç人åèç³»"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | if (ds.Tables[0].Rows[0]["HBack"].ToString() != "0") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "å®¡æ ¸å¤±è´¥!åå :" + ds.Tables[0].Rows[0]["HRemark"].ToString(); ; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | //================================================================================== |
| | | |
| | | oCN.BeginTran(); |
| | | //ååéå®è®¢åæ°æ® |
| | | sql1 = "exec h_p_Sc_StationOutOrInBill_ReWriteByCenterCheckBill " + oBill.omodel.HInterID + ",'" + CurUserName + "'"; |
| | | oCN.RunProcReturn(sql1, "h_p_IF_SeOrderBill_ReWriteBySeOrderChangeBill"); |
| | | |
| | | |
| | | |
| | | //å®¡æ ¸æäº¤ |
| | | if (oBill.CheckBill(oBill.omodel.HInterID, oBill.omodel.HBillNo, "h_p_Cj_CenterCheckBill_AfterCheckCtrl", CurUserName, ref DBUtility.ClsPub.sExeReturnInfo) == true) |
| | | { |
| | | oCN.Commit(); |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "å®¡æ ¸æå"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | oCN.RollBack(); |
| | | |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å®¡æ ¸å¤±è´¥!åå :" + DBUtility.ClsPub.sExeReturnInfo; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | oCN.RollBack(); |
| | | |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å®¡æ ¸å¤±è´¥æè
åå®¡æ ¸å¤±è´¥ï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region 䏿£å å
³é/åå
³é |
| | | /// <summary> |
| | | /// </summary> |
| | | /// <param name="HInterID">忮ID</param> |
| | | /// <param name="IsAudit">å
³é(0),åå
³é(1)</param> |
| | | /// <param name="CurUserName">å
³é人</param> |
| | | /// <returns></returns> |
| | | [Route("Cj_CenterCheckBill/CloseCj_CenterCheckBill")] |
| | | [HttpGet] |
| | | public object CloseCj_CenterCheckBill(int HInterID, int IsAudit, string CurUserName) |
| | | { |
| | | string ModRightNameCheck = "Cj_CenterCheckBill_Close"; |
| | | DBUtility.ClsPub.CurUserName = CurUserName; |
| | | try |
| | | { |
| | | //æ£æ¥æé |
| | | if (!DBUtility.ClsPub.Security_Log_second(ModRightNameCheck, 1, false, CurUserName)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å
³éå¤±è´¥ï¼æ æéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | //HInterIDæ°æ®å¤æ |
| | | if (HInterID <= 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "HInterIDå°äº0ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | |
| | | Int64 lngBillKey = 0; |
| | | lngBillKey = DBUtility.ClsPub.isLong(HInterID); //对HInterIDè¿è¡ç±»åçè½¬æ¢ |
| | | DAL.ClsCj_CenterCheckBill oBill = new DAL.ClsCj_CenterCheckBill(); //å®ä¾ååæ®æä½ç±»ï¼ç¨äºè¿è¡ç¸å
³æä½ |
| | | |
| | | //é对éè¦è¿è¡çæä½ï¼æ£éªå½ååæ®çç¶ææ¯å¦æ¯æéè¦è¿è¡çæä½ |
| | | if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo)) //æ ¹æ®HInterIDè·åè¯¥åæ®çæ°æ® |
| | | { |
| | | if (oBill.omodel.HDeleteMan.Trim() != "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "忮已ä½åº!ä¸è½è¿è¡å
³éï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | if (oBill.omodel.HChecker.Trim() == "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®æªå®¡æ ¸!ä¸è½è¿è¡å
³éï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | if (IsAudit == 0) //å
³é夿 |
| | | { |
| | | if (oBill.omodel.HCloseMan.Trim() != "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "忮已å
³é!ä¸è½å次å
³éï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | if (IsAudit == 1) //åå
³é夿 |
| | | { |
| | | if (oBill.omodel.HCloseMan.Trim() == "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®æªå
³é!ä¸éè¦åå
³éï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®ä¸åå¨!åå :" + DBUtility.ClsPub.sExeReturnInfo; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | |
| | | //è¿è¡éè¦è¿è¡çå
³é/åå
³éæä½ |
| | | if (IsAudit == 0) //å
³éæäº¤ |
| | | { |
| | | //å
³éæäº¤ |
| | | if (oBill.CloseBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo) == true) |
| | | { |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "å
³éæå"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å
³é失败!åå :" + DBUtility.ClsPub.sExeReturnInfo; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | if (IsAudit == 1) //åå
³éæäº¤ |
| | | { |
| | | //åå
³éæäº¤ |
| | | if (oBill.CancelClose(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo) == true) |
| | | { |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "åå
³éæå"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åå
³é失败!åå :" + DBUtility.ClsPub.sExeReturnInfo; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å
³é失败æè
åå
³é失败ï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region 䏿£å ä½åº/åä½åº |
| | | /// <summary> |
| | | /// </summary> |
| | | /// <param name="HInterID">忮ID</param> |
| | | /// <param name="IsAudit">ä½åº(0),åä½åº(1)</param> |
| | | /// <param name="CurUserName">ä½åºäºº</param> |
| | | /// <returns></returns> |
| | | [Route("Cj_CenterCheckBill/DeleteCj_CenterCheckBill")] |
| | | [HttpGet] |
| | | public object DeleteCj_CenterCheckBill(int HInterID, int IsAudit, string CurUserName) |
| | | { |
| | | string ModRightNameCheck = "Cj_CenterCheckBill_Delete"; |
| | | DBUtility.ClsPub.CurUserName = CurUserName; |
| | | try |
| | | { |
| | | //æ£æ¥æé |
| | | if (!DBUtility.ClsPub.Security_Log_second(ModRightNameCheck, 1, false, CurUserName)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "ä½åºå¤±è´¥ï¼æ æéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | //HInterIDæ°æ®å¤æ |
| | | if (HInterID <= 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "HInterIDå°äº0ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | |
| | | Int64 lngBillKey = 0; |
| | | lngBillKey = DBUtility.ClsPub.isLong(HInterID); //对HInterIDè¿è¡ç±»åçè½¬æ¢ |
| | | DAL.ClsCj_CenterCheckBill oBill = new DAL.ClsCj_CenterCheckBill(); //å®ä¾ååæ®æä½ç±»ï¼ç¨äºè¿è¡ç¸å
³æä½ |
| | | |
| | | //é对éè¦è¿è¡çæä½ï¼æ£éªå½ååæ®çç¶ææ¯å¦æ¯æéè¦è¿è¡çæä½ |
| | | if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo)) //æ ¹æ®HInterIDè·åè¯¥åæ®çæ°æ® |
| | | { |
| | | if (oBill.omodel.HChecker.Trim() != "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®å·²å®¡æ ¸!ä¸è½è¿è¡ä½åºï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | if (oBill.omodel.HBillStatus.ToString() == "6") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®å¨å®¡æ ¸ä¸!ä¸è½è¿è¡ä½åº!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | if (IsAudit == 0) //ä½åºå¤æ |
| | | { |
| | | if (oBill.omodel.HDeleteMan.Trim() != "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "忮已ä½åº!ä¸è½åä½åºï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | if (IsAudit == 1) //åä½åºå¤æ |
| | | { |
| | | if (oBill.omodel.HDeleteMan.Trim() == "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®æªä½åº!ä¸éè¦åä½åºï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®ä¸åå¨!åå :" + DBUtility.ClsPub.sExeReturnInfo; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | |
| | | //è¿è¡éè¦è¿è¡çä½åº/åä½åºæä½ |
| | | if (IsAudit == 0) //ä½åºæäº¤ |
| | | { |
| | | //ä½åºæäº¤ |
| | | if (oBill.Cancelltion(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo) == true) |
| | | { |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "ä½åºæå"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "ä½åºå¤±è´¥!åå :" + DBUtility.ClsPub.sExeReturnInfo; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | if (IsAudit == 1) //åå
³éæäº¤ |
| | | { |
| | | //åå
³éæäº¤ |
| | | if (oBill.AbandonCancelltion(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo) == true) |
| | | { |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "åä½åºæå"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åä½åºå¤±è´¥!åå :" + DBUtility.ClsPub.sExeReturnInfo; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "ä½åºå¤±è´¥æè
åä½åºå¤±è´¥ï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | } |
| | | } |
New file |
| | |
| | | using Newtonsoft.Json; |
| | | using Newtonsoft.Json.Linq; |
| | | using Pub_Class; |
| | | using System; |
| | | using System.Collections; |
| | | using System.Collections.Generic; |
| | | using System.Data; |
| | | using System.Data.SqlClient; |
| | | using System.Web.Http; |
| | | using WebAPI.Models; |
| | | |
| | | namespace WebAPI.Controllers |
| | | { |
| | | public class Sc_KeyElementBindingController : ApiController |
| | | { |
| | | Pub_Class.ClsXt_SystemParameter oSystemParameter = new Pub_Class.ClsXt_SystemParameter(); |
| | | private json objJsonResult = new json(); |
| | | SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); |
| | | DataSet ds; |
| | | |
| | | #region å·¥åºæµè½¬å¡ç»´æ¤-æ¥è¯¢ |
| | | /// <summary> |
| | | /// è¿åå·¥åºæµè½¬å¡ç»´æ¤å表主表 |
| | | ///åæ°ï¼string sqlã |
| | | ///è¿åå¼ï¼objectã |
| | | /// </summary> |
| | | [Route("Sc_KeyElementBinding/GetProcessExchangeList")] |
| | | [HttpGet] |
| | | public object GetProcessExchangeList(string HBillNo, string user) |
| | | { |
| | | try |
| | | { |
| | | ds = oCN.RunProcReturn("select * from h_v_Sc_ProcessExchangeInfo_ForKeyBind where æµè½¬å¡å· = '" + HBillNo + "'", "h_v_Sc_ProcessExchangeInfo_ForKeyBind"); |
| | | |
| | | if (ds.Tables[0].Rows.Count > 0 && ds != null) |
| | | { |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "Sucessï¼"; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ¥æ æ¤æµè½¬å¡ä¿¡æ¯ï¼è¯·æ ¸å¯¹æ¹æµè½¬å¡æ¯å¦å·²è¢«å é¤"; |
| | | objJsonResult.data = ""; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å¼å¸¸ï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region å
³é®ä»¶ç»å® äº§åæ¡ç è§£æ |
| | | [Route("Sc_KeyElementBinding/ProductBardCode_JX")] |
| | | [HttpGet] |
| | | public object ProductBardCode_JX(string HBarCode, string HProcExchBillNo, string HBillNo, string user, int HOrgID) |
| | | { |
| | | try |
| | | { |
| | | //å¤æææ«æ¡ç æ¯å¦å卿¡ç æ¡£æ¡å½ä¸ |
| | | ds = oCN.RunProcReturn(@"select 1 from Gy_BarCodeBill WITH(NOLOCK) where HBarCode='" + HBarCode + "'", "Gy_BarCodeBill"); |
| | | if (ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | //æ¡ç æ¡£æ¡ä¸æ²¡ææ¬æ¬¡æ«æçæ¡ç ï¼åæ ¹æ®è§åè§£æçææ¡ç |
| | | ds = oCN.RunProcReturn(@"exec h_p_Sc_BarCode_JX '" + HBarCode + "','" + HProcExchBillNo + "','" + HOrgID + "'", "h_p_Sc_BarCode_JX"); |
| | | |
| | | if (ClsPub.isLong(ds.Tables[0].Rows[0]["HBack"]) != 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "è§£ææ¡ç 失败ï¼è¯·ä¸ç®¡çèç³»ï¼" + ds.Tables[0].Rows[0]["HBackRemark"] + "==exec h_p_Sc_BarCode_JX '" +HBarCode + "','" + HProcExchBillNo + "','" + HOrgID + "'"; |
| | | objJsonResult.data = ""; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | |
| | | //æ¡ç æ¡£æ¡ä¸å·²ææ¬æ¬¡æ«æçæ¡ç ï¼å¹é
ç¨ææ¸
åï¼æ«ç æ°æ®åå
¥ä¸´æ¶è¡¨ï¼ |
| | | ds = oCN.RunProcReturn(@"exec h_p_Sc_PPBomBill_Matching '" + HBarCode + "','" + HProcExchBillNo + "','" + HBillNo + "','" + HOrgID + "'", "h_p_Sc_PPBomBill_Matching"); |
| | | if (ds != null && ds.Tables[0].Rows.Count > 0) |
| | | { |
| | | if (ClsPub.isLong(ds.Tables[0].Rows[0]["HBack"]) != 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = ClsPub.isStrNull(ds.Tables[0].Rows[0]["HBackRemark"]); |
| | | objJsonResult.data = ""; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = ""; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = ""; |
| | | objJsonResult.data = "æ²¡ææ¥è¯¢å°æ°æ®"; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "ERRORï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region å
³é®ä»¶ç»å® é
ä»¶æ¡ç è§£æ |
| | | [Route("Sc_KeyElementBinding/PartsBardCode_JX")] |
| | | [HttpGet] |
| | | public object PartsBardCode_JX(string HBarCode, string HProcExchBillNo, string HBillNo, string user, int HOrgID) |
| | | { |
| | | try |
| | | { |
| | | //å¤æææ«æ¡ç æ¯å¦å卿¡ç æ¡£æ¡å½ä¸ |
| | | ds = oCN.RunProcReturn(@"select 1 from Gy_BarCodeBill WITH(NOLOCK) where HBarCode='" + HBarCode + "'", "Gy_BarCodeBill"); |
| | | if (ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | //æ¡ç æ¡£æ¡ä¸æ²¡ææ¬æ¬¡æ«æçæ¡ç ï¼åæ ¹æ®è§åè§£æçææ¡ç |
| | | ds = oCN.RunProcReturn(@"exec h_p_Sc_BarCode_JX '" + HBarCode + "','" + HProcExchBillNo + "','" + HOrgID + "'", "h_p_Sc_BarCode_JX"); |
| | | if (ClsPub.isLong(ds.Tables[0].Rows[0]["HBack"]) != 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "è§£ææ¡ç 失败ï¼è¯·ä¸ç®¡çèç³»ï¼" + ds.Tables[0].Rows[0]["HBackRemark"] + "==exec h_p_Sc_BarCode_JX '" + HBarCode + "','" + HProcExchBillNo + "','" + HOrgID + "'"; |
| | | objJsonResult.data = ""; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | |
| | | //æ¡ç æ¡£æ¡ä¸å·²ææ¬æ¬¡æ«æçæ¡ç ï¼æ¥è¯¢é
ä»¶ä¿¡æ¯ï¼æ«ææ¡ç ä¿¡æ¯åå
¥ä¸´æ¶è¡¨ï¼ |
| | | ds = oCN.RunProcReturn(@"exec h_p_Gy_BarCodeBill_Bind '" + HBarCode + "','" + HProcExchBillNo + "','" + HBillNo + "','" + HOrgID + "'", "h_p_Gy_BarCodeBill_Bind"); |
| | | |
| | | if (ds != null && ds.Tables[0].Rows.Count > 0) |
| | | { |
| | | if (ClsPub.isLong(ds.Tables[0].Rows[0]["HBack"]) != 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = ClsPub.isStrNull(ds.Tables[0].Rows[0]["HBackRemark"]); |
| | | objJsonResult.data = ""; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = ""; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = ""; |
| | | objJsonResult.data = "æ²¡ææ¥è¯¢å°æ°æ®"; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "ERRORï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region å
³é®ä»¶ç»å®ä¿å æ°å¢/ç¼è¾ |
| | | [Route("Sc_KeyElementBinding/Save")] |
| | | [HttpPost] |
| | | public object Save([FromBody] JObject msg) |
| | | { |
| | | var _value = msg["msg"].ToString(); |
| | | string msg1 = _value.ToString(); |
| | | string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); |
| | | string msg2 = sArray[0].ToString(); //è¡¨å¤´æ°æ® |
| | | string msg3 = sArray[1].ToString(); //åè¡¨æ°æ® |
| | | string msg4 = sArray[2].ToString(); //ç¨æ· |
| | | |
| | | DBUtility.ClsPub.CurUserName = msg4; |
| | | |
| | | string UserName = ""; |
| | | ListModels oListModels = new ListModels(); |
| | | try |
| | | { |
| | | |
| | | |
| | | DAL.ClsSc_AssemblyBill oBill = new DAL.ClsSc_AssemblyBill(); |
| | | List<Model.ClsSc_AssemblyBillMain> lsmain = new List<Model.ClsSc_AssemblyBillMain>(); |
| | | msg2 = msg2.Replace("\\", ""); |
| | | msg2 = msg2.Replace("\n", ""); //\n |
| | | lsmain = oListModels.getObjectByJson_Sc_AssemblyBillMain2(msg2); |
| | | foreach (Model.ClsSc_AssemblyBillMain oItem in lsmain) |
| | | { |
| | | UserName = oItem.HMaker; //å¶å人 |
| | | oItem.HBillType = "3727"; |
| | | oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year); |
| | | oItem.HPeriod = DBUtility.ClsPub.isLong(DateTime.Now.Month); |
| | | oItem.HBillStatus = 1; |
| | | oItem.HMakeDate = DBUtility.ClsPub.isStrNull(DateTime.Now.ToString("yyyy-MM-dd")); |
| | | |
| | | if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "ä¿åå¤±è´¥ï¼æ²¡æåæ®æ¥æï¼æ æ³ä¿åï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | oBill.omodel = oItem; |
| | | } |
| | | //è¡¨ä½æ°æ® |
| | | //æ },{æ¥æåæ°ç» //廿ãåã |
| | | msg3 = msg3.Substring(1, msg3.Length - 2); |
| | | msg3 = msg3.Replace("\\", ""); |
| | | msg3 = msg3.Replace("\n", ""); //\n |
| | | //msg2 = msg2.Replace("'", "â"); |
| | | List<Model.ClsSc_AssemblyBillSub> ls = new List<Model.ClsSc_AssemblyBillSub>(); |
| | | ls = oListModels.getObjectByJson_Sc_AssemblyBillSub2(msg3); |
| | | int i = 0; |
| | | foreach (Model.ClsSc_AssemblyBillSub oItemSub in ls) |
| | | { |
| | | i++; |
| | | oItemSub.HEntryID = i; |
| | | |
| | | oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now); |
| | | oItemSub.HCloseType = false; //å
³éç±»å |
| | | oItemSub.HUnitID = 0; |
| | | oItemSub.HQty = 1; |
| | | |
| | | oBill.DetailColl.Add(oItemSub); |
| | | } |
| | | |
| | | //ä¿å |
| | | //ä¿å宿¯åå¤ç |
| | | bool bResult; |
| | | bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); |
| | | |
| | | |
| | | if (bResult) |
| | | { |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "ä¿åæåï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "ä¿å失败ï¼" + DBUtility.ClsPub.sExeReturnInfo; |
| | | objJsonResult.data = 0; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "ä¿å失败ï¼" + e.ToString(); |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region [å é¤ä¸´æ¶è¡¨æ°æ®] |
| | | [Route("Deltet_Sc_AssemblyBill_BindBarCodeTemp")] |
| | | [HttpGet] |
| | | public object Deltet_Sc_AssemblyBill_BindBarCodeTemp(string HBillNo, string HBarCode, string user) |
| | | { |
| | | DataSet ds; |
| | | try |
| | | { |
| | | if (string.IsNullOrWhiteSpace(HBillNo) || string.IsNullOrWhiteSpace(HBarCode)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "追溯åå·æé
ä»¶æ¡ç 为空ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | oCN.BeginTran();//å¼å§äºå¡ |
| | | ds = oCN.RunProcReturn("select * from Sc_AssemblyBill_BindBarCodeTemp where HBillNo_bak = '" + HBillNo + "' and HBarCode = '" + HBarCode + "'", "Sc_AssemblyBill_BindBarCodeTemp"); |
| | | if (ds == null || ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ²¡ææ°æ®ï¼æ æ³å é¤ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; ; |
| | | } |
| | | |
| | | |
| | | oCN.RunProc("delete from Sc_AssemblyBill_BindBarCodeTemp where HBillNo_bak = '" + HBillNo + "' and HBarCode = '" + HBarCode + "'"); |
| | | oCN.Commit();//æäº¤äºå¡ |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "* æ°æ®å 餿åï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; ; |
| | | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å é¤å¤±è´¥ï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | } |
| | | } |
| | |
| | | string msg2 = sArray[0].ToString(); |
| | | string msg3 = sArray[1].ToString(); |
| | | string msg4 = sArray[2].ToString(); |
| | | //string msg5 = sArray[3].ToString(); |
| | | |
| | | |
| | | string UserName = ""; |
| | | ListModels oListModels = new ListModels(); |
| | |
| | | msg2 = msg2.Replace("\n", ""); //\n |
| | | lsmain = oListModels.getObjectByJson_Sc_MouldDotCheckPlanBillMain(msg2); |
| | | foreach (Model.ClsSc_MouldDotCheckPlanBillMain oItem in lsmain) |
| | | { |
| | | //oItem.HMaker = ""; |
| | | { |
| | | UserName = oItem.HMaker; //å¶å人 |
| | | oItem.HBillType = "3820"; |
| | | oItem.HBillSubType = "3820"; |
| | | |
| | | //oItem.HInterID =0; |
| | | //oItem.HBillNo = ""; |
| | | |
| | | oItem.HDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd"));// --æ¥æ |
| | | oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year); |
| | | //oItem.HMakeDate = ""; |
| | | //oItem.HYear = ""; |
| | | //oItem.HPeriod = ""; |
| | | //oItem.HRemark = ""; |
| | | //oItem.HCycleUnit = ""; |
| | | //oItem.HCheckCycle = ""; |
| | | //oItem.HBeginDate = ""; |
| | | //oItem.HEndDate = ""; |
| | | //oItem.HInnerBillNo = ""; |
| | | //oItem.HExplanation = ""; |
| | | |
| | | //oItem.HInterID = DBUtility.ClsPub.CreateBillID_SRMProd("1103", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | oItem.HYear = DBUtility.ClsPub.isLong(DateTime.Now.Year); |
| | | |
| | | if (DBUtility.ClsPub.isStrNull(oItem.HDate) == "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | |
| | | |
| | | i++; |
| | | oItemSub.HEntryID = i; |
| | | //oItemSub.HCloseMan = ""; //è¡å
³é |
| | | |
| | | oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now); |
| | | oItemSub.HCloseType = false; //å
³éç±»å |
| | | //oItemSub.HRemark = ""; //夿³¨ |
| | |
| | | oItemSub.HSourceEntryID = 0; //æºååå
ç |
| | | //oItemSub.HSourceBillNo = ""; //æºååå· |
| | | //oItemSub.HSourceBillType = ""; //æºåç±»å |
| | | oItemSub.HRelationQty = 0; //å
³èæ°é |
| | | //oItemSub.HRelationMoney = 0; //å
³èéé¢ |
| | | //HMaterID = "";//é
件代ç |
| | | //HUnitID = "";//åä½ä»£ç |
| | | //HQty = "";//å®é
ç¨é |
| | | //HQtyMust = "";//åä½ç¨é |
| | | //HRemark = "";//夿³¨ |
| | | oItemSub.HRelationQty = 0; //å
³èæ°é |
| | | |
| | | oBill.DetailColl.Add(oItemSub); |
| | | |
| | | } |
| | | |
| | | ////é
ä»¶é¡¹è¡¨ä½æ°æ® |
| | | ////æ },{æ¥æåæ°ç» //廿ãåã |
| | | //msg5 = msg5.Substring(1, msg5.Length - 2); |
| | | //msg5 = msg5.Replace("\\", ""); |
| | | //msg5 = msg5.Replace("\n", ""); //\n |
| | | // //msg2 = msg2.Replace("'", "â"); |
| | | //List<Model.ClsSc_MouldDotCheckPlanBillSub_Item> ls1 = new List<Model.ClsSc_MouldDotCheckPlanBillSub_Item>(); |
| | | //ls1 = oListModels.getObjectByJson_Sc_MouldDotCheckPlanBillSub_Item(msg5); |
| | | //int j = 0; |
| | | //foreach (Model.ClsSc_MouldDotCheckPlanBillSub_Item oItemSub in ls1) |
| | | //{ |
| | | |
| | | // j++; |
| | | // oItemSub.HEntryID = j; |
| | | // //oItemSub.HCloseMan = ""; //è¡å
³é |
| | | // oItemSub.HEntryCloseDate = DBUtility.ClsPub.isDate(DateTime.Now); |
| | | // oItemSub.HCloseType = false; //å
³éç±»å |
| | | |
| | | // oItemSub.HSourceInterID = 0; // æºå主å
ç |
| | | // oItemSub.HSourceEntryID = 0; //æºååå
ç |
| | | |
| | | // oItemSub.HRelationQty = 0; //å
³èæ°é |
| | | // oBill.DetailCol.Add(oItemSub); |
| | | //} |
| | | |
| | | } |
| | | //ä¿å |
| | | //ä¿å宿¯åå¤ç |
| | | bool bResult; |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Data; |
| | | using System.IO; |
| | | using System.Linq; |
| | | using System.Net; |
| | | using System.Net.Http; |
| | | using System.Web; |
| | | using System.Web.Http; |
| | | using WebAPI; |
| | | using WebAPI.Controllers.SCGL.æ¥è®¡å管ç; |
| | | using WebAPI.Models; |
| | | using WebAPI.Service; |
| | | |
| | |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å é¤å¤±è´¥ï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region æ£æµå¼å表 æä»¶ä¸ä¼ |
| | | [Route("Gy_Inspect/Gy_Process_Excel")] |
| | | [HttpPost] |
| | | public json Gy_Inspect_Excel() |
| | | { |
| | | json res = new json(); |
| | | try |
| | | { |
| | | //è·åæä»¶åç§° |
| | | var file = HttpContext.Current.Request.Files[0]; |
| | | //è·åæä»¶ç©çè·¯å¾ |
| | | string ExcelPath = HttpContext.Current.Server.MapPath("~/" + file.FileName); |
| | | //ä¿åæä»¶ |
| | | file.SaveAs(ExcelPath); |
| | | |
| | | NpoiHelper np = new NpoiHelper(); |
| | | DataSet ExcelDs = np.ReadExcel(ExcelPath, 1, 1, "0"); |
| | | |
| | | //å 餿件 |
| | | File.Delete(ExcelPath); |
| | | |
| | | //å建临æ¶è¡¨ |
| | | DataTable provisional = new DataTable("dt2"); |
| | | |
| | | //æ·»å åå |
| | | for (int i = 0; i < ExcelDs.Tables[0].Columns.Count; i++) |
| | | { |
| | | provisional.Columns.Add(ExcelDs.Tables[0].Rows[0][i].ToString()); |
| | | } |
| | | |
| | | //æ·»å æ°æ® |
| | | for (int i = 1; i < ExcelDs.Tables[0].Rows.Count; i++) |
| | | { |
| | | DataRow row = provisional.NewRow(); |
| | | for (int j = 0; j < ExcelDs.Tables[0].Columns.Count; j++) |
| | | { |
| | | row[j] = ExcelDs.Tables[0].Rows[i][j].ToString(); |
| | | } |
| | | provisional.Rows.Add(row); |
| | | } |
| | | |
| | | //夿å |
| | | string error = JudgmentColumns(provisional); |
| | | if (error.Length > 0) |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = $"Excel模æ¿åå¨é误,{error}\r\n"; |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | |
| | | for (int i = 0; i <= provisional.Rows.Count - 1; i++) |
| | | { |
| | | string HNumber = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["æ£æµå¼ä»£ç "].ToString()); |
| | | string HName = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["æ£æµå¼åç§°"].ToString()); |
| | | string HHelpCode = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["å©è®°ç "]); |
| | | string HRemark = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["夿³¨"].ToString()); |
| | | //è·åçå®è¡æ° |
| | | int line = i + 1; |
| | | } |
| | | |
| | | res.code = "1"; |
| | | res.count = 1; |
| | | res.Message = error; |
| | | res.data = provisional; |
| | | return res; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = "Exceptionï¼" + e.ToString(); |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 夿å |
| | | /// </summary> |
| | | /// <param name="provisional"></param> |
| | | /// <returns></returns> |
| | | private static string JudgmentColumns(DataTable provisional) |
| | | { |
| | | var error = ""; |
| | | |
| | | //æ¥è¯¢æ²¡æçå |
| | | if (!provisional.Columns.Contains("æ£æµå¼ä»£ç ")) |
| | | error += "æ²¡ææ¾å°ãæ£æµå¼ä»£ç ãçæ é¢,"; |
| | | |
| | | if (!provisional.Columns.Contains("æ£æµå¼åç§°")) |
| | | error += "æ²¡ææ¾å°ãæ£æµå¼åç§°ãçæ é¢,"; |
| | | return error; |
| | | } |
| | | #endregion |
| | | |
| | | #region æ£æµå¼å表 导å
¥(ä¿å) |
| | | [Route("Gy_Inspect/Gy_Process_btnSave")] |
| | | [HttpPost] |
| | | public object Gy_Inspect_btnSave([FromBody] JObject sMainSub) |
| | | { |
| | | var _value = sMainSub["sMainSub"].ToString(); |
| | | string msg1 = _value.ToString(); |
| | | string[] sArray = msg1.Split(new string[] { "&å" }, StringSplitOptions.RemoveEmptyEntries); |
| | | string msg2 = sArray[0].ToString(); |
| | | string user = sArray[1].ToString(); |
| | | string organ = sArray[2].ToString(); |
| | | |
| | | try |
| | | { |
| | | if (!DBUtility.ClsPub.Security_Log("Gy_Group_Edit", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ ä¿åæéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | List<object> Excel = Newtonsoft.Json.JsonConvert.DeserializeObject<List<object>>(msg2); |
| | | List<Dictionary<string, string>> list = new List<Dictionary<string, string>>(); |
| | | |
| | | foreach (JObject item in Excel) |
| | | { |
| | | Dictionary<string, string> dic = new Dictionary<string, string>(); |
| | | foreach (var itm in item.Properties()) |
| | | { |
| | | dic.Add(itm.Name, itm.Value.ToString()); |
| | | } |
| | | list.Add(dic); |
| | | } |
| | | |
| | | oCN.BeginTran(); |
| | | int i = 1; |
| | | foreach (Dictionary<string, string> item in list) |
| | | { |
| | | string HNumber = item["æ£æµå¼ä»£ç "].ToString(); |
| | | string HName = item["æ£æµå¼åç§°"].ToString(); |
| | | string HHelpCode = item["å©è®°ç "]; |
| | | string HRemark = item["夿³¨"].ToString(); |
| | | |
| | | string sShortNumber; |
| | | sShortNumber = DBUtility.ClsPub.GetShortNumber(HNumber);//ç代ç |
| | | if (sShortNumber.Trim() == "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "ä¿å失败ï¼ç代ç 为空ï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | int HEndFlag = 1;//æ«çº§æ å¿ |
| | | int HLevel = DBUtility.ClsPub.GetLevel(HNumber); //ç级 |
| | | |
| | | |
| | | if (!DBUtility.ClsPub.AllowNumber(HNumber.Trim())) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "ä¿å失败ï¼ä»£ç ä¸ä¸è½åºç°è¿ç»â.âå¹¶ä¸é¦ä½æ«ä½ä¸è½ä¸ºâ.âï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | ds = oCN.RunProcReturn("select * from Gy_InspectValue where HNumber='" + HNumber + "'", "Gy_InspectValue"); |
| | | |
| | | if (ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | |
| | | string sql = "insert into Gy_InspectValue (HName,HNumber,HShortNumber,HLevel,HHelpCode,HParentID,HStopflag,HEndFlag,HRemark,HUseFlag, HUSEORGID, HCREATEORGID, HMakeTime,HMakeEmp)" + |
| | | $"values('{HName}', '{HNumber}', '{sShortNumber}',{HLevel},'',0,'0','0','{HRemark}', 'æªä½¿ç¨', '{organ}', '{organ}', '{System.DateTime.Now.ToString("G")}', '{user}')"; |
| | | oCN.RunProc(sql); |
| | | } |
| | | else |
| | | { |
| | | oCN.RunProc("update Gy_InspectValue set HName='" + HName + "', HHelpCode='" + HHelpCode + "', HModifyEmp = '" + user + "', HModifyTime = '" + System.DateTime.Now.ToString("G") + "'where HNumber='" + HNumber + "'"); |
| | | } |
| | | |
| | | i++; |
| | | } |
| | | |
| | | oCN.Commit(); |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "导å
¥æå!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | LogService.Write(e); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | |
| | | objjson.data = null; |
| | | return objjson; |
| | | } |
| | | if (ds.Tables[0].Rows[0]["HBack"].ToString() != "0") |
| | | { |
| | | objjson.code = "0"; |
| | | objjson.count = 1; |
| | | objjson.Message = "è¯¥è®¾å¤æå¤ä¸ªè®¡åå,æå¨éç" ; |
| | | objjson.data = null; |
| | | return objjson; |
| | | } |
| | | else |
| | | { |
| | | objjson.code = "1"; |
| | |
| | | switch (Type) |
| | | { |
| | | case "DJ": |
| | | HView = "h_v_QJ_GetDotCheckItemList"; |
| | | HView = "h_v_Sc_MouldDotCheckPlanBillList"; |
| | | break; |
| | | case "BY": |
| | | HView = "h_v_Sc_MouldMaintainPlanBillList"; |
| | | break; |
| | | default: |
| | | objjson.code = "0"; |
| | | objjson.count = 0; |
| | | objjson.Message = "è®¾å¤æ¨¡åç±»åé误ï¼"; |
| | | objjson.Message = "模å
·æ¨¡åç±»åé误ï¼"; |
| | | objjson.data = null; |
| | | return objjson; |
| | | } |
| | | |
| | | SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); |
| | | //string sql = string.Format(@"select * from " + HView + " where HInterID = " + EquipProjectID); |
| | | string sql = string.Format(@"Exec h_p_Sb_GetCheckItem_PDA '" + MouldProjectID + "','" + Type + "','" + HDate + "'"); |
| | | string sql = string.Format(@"Exec h_p_Sb_GetCheckItemMouldFile_PDA '" + MouldProjectID + "','" + Type + "','" + HDate + "'"); |
| | | ds = oCN.RunProcReturn(sql, HView); |
| | | if (ds == null || ds.Tables[0].Rows.Count <= 0) |
| | | { |
| | |
| | | objjson.data = null; |
| | | return objjson; |
| | | } |
| | | if (ds.Tables[0].Rows[0]["HBack"].ToString() != "0") |
| | | { |
| | | objjson.code = "0"; |
| | | objjson.count = 1; |
| | | objjson.Message = "该模å
·æå¤ä¸ªè®¡åå,æå¨éç"; |
| | | objjson.data = null; |
| | | return objjson; |
| | | } |
| | | else |
| | | { |
| | | objjson.code = "1"; |
| | |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region éå®åºåºåæ¥è¯¢å表 |
| | | [Route("Kf_SellOutBill/QueryList")] |
| | | [HttpGet] |
| | | public object QueryList(string sWhere, string user) |
| | | { |
| | | try |
| | | { |
| | | List<object> columnNameList = new List<object>(); |
| | | //夿æ¯å¦ææ¥è¯¢æé |
| | | |
| | | if (!DBUtility.ClsPub.Security_Log("Kf_SellOutBillQuery", 1, false, user)) |
| | | { |
| | | objJsonResult.code = CodeConstant.FAIL; |
| | | objJsonResult.count = CountConstant.FAIL; |
| | | objJsonResult.Message = "æ æéæ¥ç!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | string sql = "select * from h_v_Kf_SellOutBillQuery where 1 = 1 "; |
| | | |
| | | if (sWhere == "" || sWhere == null) |
| | | { |
| | | ds = oCN.RunProcReturn("select * from h_v_Kf_SellOutBillQuery order by hmainid desc", "h_v_Kf_SellOutBillQuery"); |
| | | } |
| | | else |
| | | { |
| | | ds = oCN.RunProcReturn(sql + sWhere + " order by hmainid desc", "h_v_Kf_SellOutBillQuery"); |
| | | } |
| | | |
| | | |
| | | |
| | | foreach (DataColumn col in ds.Tables[0].Columns) |
| | | { |
| | | Type dataType = col.DataType; |
| | | string ColmString = "{\"ColmCols\":\"" + col.ColumnName + "\",\"ColmType\":\"" + dataType.Name + "\"}"; |
| | | columnNameList.Add(JsonConvert.DeserializeObject(ColmString));//è·åå°DataColumnå对象çåå |
| | | } |
| | | |
| | | objJsonResult.code = CodeConstant.SUCCEED; |
| | | objJsonResult.count = CountConstant.SUCCEED; |
| | | objJsonResult.Message = "Sucessï¼"; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | objJsonResult.list = columnNameList; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = CodeConstant.FAIL; |
| | | objJsonResult.count = CountConstant.FAIL; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region éå®åºåºåæ¥è¯¢åå表 |
| | | [Route("Kf_SellOutBill/QuerySubList")] |
| | | [HttpGet] |
| | | public object QuerySubList(string hmainid, string user) |
| | | { |
| | | try |
| | | { |
| | | List<object> columnNameList = new List<object>(); |
| | | //夿æ¯å¦ææ¥è¯¢æé |
| | | |
| | | if (!DBUtility.ClsPub.Security_Log("Kf_SellOutBillQuery", 1, false, user)) |
| | | { |
| | | objJsonResult.code = CodeConstant.FAIL; |
| | | objJsonResult.count = CountConstant.FAIL; |
| | | objJsonResult.Message = "æ æéæ¥ç!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | string sql = "select * from h_v_Kf_SellOutBillQuerySub where hmainid = " + hmainid; |
| | | |
| | | ds = oCN.RunProcReturn(sql + " order by hsubid desc", "h_v_Kf_SellOutBillQuerySub"); |
| | | |
| | | |
| | | foreach (DataColumn col in ds.Tables[0].Columns) |
| | | { |
| | | Type dataType = col.DataType; |
| | | string ColmString = "{\"ColmCols\":\"" + col.ColumnName + "\",\"ColmType\":\"" + dataType.Name + "\"}"; |
| | | columnNameList.Add(JsonConvert.DeserializeObject(ColmString));//è·åå°DataColumnå对象çåå |
| | | } |
| | | |
| | | objJsonResult.code = CodeConstant.SUCCEED; |
| | | objJsonResult.count = CountConstant.SUCCEED; |
| | | objJsonResult.Message = "Sucessï¼"; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | objJsonResult.list = columnNameList; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = CodeConstant.FAIL; |
| | | objJsonResult.count = CountConstant.FAIL; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region éå®åºåºå 夿æ¯å¦å
·å¤æ¥çé颿é |
| | | [Route("Kf_SellOutBill/CheckRight_Money")] |
| | | [HttpGet] |
| | | public object CheckRight_Money(string user) |
| | | { |
| | | try |
| | | { |
| | | //夿æ¥è¯¢æé |
| | | if (!DBUtility.ClsPub.Security_Log("Kf_SellOutBill_Money", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ æéæ¥è¯¢!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "Sucessï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | } |
| | | } |
| | |
| | | using System.Data.SqlClient; |
| | | using System.Web.Http; |
| | | using WebAPI.Models; |
| | | using SyntacticSugar.constant; |
| | | |
| | | namespace WebAPI.Controllers |
| | | { |
| | |
| | | } |
| | | #endregion |
| | | |
| | | #region åºæ¶åæ¥è¯¢å表 |
| | | [Route("Xs_ReceivableBill/QueryList")] |
| | | [HttpGet] |
| | | public object QueryList(string sWhere, string user) |
| | | { |
| | | try |
| | | { |
| | | List<object> columnNameList = new List<object>(); |
| | | //夿æ¯å¦ææ¥è¯¢æé |
| | | |
| | | if (!DBUtility.ClsPub.Security_Log("Xs_ReceivableBill_Query", 1, false, user)) |
| | | { |
| | | objJsonResult.code = CodeConstant.FAIL; |
| | | objJsonResult.count = CountConstant.FAIL; |
| | | objJsonResult.Message = "æ æéæ¥ç!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | string sql = "select * from h_v_Xs_ReceivableBillQuery where 1 = 1 "; |
| | | |
| | | if (sWhere == "" || sWhere == null) |
| | | { |
| | | ds = oCN.RunProcReturn("select * from h_v_Xs_ReceivableBillQuery order by hmainid desc", "h_v_Xs_ReceivableBillQuery"); |
| | | } |
| | | else |
| | | { |
| | | ds = oCN.RunProcReturn(sql + sWhere + " order by hmainid desc", "h_v_Xs_ReceivableBillQuery"); |
| | | } |
| | | |
| | | |
| | | |
| | | foreach (DataColumn col in ds.Tables[0].Columns) |
| | | { |
| | | Type dataType = col.DataType; |
| | | string ColmString = "{\"ColmCols\":\"" + col.ColumnName + "\",\"ColmType\":\"" + dataType.Name + "\"}"; |
| | | columnNameList.Add(JsonConvert.DeserializeObject(ColmString));//è·åå°DataColumnå对象çåå |
| | | } |
| | | |
| | | objJsonResult.code = CodeConstant.SUCCEED; |
| | | objJsonResult.count = CountConstant.SUCCEED; |
| | | objJsonResult.Message = "Sucessï¼"; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | objJsonResult.list = columnNameList; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = CodeConstant.FAIL; |
| | | objJsonResult.count = CountConstant.FAIL; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region åºæ¶åæ¥è¯¢åå表 |
| | | [Route("Xs_ReceivableBill/QuerySubList")] |
| | | [HttpGet] |
| | | public object QuerySubList(string hmainid, string user) |
| | | { |
| | | try |
| | | { |
| | | List<object> columnNameList = new List<object>(); |
| | | //夿æ¯å¦ææ¥è¯¢æé |
| | | |
| | | if (!DBUtility.ClsPub.Security_Log("Xs_ReceivableBill_Query", 1, false, user)) |
| | | { |
| | | objJsonResult.code = CodeConstant.FAIL; |
| | | objJsonResult.count = CountConstant.FAIL; |
| | | objJsonResult.Message = "æ æéæ¥ç!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | string sql = "select * from h_v_Xs_ReceivableBillQuerySub where hmainid = " + hmainid; |
| | | |
| | | ds = oCN.RunProcReturn(sql + " order by hsubid desc", "h_v_Xs_ReceivableBillQuerySub"); |
| | | |
| | | |
| | | foreach (DataColumn col in ds.Tables[0].Columns) |
| | | { |
| | | Type dataType = col.DataType; |
| | | string ColmString = "{\"ColmCols\":\"" + col.ColumnName + "\",\"ColmType\":\"" + dataType.Name + "\"}"; |
| | | columnNameList.Add(JsonConvert.DeserializeObject(ColmString));//è·åå°DataColumnå对象çåå |
| | | } |
| | | |
| | | objJsonResult.code = CodeConstant.SUCCEED; |
| | | objJsonResult.count = CountConstant.SUCCEED; |
| | | objJsonResult.Message = "Sucessï¼"; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | objJsonResult.list = columnNameList; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = CodeConstant.FAIL; |
| | | objJsonResult.count = CountConstant.FAIL; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | } |
| | | } |
| | |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region éå®è®¢å 夿æ¯å¦å
·å¤æ¥çé颿é |
| | | [Route("Xs_SeOrderBill/CheckRight_Money")] |
| | | [HttpGet] |
| | | public object CheckRight_Money(string user) |
| | | { |
| | | try |
| | | { |
| | | //夿æ¥è¯¢æé |
| | | if (!DBUtility.ClsPub.Security_Log("Xs_SeOrderBill_Money", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ æéæ¥è¯¢!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "Sucessï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | } |
| | | } |
| | |
| | | [HttpGet] |
| | | public object AuditXs_SeOutStockBill_Flow(int HInterID, int IsAudit, string CurUserName, string CurUserID) |
| | | { |
| | | //string ModRightNameCheck = "Cg_POOrderBill_Check"; |
| | | //string ModRightNameCheck = "Xs_SeOutStockBill_Check"; |
| | | DBUtility.ClsPub.CurUserName = CurUserName; |
| | | try |
| | | { |
| | |
| | | #region å®¡æ ¸åçç¸å
³å¤æ |
| | | //å®¡æ ¸åæ§å¶========================================= |
| | | string sql1 = "exec h_p_Xs_SeOutStockBill_BeforeCheckCtrl " + oBill.omodel.HInterID + ",'" + CurUserName + "'"; |
| | | ds = oCN.RunProcReturn(sql1, "h_p_Cg_POOrderBill_BeforeCheckCtrl"); |
| | | ds = oCN.RunProcReturn(sql1, "h_p_Xs_SeOutStockBill_BeforeCheckCtrl"); |
| | | if (ds == null || ds.Tables.Count == 0 || ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | |
| | | { |
| | | #region åå®¡æ ¸åçç¸å
³å¤æ |
| | | //åå®¡æ ¸åæ§å¶========================================= |
| | | DataSet ds = oCN.RunProcReturn("Exec h_p_Xs_SeOutStockBill_BeforeUnCheckCtrl " + oBill.omodel.HInterID + ",'" + CurUserName + "'", "h_p_Cg_POOrderBill_BeforeUnCheckCtrl"); |
| | | DataSet ds = oCN.RunProcReturn("Exec h_p_Xs_SeOutStockBill_BeforeUnCheckCtrl " + oBill.omodel.HInterID + ",'" + CurUserName + "'", "h_p_Xs_SeOutStockBill_BeforeUnCheckCtrl"); |
| | | if (ds == null) |
| | | { |
| | | objJsonResult.code = "0"; |
| | |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region åè´§éç¥åæ¥è¯¢å表 |
| | | [Route("Xs_SeOutStockBill/QueryList")] |
| | | [HttpGet] |
| | | public object QueryList(string sWhere, string user) |
| | | { |
| | | try |
| | | { |
| | | List<object> columnNameList = new List<object>(); |
| | | //夿æ¯å¦ææ¥è¯¢æé |
| | | |
| | | if (!DBUtility.ClsPub.Security_Log("Xs_SeOutStockBillQuery", 1, false, user)) |
| | | { |
| | | objJsonResult.code = CodeConstant.FAIL; |
| | | objJsonResult.count = CountConstant.FAIL; |
| | | objJsonResult.Message = "æ æéæ¥ç!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | string sql = "select * from h_v_Xs_SeOutStockBillQuery where 1 = 1 "; |
| | | |
| | | if (sWhere == "" || sWhere == null) |
| | | { |
| | | ds = oCN.RunProcReturn("select * from h_v_Xs_SeOutStockBillQuery order by hmainid desc", "h_v_Xs_SeOutStockBillQuery"); |
| | | } |
| | | else |
| | | { |
| | | ds = oCN.RunProcReturn(sql + sWhere + " order by hmainid desc", "h_v_Xs_SeOutStockBillQuery"); |
| | | } |
| | | |
| | | |
| | | |
| | | foreach (DataColumn col in ds.Tables[0].Columns) |
| | | { |
| | | Type dataType = col.DataType; |
| | | string ColmString = "{\"ColmCols\":\"" + col.ColumnName + "\",\"ColmType\":\"" + dataType.Name + "\"}"; |
| | | columnNameList.Add(JsonConvert.DeserializeObject(ColmString));//è·åå°DataColumnå对象çåå |
| | | } |
| | | |
| | | objJsonResult.code = CodeConstant.SUCCEED; |
| | | objJsonResult.count = CountConstant.SUCCEED; |
| | | objJsonResult.Message = "Sucessï¼"; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | objJsonResult.list = columnNameList; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = CodeConstant.FAIL; |
| | | objJsonResult.count = CountConstant.FAIL; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region åè´§éç¥åæ¥è¯¢åå表 |
| | | [Route("Xs_SeOutStockBill/QuerySubList")] |
| | | [HttpGet] |
| | | public object QuerySubList(string hmainid, string user) |
| | | { |
| | | try |
| | | { |
| | | List<object> columnNameList = new List<object>(); |
| | | //夿æ¯å¦ææ¥è¯¢æé |
| | | |
| | | if (!DBUtility.ClsPub.Security_Log("Xs_SeOutStockBillQuery", 1, false, user)) |
| | | { |
| | | objJsonResult.code = CodeConstant.FAIL; |
| | | objJsonResult.count = CountConstant.FAIL; |
| | | objJsonResult.Message = "æ æéæ¥ç!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | string sql = "select * from h_v_Xs_SeOutStockBillQuerySub where hmainid = " + hmainid; |
| | | |
| | | ds = oCN.RunProcReturn(sql + " order by hsubid desc", "h_v_Xs_SeOutStockBillQuerySub"); |
| | | |
| | | |
| | | foreach (DataColumn col in ds.Tables[0].Columns) |
| | | { |
| | | Type dataType = col.DataType; |
| | | string ColmString = "{\"ColmCols\":\"" + col.ColumnName + "\",\"ColmType\":\"" + dataType.Name + "\"}"; |
| | | columnNameList.Add(JsonConvert.DeserializeObject(ColmString));//è·åå°DataColumnå对象çåå |
| | | } |
| | | |
| | | objJsonResult.code = CodeConstant.SUCCEED; |
| | | objJsonResult.count = CountConstant.SUCCEED; |
| | | objJsonResult.Message = "Sucessï¼"; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | objJsonResult.list = columnNameList; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = CodeConstant.FAIL; |
| | | objJsonResult.count = CountConstant.FAIL; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | } |
| | | } |
| | |
| | | using System.Data.SqlClient; |
| | | using System.Web.Http; |
| | | using WebAPI.Models; |
| | | using SyntacticSugar.constant; |
| | | |
| | | namespace WebAPI.Controllers |
| | | { |
| | |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | #region æ¶æ¬¾åæ¥è¯¢å表 |
| | | [Route("YS_ReceiveBill/QueryList")] |
| | | [HttpGet] |
| | | public object QueryList(string sWhere, string user) |
| | | { |
| | | try |
| | | { |
| | | List<object> columnNameList = new List<object>(); |
| | | //夿æ¯å¦ææ¥è¯¢æé |
| | | |
| | | if (!DBUtility.ClsPub.Security_Log("YS_ReceiveBillQuery", 1, false, user)) |
| | | { |
| | | objJsonResult.code = CodeConstant.FAIL; |
| | | objJsonResult.count = CountConstant.FAIL; |
| | | objJsonResult.Message = "æ æéæ¥ç!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | string sql = "select * from h_v_YS_ReceiveBillQuery where 1 = 1 "; |
| | | |
| | | if (sWhere == "" || sWhere == null) |
| | | { |
| | | ds = oCN.RunProcReturn("select * from h_v_YS_ReceiveBillQuery order by hmainid desc", "h_v_YS_ReceiveBillQuery"); |
| | | } |
| | | else |
| | | { |
| | | ds = oCN.RunProcReturn(sql + sWhere + " order by hmainid desc", "h_v_YS_ReceiveBillQuery"); |
| | | } |
| | | |
| | | |
| | | |
| | | foreach (DataColumn col in ds.Tables[0].Columns) |
| | | { |
| | | Type dataType = col.DataType; |
| | | string ColmString = "{\"ColmCols\":\"" + col.ColumnName + "\",\"ColmType\":\"" + dataType.Name + "\"}"; |
| | | columnNameList.Add(JsonConvert.DeserializeObject(ColmString));//è·åå°DataColumnå对象çåå |
| | | } |
| | | |
| | | objJsonResult.code = CodeConstant.SUCCEED; |
| | | objJsonResult.count = CountConstant.SUCCEED; |
| | | objJsonResult.Message = "Sucessï¼"; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | objJsonResult.list = columnNameList; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = CodeConstant.FAIL; |
| | | objJsonResult.count = CountConstant.FAIL; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region æ¶æ¬¾åæ¥è¯¢åå表 |
| | | [Route("YS_ReceiveBill/QuerySubList")] |
| | | [HttpGet] |
| | | public object QuerySubList(string hmainid, string user) |
| | | { |
| | | try |
| | | { |
| | | List<object> columnNameList = new List<object>(); |
| | | //夿æ¯å¦ææ¥è¯¢æé |
| | | |
| | | if (!DBUtility.ClsPub.Security_Log("YS_ReceiveBillQuery", 1, false, user)) |
| | | { |
| | | objJsonResult.code = CodeConstant.FAIL; |
| | | objJsonResult.count = CountConstant.FAIL; |
| | | objJsonResult.Message = "æ æéæ¥ç!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | string sql = "select * from h_v_YS_ReceiveBillQuerySub where hmainid = " + hmainid; |
| | | |
| | | ds = oCN.RunProcReturn(sql + " order by hsubid desc", "h_v_YS_ReceiveBillQuerySub"); |
| | | |
| | | |
| | | foreach (DataColumn col in ds.Tables[0].Columns) |
| | | { |
| | | Type dataType = col.DataType; |
| | | string ColmString = "{\"ColmCols\":\"" + col.ColumnName + "\",\"ColmType\":\"" + dataType.Name + "\"}"; |
| | | columnNameList.Add(JsonConvert.DeserializeObject(ColmString));//è·åå°DataColumnå对象çåå |
| | | } |
| | | |
| | | objJsonResult.code = CodeConstant.SUCCEED; |
| | | objJsonResult.count = CountConstant.SUCCEED; |
| | | objJsonResult.Message = "Sucessï¼"; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | objJsonResult.list = columnNameList; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = CodeConstant.FAIL; |
| | | objJsonResult.count = CountConstant.FAIL; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | } |
| | | } |
New file |
| | |
| | | using Newtonsoft.Json.Linq; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Data; |
| | | using System.IO; |
| | | using System.Linq; |
| | | using System.Net; |
| | | using System.Net.Http; |
| | | using System.Web; |
| | | using System.Web.Http; |
| | | using WebAPI.Controllers.SCGL.æ¥è®¡å管ç; |
| | | using WebAPI.Models; |
| | | |
| | | namespace WebAPI.Controllers.ZLGL.BaseSet |
| | | { |
| | | public class Gy_InspectBasisController : ApiController |
| | | { |
| | | public DBUtility.ClsPub.Enum_BillStatus BillStatus; |
| | | |
| | | SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); |
| | | DataSet ds; |
| | | |
| | | |
| | | #region æ£éªä¾æ®å表 æä»¶ä¸ä¼ |
| | | [Route("Gy_InspectBasis/Gy_Process_Excel")] |
| | | [HttpPost] |
| | | public json Gy_InspectBasis_Excel() |
| | | { |
| | | json res = new json(); |
| | | try |
| | | { |
| | | //è·åæä»¶åç§° |
| | | var file = HttpContext.Current.Request.Files[0]; |
| | | //è·åæä»¶ç©çè·¯å¾ |
| | | string ExcelPath = HttpContext.Current.Server.MapPath("~/" + file.FileName); |
| | | //ä¿åæä»¶ |
| | | file.SaveAs(ExcelPath); |
| | | |
| | | NpoiHelper np = new NpoiHelper(); |
| | | DataSet ExcelDs = np.ReadExcel(ExcelPath, 1, 1, "0"); |
| | | |
| | | //å 餿件 |
| | | File.Delete(ExcelPath); |
| | | |
| | | //å建临æ¶è¡¨ |
| | | DataTable provisional = new DataTable("dt2"); |
| | | |
| | | //æ·»å åå |
| | | for (int i = 0; i < ExcelDs.Tables[0].Columns.Count; i++) |
| | | { |
| | | provisional.Columns.Add(ExcelDs.Tables[0].Rows[0][i].ToString()); |
| | | } |
| | | |
| | | //æ·»å æ°æ® |
| | | for (int i = 1; i < ExcelDs.Tables[0].Rows.Count; i++) |
| | | { |
| | | DataRow row = provisional.NewRow(); |
| | | for (int j = 0; j < ExcelDs.Tables[0].Columns.Count; j++) |
| | | { |
| | | row[j] = ExcelDs.Tables[0].Rows[i][j].ToString(); |
| | | } |
| | | provisional.Rows.Add(row); |
| | | } |
| | | |
| | | //夿å |
| | | string error = JudgmentColumns(provisional); |
| | | if (error.Length > 0) |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = $"Excel模æ¿åå¨é误,{error}\r\n"; |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | |
| | | for (int i = 0; i <= provisional.Rows.Count - 1; i++) |
| | | { |
| | | string HNumber = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["æ£éªä¾æ®ä»£ç "].ToString()); |
| | | string HName = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["æ£éªä¾æ®åç§°"].ToString()); |
| | | string HHelpCode = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["å©è®°ç "]); |
| | | string HRemark = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["夿³¨"].ToString()); |
| | | //è·åçå®è¡æ° |
| | | int line = i + 1; |
| | | } |
| | | |
| | | res.code = "1"; |
| | | res.count = 1; |
| | | res.Message = error; |
| | | res.data = provisional; |
| | | return res; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = "Exceptionï¼" + e.ToString(); |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 夿å |
| | | /// </summary> |
| | | /// <param name="provisional"></param> |
| | | /// <returns></returns> |
| | | private static string JudgmentColumns(DataTable provisional) |
| | | { |
| | | var error = ""; |
| | | |
| | | //æ¥è¯¢æ²¡æçå |
| | | if (!provisional.Columns.Contains("æ£éªä¾æ®ä»£ç ")) |
| | | error += "æ²¡ææ¾å°ãæ£éªä¾æ®ä»£ç ãçæ é¢,"; |
| | | |
| | | if (!provisional.Columns.Contains("æ£éªä¾æ®åç§°")) |
| | | error += "æ²¡ææ¾å°ãæ£éªä¾æ®åç§°ãçæ é¢,"; |
| | | return error; |
| | | } |
| | | #endregion |
| | | |
| | | #region æ£éªä¾æ®å表 导å
¥(ä¿å) |
| | | [Route("Gy_InspectBasis/Gy_Process_btnSave")] |
| | | [HttpPost] |
| | | public object Gy_InspectBasis_btnSave([FromBody] JObject sMainSub) |
| | | { |
| | | var _value = sMainSub["sMainSub"].ToString(); |
| | | string msg1 = _value.ToString(); |
| | | string[] sArray = msg1.Split(new string[] { "&å" }, StringSplitOptions.RemoveEmptyEntries); |
| | | string msg2 = sArray[0].ToString(); |
| | | string user = sArray[1].ToString(); |
| | | string organ = sArray[2].ToString(); |
| | | json res = new json(); |
| | | try |
| | | { |
| | | if (!DBUtility.ClsPub.Security_Log("Gy_Group_Edit", 1, false, user)) |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = "æ ä¿åæéï¼"; |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | |
| | | List<object> Excel = Newtonsoft.Json.JsonConvert.DeserializeObject<List<object>>(msg2); |
| | | List<Dictionary<string, string>> list = new List<Dictionary<string, string>>(); |
| | | |
| | | foreach (JObject item in Excel) |
| | | { |
| | | Dictionary<string, string> dic = new Dictionary<string, string>(); |
| | | foreach (var itm in item.Properties()) |
| | | { |
| | | dic.Add(itm.Name, itm.Value.ToString()); |
| | | } |
| | | list.Add(dic); |
| | | } |
| | | |
| | | oCN.BeginTran(); |
| | | int i = 1; |
| | | foreach (Dictionary<string, string> item in list) |
| | | { |
| | | string HNumber = item["æ£éªä¾æ®ä»£ç "].ToString(); |
| | | string HName = item["æ£éªä¾æ®åç§°"].ToString(); |
| | | string HHelpCode = item["å©è®°ç "]; |
| | | string HRemark = item["夿³¨"].ToString(); |
| | | |
| | | string sShortNumber; |
| | | sShortNumber = DBUtility.ClsPub.GetShortNumber(HNumber);//ç代ç |
| | | if (sShortNumber.Trim() == "") |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = "ä¿å失败ï¼ç代ç 为空ï¼"; |
| | | res.data = 1; |
| | | return res; |
| | | } |
| | | int HEndFlag = 1;//æ«çº§æ å¿ |
| | | int HLevel = DBUtility.ClsPub.GetLevel(HNumber); //ç级 |
| | | |
| | | |
| | | if (!DBUtility.ClsPub.AllowNumber(HNumber.Trim())) |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = "ä¿å失败ï¼ä»£ç ä¸ä¸è½åºç°è¿ç»â.âå¹¶ä¸é¦ä½æ«ä½ä¸è½ä¸ºâ.âï¼"; |
| | | res.data = 1; |
| | | return res; |
| | | } |
| | | |
| | | ds = oCN.RunProcReturn("select * from Gy_InspectBasis where HNumber='" + HNumber + "'", "Gy_InspectInstruMent"); |
| | | |
| | | if (ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | |
| | | string sql = "insert into Gy_InspectBasis (HName,HNumber,HShortNumber,HLevel,HHelpCode,HParentID,HStopflag,HEndFlag,HRemark,HUseFlag, HUSEORGID, HCREATEORGID, HMakeTime,HMakeEmp)" + |
| | | $"values('{HName}', '{HNumber}', '{sShortNumber}',{HLevel},'',0,'0','0','{HRemark}', 'æªä½¿ç¨', '{organ}', '{organ}', '{System.DateTime.Now.ToString("G")}', '{user}')"; |
| | | oCN.RunProc(sql); |
| | | } |
| | | else |
| | | { |
| | | oCN.RunProc("update Gy_InspectBasis set HName='" + HName + "', HHelpCode= '" + HHelpCode + "', HModifyEmp = '" + user + "', HModifyTime = '" + System.DateTime.Now.ToString("G") + "' where HNumber= '" + HNumber + "'"); |
| | | } |
| | | |
| | | i++; |
| | | } |
| | | |
| | | oCN.Commit(); |
| | | |
| | | res.code = "1"; |
| | | res.count = 1; |
| | | res.Message = "导å
¥æå!"; |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | LogService.Write(e); |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = "Exceptionï¼" + e.ToString(); |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | } |
| | | #endregion |
| | | } |
| | | } |
New file |
| | |
| | | using Newtonsoft.Json.Linq; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Data; |
| | | using System.IO; |
| | | using System.Linq; |
| | | using System.Net; |
| | | using System.Net.Http; |
| | | using System.Web; |
| | | using System.Web.Http; |
| | | using WebAPI.Controllers.SCGL.æ¥è®¡å管ç; |
| | | using WebAPI.Models; |
| | | |
| | | namespace WebAPI.Controllers.ZLGL.BaseSet |
| | | { |
| | | public class Gy_InspectInstruMentController : ApiController |
| | | { |
| | | public DBUtility.ClsPub.Enum_BillStatus BillStatus; |
| | | |
| | | SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); |
| | | DataSet ds; |
| | | |
| | | |
| | | #region æ ¡éªé¡¹ç®å表 æä»¶ä¸ä¼ |
| | | [Route("Gy_Quality/Gy_Process_Excel")] |
| | | [HttpPost] |
| | | public json Gy_Quality_Excel() |
| | | { |
| | | json res = new json(); |
| | | try |
| | | { |
| | | //è·åæä»¶åç§° |
| | | var file = HttpContext.Current.Request.Files[0]; |
| | | //è·åæä»¶ç©çè·¯å¾ |
| | | string ExcelPath = HttpContext.Current.Server.MapPath("~/" + file.FileName); |
| | | //ä¿åæä»¶ |
| | | file.SaveAs(ExcelPath); |
| | | |
| | | NpoiHelper np = new NpoiHelper(); |
| | | DataSet ExcelDs = np.ReadExcel(ExcelPath, 1, 1, "0"); |
| | | |
| | | //å 餿件 |
| | | File.Delete(ExcelPath); |
| | | |
| | | //å建临æ¶è¡¨ |
| | | DataTable provisional = new DataTable("dt2"); |
| | | |
| | | //æ·»å åå |
| | | for (int i = 0; i < ExcelDs.Tables[0].Columns.Count; i++) |
| | | { |
| | | provisional.Columns.Add(ExcelDs.Tables[0].Rows[0][i].ToString()); |
| | | } |
| | | |
| | | //æ·»å æ°æ® |
| | | for (int i = 1; i < ExcelDs.Tables[0].Rows.Count; i++) |
| | | { |
| | | DataRow row = provisional.NewRow(); |
| | | for (int j = 0; j < ExcelDs.Tables[0].Columns.Count; j++) |
| | | { |
| | | row[j] = ExcelDs.Tables[0].Rows[i][j].ToString(); |
| | | } |
| | | provisional.Rows.Add(row); |
| | | } |
| | | |
| | | //夿å |
| | | string error = JudgmentColumns(provisional); |
| | | if (error.Length > 0) |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = $"Excel模æ¿åå¨é误,{error}\r\n"; |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | |
| | | for (int i = 0; i <= provisional.Rows.Count - 1; i++) |
| | | { |
| | | string HNumber = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["è´¨éæ å代ç "].ToString()); |
| | | string HName = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["è´¨éæ ååç§°"].ToString()); |
| | | string HHelpCode = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["å©è®°ç "]); |
| | | string HRemark = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["夿³¨"].ToString()); |
| | | //è·åçå®è¡æ° |
| | | int line = i + 1; |
| | | } |
| | | |
| | | res.code = "1"; |
| | | res.count = 1; |
| | | res.Message = error; |
| | | res.data = provisional; |
| | | return res; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = "Exceptionï¼" + e.ToString(); |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 夿å |
| | | /// </summary> |
| | | /// <param name="provisional"></param> |
| | | /// <returns></returns> |
| | | private static string JudgmentColumns(DataTable provisional) |
| | | { |
| | | var error = ""; |
| | | |
| | | //æ¥è¯¢æ²¡æçå |
| | | if (!provisional.Columns.Contains("è´¨éæ å代ç ")) |
| | | error += "æ²¡ææ¾å°ãè´¨éæ å代ç ãçæ é¢,"; |
| | | |
| | | if (!provisional.Columns.Contains("è´¨éæ ååç§°")) |
| | | error += "æ²¡ææ¾å°ãè´¨éæ ååç§°ãçæ é¢,"; |
| | | return error; |
| | | } |
| | | #endregion |
| | | |
| | | #region æ£éªæ¹æ³å表 导å
¥(ä¿å) |
| | | [Route("Gy_Quality/Gy_Process_btnSave")] |
| | | [HttpPost] |
| | | public object Gy_Quality_btnSave([FromBody] JObject sMainSub) |
| | | { |
| | | var _value = sMainSub["sMainSub"].ToString(); |
| | | string msg1 = _value.ToString(); |
| | | string[] sArray = msg1.Split(new string[] { "&å" }, StringSplitOptions.RemoveEmptyEntries); |
| | | string msg2 = sArray[0].ToString(); |
| | | string user = sArray[1].ToString(); |
| | | json res = new json(); |
| | | try |
| | | { |
| | | if (!DBUtility.ClsPub.Security_Log("Gy_Group_Edit", 1, false, user)) |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = "æ ä¿åæéï¼"; |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | |
| | | List<object> Excel = Newtonsoft.Json.JsonConvert.DeserializeObject<List<object>>(msg2); |
| | | List<Dictionary<string, string>> list = new List<Dictionary<string, string>>(); |
| | | |
| | | foreach (JObject item in Excel) |
| | | { |
| | | Dictionary<string, string> dic = new Dictionary<string, string>(); |
| | | foreach (var itm in item.Properties()) |
| | | { |
| | | dic.Add(itm.Name, itm.Value.ToString()); |
| | | } |
| | | list.Add(dic); |
| | | } |
| | | |
| | | oCN.BeginTran(); |
| | | int i = 1; |
| | | foreach (Dictionary<string, string> item in list) |
| | | { |
| | | string HNumber = item["è´¨éæ å代ç "].ToString(); |
| | | string HName = item["è´¨éæ ååç§°"].ToString(); |
| | | string HHelpCode = item["å©è®°ç "]; |
| | | string HRemark = item["夿³¨"].ToString(); |
| | | |
| | | string sShortNumber; |
| | | sShortNumber = DBUtility.ClsPub.GetShortNumber(HNumber);//ç代ç |
| | | if (sShortNumber.Trim() == "") |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = "ä¿å失败ï¼ç代ç 为空ï¼"; |
| | | res.data = 1; |
| | | return res; |
| | | } |
| | | int HEndFlag = 1;//æ«çº§æ å¿ |
| | | int HLevel = DBUtility.ClsPub.GetLevel(HNumber); //ç级 |
| | | |
| | | |
| | | if (!DBUtility.ClsPub.AllowNumber(HNumber.Trim())) |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = "ä¿å失败ï¼ä»£ç ä¸ä¸è½åºç°è¿ç»â.âå¹¶ä¸é¦ä½æ«ä½ä¸è½ä¸ºâ.âï¼"; |
| | | res.data = 1; |
| | | return res; |
| | | } |
| | | |
| | | ds = oCN.RunProcReturn("select * from Gy_QualityStd where HNumber='" + HNumber + "'", "Gy_InspectMethod"); |
| | | |
| | | if (ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | |
| | | string sql = "insert into Gy_QualityStd (HName,HNumber,HShortNumber,HLevel,HHelpCode,HParentID,HStopflag,HEndFlag,HRemark,HUseFlag, HMakeTime,HMakeEmp)" + |
| | | $"values('{HName}', '{HNumber}', '{sShortNumber}',{HLevel},'',0,'0','0','{HRemark}', 'æªä½¿ç¨', '{System.DateTime.Now.ToString("G")}', '{user}')"; |
| | | oCN.RunProc(sql); |
| | | } |
| | | else |
| | | { |
| | | oCN.RunProc("update Gy_QualityStd set HName='" + HName + "', HHelpCode= '" + HHelpCode + "', HModifyEmp = '" + user + "', HModifyTime = '" + System.DateTime.Now.ToString("G") + "' where HNumber= '" + HNumber + "'"); |
| | | } |
| | | |
| | | i++; |
| | | } |
| | | |
| | | oCN.Commit(); |
| | | |
| | | res.code = "1"; |
| | | res.count = 1; |
| | | res.Message = "导å
¥æå!"; |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | LogService.Write(e); |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = "Exceptionï¼" + e.ToString(); |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | } |
| | | #endregion |
| | | } |
| | | } |
New file |
| | |
| | | using Newtonsoft.Json.Linq; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Data; |
| | | using System.IO; |
| | | using System.Linq; |
| | | using System.Net; |
| | | using System.Net.Http; |
| | | using System.Web; |
| | | using System.Web.Http; |
| | | using WebAPI.Controllers.SCGL.æ¥è®¡å管ç; |
| | | using WebAPI.Models; |
| | | |
| | | namespace WebAPI.Controllers.ZLGL.BaseSet |
| | | { |
| | | public class Gy_InspectInstruMentController : ApiController |
| | | { |
| | | public DBUtility.ClsPub.Enum_BillStatus BillStatus; |
| | | |
| | | SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); |
| | | DataSet ds; |
| | | |
| | | |
| | | #region æ ¡éªé¡¹ç®å表 æä»¶ä¸ä¼ |
| | | [Route("Gy_InspectInstruMent/Gy_Process_Excel")] |
| | | [HttpPost] |
| | | public json Gy_InspectInstruMent_Excel() |
| | | { |
| | | json res = new json(); |
| | | try |
| | | { |
| | | //è·åæä»¶åç§° |
| | | var file = HttpContext.Current.Request.Files[0]; |
| | | //è·åæä»¶ç©çè·¯å¾ |
| | | string ExcelPath = HttpContext.Current.Server.MapPath("~/" + file.FileName); |
| | | //ä¿åæä»¶ |
| | | file.SaveAs(ExcelPath); |
| | | |
| | | NpoiHelper np = new NpoiHelper(); |
| | | DataSet ExcelDs = np.ReadExcel(ExcelPath, 1, 1, "0"); |
| | | |
| | | //å 餿件 |
| | | File.Delete(ExcelPath); |
| | | |
| | | //å建临æ¶è¡¨ |
| | | DataTable provisional = new DataTable("dt2"); |
| | | |
| | | //æ·»å åå |
| | | for (int i = 0; i < ExcelDs.Tables[0].Columns.Count; i++) |
| | | { |
| | | provisional.Columns.Add(ExcelDs.Tables[0].Rows[0][i].ToString()); |
| | | } |
| | | |
| | | //æ·»å æ°æ® |
| | | for (int i = 1; i < ExcelDs.Tables[0].Rows.Count; i++) |
| | | { |
| | | DataRow row = provisional.NewRow(); |
| | | for (int j = 0; j < ExcelDs.Tables[0].Columns.Count; j++) |
| | | { |
| | | row[j] = ExcelDs.Tables[0].Rows[i][j].ToString(); |
| | | } |
| | | provisional.Rows.Add(row); |
| | | } |
| | | |
| | | //夿å |
| | | string error = JudgmentColumns(provisional); |
| | | if (error.Length > 0) |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = $"Excel模æ¿åå¨é误,{error}\r\n"; |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | |
| | | for (int i = 0; i <= provisional.Rows.Count - 1; i++) |
| | | { |
| | | string HNumber = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["æ£éªä»ªå¨ä»£ç "].ToString()); |
| | | string HName = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["æ£éªä»ªå¨åç§°"].ToString()); |
| | | string HHelpCode = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["å©è®°ç "]); |
| | | string HRemark = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["夿³¨"].ToString()); |
| | | //è·åçå®è¡æ° |
| | | int line = i + 1; |
| | | } |
| | | |
| | | res.code = "1"; |
| | | res.count = 1; |
| | | res.Message = error; |
| | | res.data = provisional; |
| | | return res; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = "Exceptionï¼" + e.ToString(); |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 夿å |
| | | /// </summary> |
| | | /// <param name="provisional"></param> |
| | | /// <returns></returns> |
| | | private static string JudgmentColumns(DataTable provisional) |
| | | { |
| | | var error = ""; |
| | | |
| | | //æ¥è¯¢æ²¡æçå |
| | | if (!provisional.Columns.Contains("æ£éªä»ªå¨ä»£ç ")) |
| | | error += "æ²¡ææ¾å°ãæ£éªä»ªå¨ä»£ç ãçæ é¢,"; |
| | | |
| | | if (!provisional.Columns.Contains("æ£éªä»ªå¨åç§°")) |
| | | error += "æ²¡ææ¾å°ãæ£éªä»ªå¨åç§°ãçæ é¢,"; |
| | | return error; |
| | | } |
| | | #endregion |
| | | |
| | | #region æ£éªæ¹æ³å表 导å
¥(ä¿å) |
| | | [Route("Gy_InspectInstruMent/Gy_Process_btnSave")] |
| | | [HttpPost] |
| | | public object Gy_InspectInstruMent_btnSave([FromBody] JObject sMainSub) |
| | | { |
| | | var _value = sMainSub["sMainSub"].ToString(); |
| | | string msg1 = _value.ToString(); |
| | | string[] sArray = msg1.Split(new string[] { "&å" }, StringSplitOptions.RemoveEmptyEntries); |
| | | string msg2 = sArray[0].ToString(); |
| | | string user = sArray[1].ToString(); |
| | | string organ = sArray[2].ToString(); |
| | | json res = new json(); |
| | | try |
| | | { |
| | | if (!DBUtility.ClsPub.Security_Log("Gy_Group_Edit", 1, false, user)) |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = "æ ä¿åæéï¼"; |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | |
| | | List<object> Excel = Newtonsoft.Json.JsonConvert.DeserializeObject<List<object>>(msg2); |
| | | List<Dictionary<string, string>> list = new List<Dictionary<string, string>>(); |
| | | |
| | | foreach (JObject item in Excel) |
| | | { |
| | | Dictionary<string, string> dic = new Dictionary<string, string>(); |
| | | foreach (var itm in item.Properties()) |
| | | { |
| | | dic.Add(itm.Name, itm.Value.ToString()); |
| | | } |
| | | list.Add(dic); |
| | | } |
| | | |
| | | oCN.BeginTran(); |
| | | int i = 1; |
| | | foreach (Dictionary<string, string> item in list) |
| | | { |
| | | string HNumber = item["æ£éªä»ªå¨ä»£ç "].ToString(); |
| | | string HName = item["æ£éªä»ªå¨åç§°"].ToString(); |
| | | string HHelpCode = item["å©è®°ç "]; |
| | | string HRemark = item["夿³¨"].ToString(); |
| | | |
| | | string sShortNumber; |
| | | sShortNumber = DBUtility.ClsPub.GetShortNumber(HNumber);//ç代ç |
| | | if (sShortNumber.Trim() == "") |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = "ä¿å失败ï¼ç代ç 为空ï¼"; |
| | | res.data = 1; |
| | | return res; |
| | | } |
| | | int HEndFlag = 1;//æ«çº§æ å¿ |
| | | int HLevel = DBUtility.ClsPub.GetLevel(HNumber); //ç级 |
| | | |
| | | |
| | | if (!DBUtility.ClsPub.AllowNumber(HNumber.Trim())) |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = "ä¿å失败ï¼ä»£ç ä¸ä¸è½åºç°è¿ç»â.âå¹¶ä¸é¦ä½æ«ä½ä¸è½ä¸ºâ.âï¼"; |
| | | res.data = 1; |
| | | return res; |
| | | } |
| | | |
| | | ds = oCN.RunProcReturn("select * from Gy_InspectInstruMent where HNumber='" + HNumber + "'", "Gy_InspectInstruMent"); |
| | | |
| | | if (ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | |
| | | string sql = "insert into Gy_InspectInstruMent (HName,HNumber,HShortNumber,HLevel,HHelpCode,HParentID,HStopflag,HEndFlag,HRemark,HUseFlag, HUSEORGID, HCREATEORGID, HMakeTime,HMakeEmp)" + |
| | | $"values('{HName}', '{HNumber}', '{sShortNumber}',{HLevel},'',0,'0','0','{HRemark}', 'æªä½¿ç¨', '{organ}', '{organ}', '{System.DateTime.Now.ToString("G")}', '{user}')"; |
| | | oCN.RunProc(sql); |
| | | } |
| | | else |
| | | { |
| | | oCN.RunProc("update Gy_InspectInstruMent set HName='" + HName + "', HHelpCode= '" + HHelpCode + "', HModifyEmp = '" + user + "', HModifyTime = '" + System.DateTime.Now.ToString("G") + "' where HNumber= '" + HNumber + "'"); |
| | | } |
| | | |
| | | i++; |
| | | } |
| | | |
| | | oCN.Commit(); |
| | | |
| | | res.code = "1"; |
| | | res.count = 1; |
| | | res.Message = "导å
¥æå!"; |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | LogService.Write(e); |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = "Exceptionï¼" + e.ToString(); |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | } |
| | | #endregion |
| | | } |
| | | } |
New file |
| | |
| | | using Newtonsoft.Json.Linq; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Data; |
| | | using System.IO; |
| | | using System.Linq; |
| | | using System.Net; |
| | | using System.Net.Http; |
| | | using System.Web; |
| | | using System.Web.Http; |
| | | using WebAPI.Controllers.SCGL.æ¥è®¡å管ç; |
| | | using WebAPI.Models; |
| | | |
| | | namespace WebAPI.Controllers.ZLGL |
| | | { |
| | | public class Gy_QualityController : ApiController |
| | | { |
| | | public DBUtility.ClsPub.Enum_BillStatus BillStatus; |
| | | |
| | | SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); |
| | | DataSet ds; |
| | | |
| | | #region æ ¡éªé¡¹ç®å表 æä»¶ä¸ä¼ |
| | | [Route("Gy_Quality/Gy_Process_Excel")] |
| | | [HttpPost] |
| | | public json Gy_Quality_Excel() |
| | | { |
| | | json res = new json(); |
| | | try |
| | | { |
| | | //è·åæä»¶åç§° |
| | | var file = HttpContext.Current.Request.Files[0]; |
| | | //è·åæä»¶ç©çè·¯å¾ |
| | | string ExcelPath = HttpContext.Current.Server.MapPath("~/" + file.FileName); |
| | | //ä¿åæä»¶ |
| | | file.SaveAs(ExcelPath); |
| | | |
| | | NpoiHelper np = new NpoiHelper(); |
| | | DataSet ExcelDs = np.ReadExcel(ExcelPath, 1, 1, "0"); |
| | | |
| | | //å 餿件 |
| | | File.Delete(ExcelPath); |
| | | |
| | | //å建临æ¶è¡¨ |
| | | DataTable provisional = new DataTable("dt2"); |
| | | |
| | | //æ·»å åå |
| | | for (int i = 0; i < ExcelDs.Tables[0].Columns.Count; i++) |
| | | { |
| | | provisional.Columns.Add(ExcelDs.Tables[0].Rows[0][i].ToString()); |
| | | } |
| | | |
| | | //æ·»å æ°æ® |
| | | for (int i = 1; i < ExcelDs.Tables[0].Rows.Count; i++) |
| | | { |
| | | DataRow row = provisional.NewRow(); |
| | | for (int j = 0; j < ExcelDs.Tables[0].Columns.Count; j++) |
| | | { |
| | | row[j] = ExcelDs.Tables[0].Rows[i][j].ToString(); |
| | | } |
| | | provisional.Rows.Add(row); |
| | | } |
| | | |
| | | //夿å |
| | | string error = JudgmentColumns(provisional); |
| | | if (error.Length > 0) |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = $"Excel模æ¿åå¨é误,{error}\r\n"; |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | |
| | | for (int i = 0; i <= provisional.Rows.Count - 1; i++) |
| | | { |
| | | string HNumber = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["è´¨éæ å代ç "].ToString()); |
| | | string HName = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["è´¨éæ ååç§°"].ToString()); |
| | | string HHelpCode = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["å©è®°ç "]); |
| | | string HRemark = DBUtility.ClsPub.isStrNull(provisional.Rows[i]["夿³¨"].ToString()); |
| | | //è·åçå®è¡æ° |
| | | int line = i + 1; |
| | | } |
| | | |
| | | res.code = "1"; |
| | | res.count = 1; |
| | | res.Message = error; |
| | | res.data = provisional; |
| | | return res; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = "Exceptionï¼" + e.ToString(); |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 夿å |
| | | /// </summary> |
| | | /// <param name="provisional"></param> |
| | | /// <returns></returns> |
| | | private static string JudgmentColumns(DataTable provisional) |
| | | { |
| | | var error = ""; |
| | | |
| | | //æ¥è¯¢æ²¡æçå |
| | | if (!provisional.Columns.Contains("è´¨éæ å代ç ")) |
| | | error += "æ²¡ææ¾å°ãè´¨éæ å代ç ãçæ é¢,"; |
| | | |
| | | if (!provisional.Columns.Contains("è´¨éæ ååç§°")) |
| | | error += "æ²¡ææ¾å°ãè´¨éæ ååç§°ãçæ é¢,"; |
| | | return error; |
| | | } |
| | | #endregion |
| | | |
| | | #region æ£éªæ¹æ³å表 导å
¥(ä¿å) |
| | | [Route("Gy_Quality/Gy_Process_btnSave")] |
| | | [HttpPost] |
| | | public object Gy_Quality_btnSave([FromBody] JObject sMainSub) |
| | | { |
| | | var _value = sMainSub["sMainSub"].ToString(); |
| | | string msg1 = _value.ToString(); |
| | | string[] sArray = msg1.Split(new string[] { "&å" }, StringSplitOptions.RemoveEmptyEntries); |
| | | string msg2 = sArray[0].ToString(); |
| | | string user = sArray[1].ToString(); |
| | | string organ = sArray[2].ToString(); |
| | | json res = new json(); |
| | | try |
| | | { |
| | | if (!DBUtility.ClsPub.Security_Log("Gy_Group_Edit", 1, false, user)) |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = "æ ä¿åæéï¼"; |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | |
| | | List<object> Excel = Newtonsoft.Json.JsonConvert.DeserializeObject<List<object>>(msg2); |
| | | List<Dictionary<string, string>> list = new List<Dictionary<string, string>>(); |
| | | |
| | | foreach (JObject item in Excel) |
| | | { |
| | | Dictionary<string, string> dic = new Dictionary<string, string>(); |
| | | foreach (var itm in item.Properties()) |
| | | { |
| | | dic.Add(itm.Name, itm.Value.ToString()); |
| | | } |
| | | list.Add(dic); |
| | | } |
| | | |
| | | oCN.BeginTran(); |
| | | int i = 1; |
| | | foreach (Dictionary<string, string> item in list) |
| | | { |
| | | string HNumber = item["è´¨éæ å代ç "].ToString(); |
| | | string HName = item["è´¨éæ ååç§°"].ToString(); |
| | | string HHelpCode = item["å©è®°ç "]; |
| | | string HRemark = item["夿³¨"].ToString(); |
| | | |
| | | string sShortNumber; |
| | | sShortNumber = DBUtility.ClsPub.GetShortNumber(HNumber);//ç代ç |
| | | if (sShortNumber.Trim() == "") |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = "ä¿å失败ï¼ç代ç 为空ï¼"; |
| | | res.data = 1; |
| | | return res; |
| | | } |
| | | int HEndFlag = 1;//æ«çº§æ å¿ |
| | | int HLevel = DBUtility.ClsPub.GetLevel(HNumber); //ç级 |
| | | |
| | | |
| | | if (!DBUtility.ClsPub.AllowNumber(HNumber.Trim())) |
| | | { |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = "ä¿å失败ï¼ä»£ç ä¸ä¸è½åºç°è¿ç»â.âå¹¶ä¸é¦ä½æ«ä½ä¸è½ä¸ºâ.âï¼"; |
| | | res.data = 1; |
| | | return res; |
| | | } |
| | | |
| | | ds = oCN.RunProcReturn("select * from Gy_QualityStd where HNumber='" + HNumber + "'", "Gy_InspectMethod"); |
| | | |
| | | if (ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | |
| | | string sql = "insert into Gy_QualityStd (HName,HNumber,HShortNumber,HLevel,HHelpCode,HParentID,HStopflag,HEndFlag,HRemark,HUseFlag, HUSEORGID, HCREATEORGID, HMakeTime,HMakeEmp)" + |
| | | $"values('{HName}', '{HNumber}', '{sShortNumber}',{HLevel},'',0,'0','0','{HRemark}', 'æªä½¿ç¨', '{organ}', '{organ}', '{System.DateTime.Now.ToString("G")}', '{user}')"; |
| | | oCN.RunProc(sql); |
| | | } |
| | | else |
| | | { |
| | | oCN.RunProc("update Gy_QualityStd set HName='" + HName + "', HHelpCode= '" + HHelpCode + "', HModifyEmp = '" + user + "', HModifyTime = '" + System.DateTime.Now.ToString("G") + "' where HNumber= '" + HNumber + "'"); |
| | | } |
| | | |
| | | i++; |
| | | } |
| | | |
| | | oCN.Commit(); |
| | | |
| | | res.code = "1"; |
| | | res.count = 1; |
| | | res.Message = "导å
¥æå!"; |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | LogService.Write(e); |
| | | res.code = "0"; |
| | | res.count = 0; |
| | | res.Message = "Exceptionï¼" + e.ToString(); |
| | | res.data = null; |
| | | return res; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | } |
| | | } |
| | |
| | | } |
| | | #endregion |
| | | |
| | | #region æ¡ç æç» |
| | | /// <summary> |
| | | /// </summary> |
| | | /// <param name="HInterID">忮ID</param> |
| | | /// <returns></returns> |
| | | [Route("Kf_MateOutBillController/BarCodeNote")] |
| | | [HttpGet] |
| | | public object SellOutBill_BarCodeNote(int HInterID) |
| | | { |
| | | try |
| | | { |
| | | List<object> columnNameListSum = new List<object>(); |
| | | List<object> columnNameList0 = new List<object>(); |
| | | List<object> columnNameList1 = new List<object>(); |
| | | List<object> columnNameList2 = new List<object>(); |
| | | |
| | | string sql = "exec h_p_IFCLD_ERPSourceBillToLocal_MateOut " + HInterID; |
| | | ds = oCn.RunProcReturn(sql, " h_p_IFCLD_ERPSourceBillToLocal_MateOut"); |
| | | |
| | | //æ·»å åºæ¬ä¿¡æ¯ åå |
| | | foreach (DataColumn col in ds.Tables[1].Columns) |
| | | { |
| | | Type dataType = col.DataType; |
| | | string ColmString = "{\"ColmCols\":\"" + col.ColumnName + "\",\"ColmType\":\"" + dataType.Name + "\"}"; |
| | | columnNameList0.Add(JsonConvert.DeserializeObject(ColmString));//è·åå°DataColumnå对象çåå |
| | | } |
| | | |
| | | //æ·»å ç åä¿¡æ¯ åå |
| | | foreach (DataColumn col in ds.Tables[2].Columns) |
| | | { |
| | | Type dataType = col.DataType; |
| | | string ColmString = "{\"ColmCols\":\"" + col.ColumnName + "\",\"ColmType\":\"" + dataType.Name + "\"}"; |
| | | columnNameList1.Add(JsonConvert.DeserializeObject(ColmString));//è·åå°DataColumnå对象çåå |
| | | } |
| | | |
| | | //æ·»å æ¡ç æç» åå |
| | | foreach (DataColumn col in ds.Tables[3].Columns) |
| | | { |
| | | Type dataType = col.DataType; |
| | | string ColmString = "{\"ColmCols\":\"" + col.ColumnName + "\",\"ColmType\":\"" + dataType.Name + "\"}"; |
| | | columnNameList2.Add(JsonConvert.DeserializeObject(ColmString));//è·åå°DataColumnå对象çåå |
| | | } |
| | | |
| | | columnNameListSum.Add(columnNameList0); |
| | | columnNameListSum.Add(columnNameList1); |
| | | columnNameListSum.Add(columnNameList2); |
| | | |
| | | List<DataTable> tableList = new List<DataTable>(); |
| | | tableList.Add(ds.Tables[1]); |
| | | tableList.Add(ds.Tables[2]); |
| | | tableList.Add(ds.Tables[3]); |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "Sucessï¼"; |
| | | objJsonResult.data = tableList; |
| | | objJsonResult.list = columnNameListSum; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | } |
| | | } |
| | |
| | | |
| | | [Route("QC_CustomerAppealReport/SB_EquipICMOTechParamList")] |
| | | [HttpGet] |
| | | public object SB_EquipICMOTechParamList(string sWhere, string user) |
| | | public object SB_EquipICMOTechParamList(string sWhere, string user,string Type) |
| | | { |
| | | try |
| | | { |
| | |
| | | return objJsonResult; |
| | | } |
| | | |
| | | ds = oCN.RunProcReturn("exec h_p_SB_EquipICMOTechParamBillList '" + HProcExchBillNo + "','" + HProcName + "','" + HTechParamName + "','"+HEquipName+"'", "h_p_SB_EquipICMOTechParamBillList"); |
| | | ds = oCN.RunProcReturn("exec h_p_SB_EquipICMOTechParamBillList '" + HProcExchBillNo + "','" + HProcName + "','" + HTechParamName + "','"+HEquipName+"','"+Type+"'", "h_p_SB_EquipICMOTechParamBillList"); |
| | | |
| | | //æ·»å åå |
| | | foreach (DataColumn col in ds.Tables[0].Columns) |
| | |
| | | } |
| | | #endregion |
| | | |
| | | #region å·¥èµç»ç®å(éä½)模å ä»å表é䏿å¼åæ®ï¼è¿ååæ®ä¿¡æ¯æ¶è°ç¨ |
| | | /// <summary> |
| | | /// å·¥èµç»ç®å(éä½)ç¼è¾æ¶ï¼æ ¹æ®åæ®IDè·ååæ®ä¿¡æ¯ |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [Route("Pay_GroupBalBillController/GetPay_GroupBalBill_Json")] |
| | | [HttpGet] |
| | | public object GetPay_GroupBalBill_Json(Int64 HInterID, string HMaker) |
| | | { |
| | | try |
| | | { |
| | | //夿æé |
| | | if (!DBUtility.ClsPub.Security_Log(ModRightNameEdit, 3, false, HMaker)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ¨æ²¡æè¯¥æ¨¡åç¼è¾æé,请ä¸ç®¡çåèç³»ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | //è¿ååè¡¨ä¿¡æ¯ |
| | | ds = oCn.RunProcReturn("exec h_p_Pay_GroupBalBill_EditInit " + HInterID, "h_p_Pay_GroupBalBill_EditInit"); |
| | | if (ds == null || ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æªæ¥è¯¢å°è¯¥å·¥èµç»ç®å(éä½)ï¼è¯·å·æ°æ°æ®åéæ°éæ©ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "æåï¼"; |
| | | objJsonResult.data = new |
| | | { |
| | | Mainlist = ds.Tables[0], //è¿å主表信æ¯ï¼0ï¼ |
| | | Sublist = ds.Tables[1], //è¿åå表1ä¿¡æ¯ï¼1ï¼ |
| | | Emplist = ds.Tables[2], //è¿åå表2ä¿¡æ¯ï¼2ï¼ |
| | | }; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "è¿åå·¥èµç»ç®å(éä½)ä¿¡æ¯å¤±è´¥ï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region å·¥èµç»ç®å(éä½)ä¿å |
| | | /// <summary> |
| | | /// å·¥èµç»ç®å(éä½)ä¿å |
| | | /// </summary> |
| | | [Route("Pay_GroupBalBillController/GetPay_GroupBalBill_Save_Json")] |
| | | [HttpPost] |
| | | public object GetPay_GroupBalBill_Save_Json([FromBody] JObject sMainSub) |
| | | { |
| | | var _value = sMainSub["sMainSub"].ToString(); |
| | | string msg1 = _value.ToString(); |
| | | string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); |
| | | string sMainStr = sArray[0].ToString(); //ä¸»è¡¨æ°æ® |
| | | string sSubStr = sArray[1].ToString(); //åè¡¨æ°æ® |
| | | string sSubStr2 = sArray[2].ToString(); //åè¡¨æ°æ®2 |
| | | string OperationType = sArray[3].ToString(); //æä½ç±»åï¼1æ°å¢ã2ç¼è¾ï¼ |
| | | string HMaker = sArray[4].ToString(); //å¶å人 |
| | | try |
| | | { |
| | | //夿æé |
| | | if (OperationType == "1") |
| | | { |
| | | BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; |
| | | //夿æ°å¢æé |
| | | if (!DBUtility.ClsPub.Security_Log(ModRightName, 1, false, HMaker)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ¨æ²¡æè¯¥æ¨¡åæ°å¢æé,请ä¸ç®¡çåèç³»ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_Modify; |
| | | //夿ç¼è¾æé |
| | | if (!DBUtility.ClsPub.Security_Log(ModRightNameEdit, 1, false, HMaker)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ¨æ²¡æè¯¥æ¨¡åç¼è¾æé,请ä¸ç®¡çåèç³»ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | //表头èµå¼ |
| | | sMainStr = sMainStr.Replace("\\", ""); |
| | | sMainStr = sMainStr.Replace("\n", ""); |
| | | sMainStr = "[" + sMainStr.ToString() + "]"; |
| | | List<Model.ClsPay_GroupBalBillMain> lsmain = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsPay_GroupBalBillMain>>(sMainStr); |
| | | foreach (Model.ClsPay_GroupBalBillMain oItem in lsmain) |
| | | { |
| | | //忮巿¯å¦éå¤ |
| | | if (oBill.IsExistBillNo(ref ClsPub.sExeReturnInfo, oItem.HBillNo, BillStatus, oItem.HInterID)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®å·éå¤ï¼ä¸å
许ä¿åï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | //夿ä¼è®¡ææ¯å¦åç |
| | | string s = ""; |
| | | int sYear = 0; |
| | | int sPeriod = 0; |
| | | if (DBUtility.Xt_BaseBillFun.Fun_AllowYearPeriod_Pay(oItem.HDate, ref sYear, ref sPeriod, ref s) == false) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = s; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | oItem.HYear = sYear; |
| | | oItem.HPeriod = sPeriod; |
| | | DBUtility.ClsPub.CurUserName = oItem.HMaker; |
| | | oBill.omodel = oItem; |
| | | } |
| | | //表ä½èµå¼ |
| | | //æ },{æ¥æåæ°ç» //廿ãåã |
| | | sSubStr = sSubStr.Substring(1, sSubStr.Length - 2); |
| | | sSubStr = sSubStr.Replace("\\", ""); |
| | | sSubStr = sSubStr.Replace("\n", ""); |
| | | sSubStr = "[" + sSubStr.ToString() + "]"; |
| | | List<Model.ClsPay_GroupBalBillSub> ls = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsPay_GroupBalBillSub>>(sSubStr); |
| | | int i = 0; |
| | | foreach (Model.ClsPay_GroupBalBillSub oItemSub in ls) |
| | | { |
| | | i++; |
| | | oItemSub.HEntryID = i; |
| | | oBill.DetailColl.Add(oItemSub); |
| | | } |
| | | //表ä½èµå¼2 |
| | | //æ },{æ¥æåæ°ç» //廿ãåã |
| | | sSubStr2 = sSubStr2.Substring(1, sSubStr2.Length - 2); |
| | | sSubStr2 = sSubStr2.Replace("\\", ""); |
| | | sSubStr2 = sSubStr2.Replace("\n", ""); |
| | | sSubStr2 = "[" + sSubStr2.ToString() + "]"; |
| | | List<Model.ClsPay_GroupBalBillEmp> ls2 = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsPay_GroupBalBillEmp>>(sSubStr2); |
| | | int j = 0; |
| | | foreach (Model.ClsPay_GroupBalBillEmp oItemSub2 in ls2) |
| | | { |
| | | j++; |
| | | oItemSub2.HEntryID = j; |
| | | oBill.DetailEmpColl.Add(oItemSub2); |
| | | } |
| | | |
| | | //ä¿å |
| | | bool bResult; |
| | | if (OperationType == "1") //æ°å¢ä¿å |
| | | { |
| | | bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); |
| | | } |
| | | else //ç¼è¾ä¿å |
| | | { |
| | | bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo); |
| | | } |
| | | |
| | | if (bResult) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = DBUtility.ClsPub.sExeReturnInfo; //æåï¼ |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "ä¿å失败ï¼" + DBUtility.ClsPub.sExeReturnInfo; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "ä¿å失败ï¼" + e.Message; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | |
| | | |
| | | |
| | |
| | | public string HOriginator; //å起人 |
| | | public string HTitle; //åæ®æ é¢ |
| | | |
| | | public string HInstanceStatus; //å®ä¾ç¶æ |
| | | public string HApprovedResult; //审æ¹ç»æ |
| | | |
| | | //åæ®å
容 |
| | | public string HDate; //æ¥æ |
| | |
| | | public string HOriginator; //å起人 |
| | | public string HTitle; //åæ®æ é¢ |
| | | |
| | | public string HInstanceStatus; //å®ä¾ç¶æ |
| | | public string HApprovedResult; //审æ¹ç»æ |
| | | |
| | | //åæ®å
容 |
| | | public string HDate; //æ¥æ |
| | |
| | | public string HOriginator; //å起人 |
| | | public string HTitle; //åæ®æ é¢ |
| | | |
| | | public string HInstanceStatus; //å®ä¾ç¶æ |
| | | public string HApprovedResult; //审æ¹ç»æ |
| | | |
| | | //åæ®å
容 |
| | | public string HEmployeeID; //æåID |
| | |
| | | public string HOriginator; //å起人 |
| | | public string HTitle; //åæ®æ é¢ |
| | | |
| | | public string HInstanceStatus; //å®ä¾ç¶æ |
| | | public string HApprovedResult; //审æ¹ç»æ |
| | | |
| | | //åæ®å
容 |
| | | public string HQuestionType; //é®é¢åç±» |
| | |
| | | //OriginatorId = "12", //æ ¹æ®æµç¨åèµ·äººå·¥å·æ¥è¯¢ã |
| | | |
| | | //TaskId = "12", //ä»»å¡IDã |
| | | CreateFromTimeGMT = DateTime.Now.ToString("dd") == "01"?"2022-01-01":DateTime.Now.AddDays(-14).ToString("yyyy-MM-dd"), //å建æ¶é´èµ·å§å¼ã |
| | | CreateFromTimeGMT = DateTime.Now.ToString("dd") == "01" ? "2022-01-01" : DateTime.Now.AddDays(-7).ToString("yyyy-MM-dd"), //å建æ¶é´èµ·å§å¼ã |
| | | CreateToTimeGMT = DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss"), //å建æ¶é´ç»æ¢å¼ã |
| | | |
| | | PageSize = pageSize, //å页大å°ã |
| | |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #endregion |
| | | |
| | | #region æ°æ®åæ¥æ¹æ³ |
| | |
| | | int startindex = response.Body.Result[i].Title.IndexOf("zh_CN") + 8; |
| | | oItem.HTitle = startIndex + response.Body.Result[i].Title.Substring(startindex).Replace("\"}", "").Replace("'", ""); |
| | | |
| | | if (keys.Contains("dateField_lo6w37hk")) |
| | | //å®¡æ ¸ç¾å°è¡¨ |
| | | //if (keys.Contains("dateField_lo6w37hk")) |
| | | //{ |
| | | // double HDate_Temp = double.Parse(response.Body.Result[i].FormData["dateField_lo6w37hk"].ToString()); |
| | | // oItem.HDate = convertFromMillisecondsToDateString(HDate_Temp, "yyyy-MM-dd"); |
| | | //} |
| | | |
| | | //if (keys.Contains("selectField_lockncvh_id")) |
| | | //{ |
| | | // oItem.HArea = response.Body.Result[i].FormData["selectField_lockncvh_id"].ToString().Replace("'", ""); |
| | | //} |
| | | |
| | | //if (keys.Contains("selectField_lockncvg_id")) |
| | | //{ |
| | | // oItem.HCheckLevel = response.Body.Result[i].FormData["selectField_lockncvg_id"].ToString().Replace("'", ""); |
| | | //} |
| | | |
| | | //if (keys.Contains("employeeField_lo6w37hf")) |
| | | //{ |
| | | // oItem.HEmplpyee = ((List<object>)response.Body.Result[i].FormData["employeeField_lo6w37hf"])[0].ToString().Replace("'",""); |
| | | //} |
| | | |
| | | //if (keys.Contains("employeeField_lo6w37hf_id")) |
| | | //{ |
| | | // oItem.HEmployeeID = ((List<object>)response.Body.Result[i].FormData["employeeField_lo6w37hf_id"])[0].ToString().Replace("'", ""); |
| | | //} |
| | | |
| | | |
| | | //ç¾å°è¡¨ |
| | | if (keys.Contains("dateField_ls9ma7h3")) |
| | | { |
| | | double HDate_Temp = double.Parse(response.Body.Result[i].FormData["dateField_lo6w37hk"].ToString()); |
| | | double HDate_Temp = double.Parse(response.Body.Result[i].FormData["dateField_ls9ma7h3"].ToString()); |
| | | oItem.HDate = convertFromMillisecondsToDateString(HDate_Temp, "yyyy-MM-dd"); |
| | | } |
| | | |
| | | if (keys.Contains("selectField_lockncvh_id")) |
| | | if (keys.Contains("selectField_ls9ma7h9")) |
| | | { |
| | | oItem.HArea = response.Body.Result[i].FormData["selectField_lockncvh_id"].ToString().Replace("'", ""); |
| | | oItem.HArea = response.Body.Result[i].FormData["selectField_ls9ma7h9"].ToString().Replace("'", ""); |
| | | } |
| | | |
| | | if (keys.Contains("selectField_lockncvg_id")) |
| | | if (keys.Contains("selectField_ls9ma7h7")) |
| | | { |
| | | oItem.HCheckLevel = response.Body.Result[i].FormData["selectField_lockncvg_id"].ToString().Replace("'", ""); |
| | | oItem.HCheckLevel = response.Body.Result[i].FormData["selectField_ls9ma7h7"].ToString().Replace("'", ""); |
| | | } |
| | | |
| | | if (keys.Contains("employeeField_lo6w37hf")) |
| | | if (keys.Contains("employeeField_ls9ma7h5")) |
| | | { |
| | | oItem.HEmplpyee = ((List<object>)response.Body.Result[i].FormData["employeeField_lo6w37hf"])[0].ToString().Replace("'",""); |
| | | oItem.HEmplpyee = ((List<object>)response.Body.Result[i].FormData["employeeField_ls9ma7h5"])[0].ToString().Replace("'", ""); |
| | | } |
| | | |
| | | if (keys.Contains("employeeField_lo6w37hf_id")) |
| | | if (keys.Contains("employeeField_ls9ma7h5_id")) |
| | | { |
| | | oItem.HEmployeeID = ((List<object>)response.Body.Result[i].FormData["employeeField_lo6w37hf_id"])[0].ToString().Replace("'", ""); |
| | | oItem.HEmployeeID = ((List<object>)response.Body.Result[i].FormData["employeeField_ls9ma7h5_id"])[0].ToString().Replace("'", ""); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | //è·åå®ä¾ç¶æ |
| | | GetInstanceByIdResponse response1 = new GetInstanceByIdResponse(); |
| | | if (getInstanceStatusByInstanceID__YiDa(appType, systemToken, userID, oItem.HInstanceID, ref response1, ref msg) == false) |
| | | { |
| | | return false; |
| | | } |
| | | |
| | | oItem.HInstanceStatus = response1.Body.InstanceStatus; |
| | | if (oItem.HInstanceStatus == "RUNNING") |
| | | { |
| | | oItem.HInstanceStatus = "è¿è¡ä¸"; |
| | | } |
| | | else if (oItem.HInstanceStatus == "TERMINATED") |
| | | { |
| | | oItem.HInstanceStatus = "å·²ç»æ¢"; |
| | | } |
| | | else if (oItem.HInstanceStatus == "COMPLETED") |
| | | { |
| | | oItem.HInstanceStatus = "已宿"; |
| | | } |
| | | else if (oItem.HInstanceStatus == "ERROR") |
| | | { |
| | | oItem.HInstanceStatus = "å¼å¸¸"; |
| | | } |
| | | |
| | | oItem.HApprovedResult = response1.Body.ApprovedResult; |
| | | if (oItem.HApprovedResult == "agree") |
| | | { |
| | | oItem.HApprovedResult = "åæ"; |
| | | } |
| | | else if (oItem.HApprovedResult == "disagree") |
| | | { |
| | | oItem.HApprovedResult = "æç»"; |
| | | } |
| | | else |
| | | { |
| | | oItem.HApprovedResult = ""; |
| | | } |
| | | |
| | | |
| | | |
| | | lsmain.Add(oItem); |
| | | }catch(Exception e) |
| | | { |
| | |
| | | string appType = "APP_MMBPP3IFGFBX3VQAIKYX"; |
| | | string systemToken = "TP866A81107FVI9LBFQRZ9953YWZ2GYR2W6OL1L"; |
| | | string userID = "1933673646699149"; |
| | | string formUuid = "FORM-IQ8666B17ZZE7NQSA01K3DUN78UI3J1Z2W6OLX"; |
| | | //string formUuid = "FORM-IQ8666B17ZZE7NQSA01K3DUN78UI3J1Z2W6OLX"; //åå±å®¡æ ¸ç¾å°è¡¨ |
| | | string formUuid = "FORM-A01FFB0B63A34F18B7753F695F49190DJEY7"; //ç¾å°è¡¨ |
| | | int pageNumber = 1; |
| | | int pageSize = 100; |
| | | |
| | |
| | | |
| | | try |
| | | { |
| | | oCN.BeginTran(); |
| | | oCN.BeginTran(); |
| | | foreach (YD_FenCengShenHeQianDaoBiao oItem in lsmain) |
| | | { |
| | | string sql_searchRepeat = "select * from DD_FenCengShenHeQianDaoBiao where HInstanceID = '" + oItem.HInstanceID + "'"; |
| | |
| | | string sql_main = "insert into DD_FenCengShenHeQianDaoBiao" + |
| | | "(HMakerID,HMakeDate,HUpdaterID,HUpdater,HUpdateDate,HInstanceID,HOriginator,HTitle" + |
| | | ",HDate" + |
| | | ",HCheckLevel,HArea,HEmployeeID,HEmplpyee) " + |
| | | ",HCheckLevel,HArea,HEmployeeID,HEmplpyee" + |
| | | ",HInstanceStatus,HApprovedResult) " + |
| | | "values(" + |
| | | "'" + oItem.HMakerID + "'" + |
| | | ",'" + oItem.HMakeDate + "'" + |
| | |
| | | ",'" + (oItem.HArea==null?"": oItem.HArea) + "'" + |
| | | ",'" + (oItem.HEmployeeID==null?"": oItem.HEmployeeID) + "'" + |
| | | ",'" + (oItem.HEmplpyee==null?"": oItem.HEmplpyee) + "'" + |
| | | ",'" + (oItem.HInstanceStatus == null ? "" : oItem.HInstanceStatus) + "'" + |
| | | ",'" + (oItem.HApprovedResult == null ? "" : oItem.HApprovedResult) + "'" + |
| | | ")"; |
| | | |
| | | oCN.RunProc(sql_main); |
| | |
| | | { |
| | | oItem.HRiskRemak_Result = response.Body.Result[i].FormData["textareaField_lxblb9xa"].ToString().Replace("'", ""); |
| | | } |
| | | |
| | | |
| | | |
| | | //è·åå®ä¾ç¶æ |
| | | GetInstanceByIdResponse response1 = new GetInstanceByIdResponse(); |
| | | if (getInstanceStatusByInstanceID__YiDa(appType, systemToken, userID, oItem.HInstanceID, ref response1, ref msg) == false) |
| | | { |
| | | return false; |
| | | } |
| | | |
| | | oItem.HInstanceStatus = response1.Body.InstanceStatus; |
| | | if (oItem.HInstanceStatus == "RUNNING") |
| | | { |
| | | oItem.HInstanceStatus = "è¿è¡ä¸"; |
| | | } |
| | | else if (oItem.HInstanceStatus == "TERMINATED") |
| | | { |
| | | oItem.HInstanceStatus = "å·²ç»æ¢"; |
| | | } |
| | | else if (oItem.HInstanceStatus == "COMPLETED") |
| | | { |
| | | oItem.HInstanceStatus = "已宿"; |
| | | } |
| | | else if (oItem.HInstanceStatus == "ERROR") |
| | | { |
| | | oItem.HInstanceStatus = "å¼å¸¸"; |
| | | } |
| | | |
| | | oItem.HApprovedResult = response1.Body.ApprovedResult; |
| | | if (oItem.HApprovedResult == "agree") |
| | | { |
| | | oItem.HApprovedResult = "åæ"; |
| | | } |
| | | else if (oItem.HApprovedResult == "disagree") |
| | | { |
| | | oItem.HApprovedResult = "æç»"; |
| | | } |
| | | else |
| | | { |
| | | oItem.HApprovedResult = ""; |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | lsmain.Add(oItem); |
| | | }catch(Exception e) |
| | | { |
| | |
| | | string sql_main = "insert into DD_XianChangBianHuaDianPingShenDan" + |
| | | "(HMakerID,HMakeDate,HUpdaterID,HUpdater,HUpdateDate,HInstanceID,HOriginator,HTitle" + |
| | | ",HDate" + |
| | | ",HDept,HChangeType,HRiskLevel,HChangeContent,HRiskRemark_Safe,HRiskRemark_Study,HRiskRemark_Quality,HRiskRemark_Equipment,HRiskRemark_Product,HRiskRemark_Result) " + |
| | | ",HDept,HChangeType,HRiskLevel,HChangeContent,HRiskRemark_Safe,HRiskRemark_Study,HRiskRemark_Quality,HRiskRemark_Equipment,HRiskRemark_Product,HRiskRemark_Result" + |
| | | ",HInstanceStatus,HApprovedResult) " + |
| | | "values(" + |
| | | "'" + oItem.HMakerID + "'" + |
| | | ",'" + oItem.HMakeDate + "'" + |
| | |
| | | ",'" + (oItem.HRiskRemark_Equipment==null?"": oItem.HRiskRemark_Equipment) + "'" + |
| | | ",'" + (oItem.HRiskRemark_Product==null?"": oItem.HRiskRemark_Product) + "'" + |
| | | ",'" + (oItem.HRiskRemak_Result==null?"": oItem.HRiskRemak_Result) + "'" + |
| | | ",'" + (oItem.HInstanceStatus == null ? "" : oItem.HInstanceStatus) + "'" + |
| | | ",'" + (oItem.HApprovedResult == null ? "" : oItem.HApprovedResult) + "'" + |
| | | ")"; |
| | | |
| | | oCN.RunProc(sql_main); |
| | |
| | | oItem.HCloseConfirm = response.Body.Result[i].FormData["selectField_ltpe6mdd"].ToString().Replace("'", ""); |
| | | } |
| | | |
| | | //è·åå®ä¾ç¶æ |
| | | GetInstanceByIdResponse response1 = new GetInstanceByIdResponse(); |
| | | if(getInstanceStatusByInstanceID__YiDa(appType, systemToken, userID, oItem.HInstanceID, ref response1, ref msg) == false) |
| | | { |
| | | return false; |
| | | } |
| | | |
| | | oItem.HInstanceStatus = response1.Body.InstanceStatus; |
| | | if(oItem.HInstanceStatus == "RUNNING") |
| | | { |
| | | oItem.HInstanceStatus = "è¿è¡ä¸"; |
| | | }else if(oItem.HInstanceStatus== "TERMINATED") |
| | | { |
| | | oItem.HInstanceStatus = "å·²ç»æ¢"; |
| | | } |
| | | else if (oItem.HInstanceStatus == "COMPLETED") |
| | | { |
| | | oItem.HInstanceStatus = "已宿"; |
| | | } |
| | | else if (oItem.HInstanceStatus == "ERROR") |
| | | { |
| | | oItem.HInstanceStatus = "å¼å¸¸"; |
| | | } |
| | | |
| | | oItem.HApprovedResult = response1.Body.ApprovedResult; |
| | | if (oItem.HApprovedResult== "agree") |
| | | { |
| | | oItem.HApprovedResult = "åæ"; |
| | | }else if(oItem.HApprovedResult== "disagree") |
| | | { |
| | | oItem.HApprovedResult = "æç»"; |
| | | } |
| | | else |
| | | { |
| | | oItem.HApprovedResult = ""; |
| | | } |
| | | |
| | | lsmain.Add(oItem); |
| | | } |
| | | catch (Exception e) |
| | |
| | | ",HCheckLevel,HCheckArea,HPhoto_NoSatisfyRequire,HDescription_NoSatisfyRequire,HQuestionType,HRequire_ModifyDate,HEmployeeID_Duty,HEmployee_Duty" + |
| | | ",HQuestionIsNoModify" + |
| | | ",HReason_NoModify,HReasonAnalysis,HMethod_Modify" + |
| | | ",HDate_Achieve,HFile_Evidence,HCloseConfirm" + |
| | | ",HDate_Achieve,HFile_Evidence,HCloseConfirm,HInstanceStatus,HApprovedResult" + |
| | | ") " + |
| | | "values(" + |
| | | "'" + oItem.HMakerID + "'" + |
| | |
| | | "," + (oItem.HDate_Achieve==null?"null":"'"+ oItem.HDate_Achieve+ "'") + "" + |
| | | ",'" + (oItem.HFile_Evidence==null?"": oItem.HFile_Evidence) + "'" + |
| | | ",'" + (oItem.HCloseConfirm==null?"": oItem.HCloseConfirm) + "'" + |
| | | |
| | | ",'" + (oItem.HInstanceStatus==null?"":oItem.HInstanceStatus) + "'" + |
| | | ",'" + (oItem.HApprovedResult==null?"":oItem.HApprovedResult) + "'" + |
| | | ")"; |
| | | |
| | | oCN.RunProc(sql_main); |
| | |
| | | oItem.HDept_Duty = response.Body.Result[i].FormData["selectField_lxcunmsu"].ToString().Replace("'", ""); |
| | | } |
| | | |
| | | |
| | | //è·åå®ä¾ç¶æ |
| | | GetInstanceByIdResponse response1 = new GetInstanceByIdResponse(); |
| | | if (getInstanceStatusByInstanceID__YiDa(appType, systemToken, userID, oItem.HInstanceID, ref response1, ref msg) == false) |
| | | { |
| | | return false; |
| | | } |
| | | |
| | | oItem.HInstanceStatus = response1.Body.InstanceStatus; |
| | | if (oItem.HInstanceStatus == "RUNNING") |
| | | { |
| | | oItem.HInstanceStatus = "è¿è¡ä¸"; |
| | | } |
| | | else if (oItem.HInstanceStatus == "TERMINATED") |
| | | { |
| | | oItem.HInstanceStatus = "å·²ç»æ¢"; |
| | | } |
| | | else if (oItem.HInstanceStatus == "COMPLETED") |
| | | { |
| | | oItem.HInstanceStatus = "已宿"; |
| | | } |
| | | else if (oItem.HInstanceStatus == "ERROR") |
| | | { |
| | | oItem.HInstanceStatus = "å¼å¸¸"; |
| | | } |
| | | |
| | | oItem.HApprovedResult = response1.Body.ApprovedResult; |
| | | if (oItem.HApprovedResult == "agree") |
| | | { |
| | | oItem.HApprovedResult = "åæ"; |
| | | } |
| | | else if (oItem.HApprovedResult == "disagree") |
| | | { |
| | | oItem.HApprovedResult = "æç»"; |
| | | } |
| | | else |
| | | { |
| | | oItem.HApprovedResult = ""; |
| | | } |
| | | |
| | | |
| | | |
| | | List<YD_QRQCWenTiTiJiaoBiaoSub1> sub1List = new List<YD_QRQCWenTiTiJiaoBiaoSub1>(); |
| | | if (keys_main.Contains("tableField_lx4azand")) |
| | |
| | | oCN.BeginTran(); |
| | | foreach (YD_QRQCWenTiTiJiaoBiao oItem in lsmain) |
| | | { |
| | | ////夿忮 å®ä¾ç¶ææ¯å¦ä¸º"已宿"ä¸ å®¡æ¹ç»æä¸º"åæ",è¥æ¯ååæ¥æ°æ®ï¼å¦åä¸è¿è¡åæ¥æ°æ® |
| | | //if (!(oItem.HInstanceStatus == "已宿" && oItem.HApprovedResult == "åæ")) |
| | | //{ |
| | | // continue; |
| | | //} |
| | | |
| | | string sql_searchRepeat = "select * from DD_QRQCWenTiTiJiaoBiao where HInstanceID = '" + oItem.HInstanceID + "'"; |
| | | DataSet ds_searchRepeat = oCN.RunProcReturn(sql_searchRepeat, "DD_QRQCWenTiTiJiaoBiao"); |
| | | if (ds_searchRepeat != null && ds_searchRepeat.Tables[0].Rows.Count > 0) |
| | |
| | | } |
| | | |
| | | string sql_main = "insert into DD_QRQCWenTiTiJiaoBiao" + |
| | | "(HMakerID,HMakeDate,HUpdaterID,HUpdater,HUpdateDate,HInstanceID,HOriginator,HTitle,HQuestionType,HDept_Duty) " + |
| | | "(HMakerID,HMakeDate,HUpdaterID,HUpdater,HUpdateDate,HInstanceID,HOriginator,HTitle,HQuestionType,HDept_Duty" + |
| | | ",HInstanceStatus,HApprovedResult) " + |
| | | "values(" + |
| | | "'" + oItem.HMakerID + "'" + |
| | | ",'" + oItem.HMakeDate + "'" + |
| | |
| | | |
| | | ",'" + (oItem.HQuestionType==null?"": oItem.HQuestionType) + "'" + |
| | | ",'" + (oItem.HDept_Duty==null?"": oItem.HDept_Duty) + "'" + |
| | | ",'" + (oItem.HInstanceStatus == null ? "" : oItem.HInstanceStatus) + "'" + |
| | | ",'" + (oItem.HApprovedResult == null ? "" : oItem.HApprovedResult) + "'" + |
| | | ")"; |
| | | oCN.RunProc(sql_main); |
| | | |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | public async Task<string> AsyncRequest() |
| | | { |
| | | HttpWebRequest httpRequest = WebRequest.Create(Url) as HttpWebRequest; |
| | |
| | | } |
| | | return responseText; |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 弿¥Get |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public async Task<string> AsyncGetRequest() |
| | | { |
| | | HttpWebRequest httpRequest = WebRequest.Create(Url) as HttpWebRequest; |
| | | httpRequest.Method = "GET"; |
| | | httpRequest.ContentType = "application/json"; |
| | | httpRequest.CookieContainer = Cookie; |
| | | httpRequest.Timeout = 1000 * 60 * 10;//10min |
| | | |
| | | using (Stream reqStream = await httpRequest.GetRequestStreamAsync()) |
| | | { |
| | | JObject jObj = new JObject(); |
| | | jObj.Add("format", 1); |
| | | jObj.Add("useragent", "ApiClient"); |
| | | jObj.Add("rid", Guid.NewGuid().ToString().GetHashCode().ToString()); |
| | | jObj.Add("parameters", Content); |
| | | jObj.Add("timestamp", DateTime.Now); |
| | | jObj.Add("v", "1.0"); |
| | | string content = jObj.ToString(); |
| | | var bytes = Encoding.UTF8.GetBytes(content); |
| | | reqStream.Write(bytes, 0, bytes.Length); |
| | | reqStream.Flush(); |
| | | } |
| | | using (var repStream = (await httpRequest.GetResponseAsync()).GetResponseStream()) |
| | | { |
| | | using (var reader = new StreamReader(repStream)) |
| | | { |
| | | return ValidateResult(await reader.ReadToEndAsync()); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | |
| | | return list; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ç»è£
追溯-主2 |
| | | /// </summary> |
| | | /// <param name="jsonString"></param> |
| | | /// <returns></returns> |
| | | public List<Model.ClsSc_AssemblyBillMain> getObjectByJson_Sc_AssemblyBillMain2(string jsonString) |
| | | { |
| | | jsonString = "[" + jsonString.ToString() + "]"; |
| | | List<Model.ClsSc_AssemblyBillMain> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_AssemblyBillMain>>(jsonString); |
| | | return list; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ç»è£
追溯-å2 |
| | | /// </summary> |
| | | /// <param name="jsonString"></param> |
| | | /// <returns></returns> |
| | | public List<Model.ClsSc_AssemblyBillSub> getObjectByJson_Sc_AssemblyBillSub2(string jsonString) |
| | | { |
| | | jsonString = "[" + jsonString.ToString() + "]"; |
| | | List<Model.ClsSc_AssemblyBillSub> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsSc_AssemblyBillSub>>(jsonString); |
| | | return list; |
| | | } |
| | | |
| | | ///é¦ä»¶æ£éªå å表 |
| | | ///ClsQC_FirstPieceCheckBillSub_ValueGrid |
| | | public List<Model.ClsQC_FirstPieceCheckBillSub_ValueGrid> getObjectByJson_ClsQC_FirstPieceCheckBillSub_ValueGrid(string jsonString) |
| | |
| | | --> |
| | | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| | | <PropertyGroup> |
| | | <History>True|2024-09-11T12:20:57.7845361Z;False|2024-09-11T20:20:38.9732855+08:00;True|2024-09-10T15:15:04.6204983+08:00;True|2024-09-10T11:33:55.3963324+08:00;True|2024-09-10T11:10:10.3836571+08:00;True|2024-09-10T10:39:06.5850395+08:00;True|2024-09-10T10:27:33.2463582+08:00;False|2024-09-10T10:26:05.4608008+08:00;True|2024-09-09T19:14:08.0718627+08:00;True|2024-09-09T19:08:42.5709780+08:00;False|2024-09-09T19:08:33.7817129+08:00;True|2024-09-06T17:00:13.2484828+08:00;False|2024-09-06T17:00:06.1281061+08:00;True|2024-09-05T11:39:53.4537518+08:00;False|2024-09-05T11:39:04.6111418+08:00;True|2024-09-04T12:39:24.8111127+08:00;True|2024-09-04T12:12:57.9411095+08:00;False|2024-09-04T12:12:28.6748628+08:00;True|2024-09-03T14:45:30.8259459+08:00;False|2024-09-03T14:45:19.1997455+08:00;True|2024-08-30T16:08:31.2415230+08:00;True|2024-08-30T15:18:36.6727666+08:00;True|2024-08-28T09:49:18.1543721+08:00;False|2024-08-28T09:49:11.7260337+08:00;True|2024-08-27T13:18:40.6234335+08:00;False|2024-08-27T13:18:33.9730040+08:00;True|2024-08-26T17:40:29.9158973+08:00;True|2024-08-26T17:21:30.8800173+08:00;True|2024-08-26T17:19:23.9260010+08:00;True|2024-08-26T14:27:20.8154004+08:00;True|2024-08-26T14:16:14.4482284+08:00;True|2024-08-26T13:12:42.9574127+08:00;True|2024-08-26T12:48:31.2107630+08:00;True|2024-08-26T11:07:15.1181342+08:00;False|2024-08-26T11:07:09.9429791+08:00;True|2024-08-26T10:49:20.8494484+08:00;True|2024-08-26T10:13:11.5222607+08:00;False|2024-08-26T10:12:59.1146882+08:00;True|2024-08-23T15:39:39.9842990+08:00;False|2024-08-23T15:39:33.9824708+08:00;True|2024-08-22T16:55:46.4689463+08:00;True|2024-08-22T16:44:25.0981764+08:00;True|2024-08-22T16:19:29.9801909+08:00;True|2024-08-22T14:25:13.5120259+08:00;True|2024-08-22T09:48:50.0760398+08:00;True|2024-08-21T16:09:41.0487181+08:00;True|2024-08-21T15:42:13.7474317+08:00;True|2024-08-21T15:10:24.6912112+08:00;True|2024-08-21T14:56:51.3255866+08:00;True|2024-08-21T14:50:12.3359730+08:00;True|2024-08-19T15:43:16.1549663+08:00;True|2024-08-19T15:27:26.4219971+08:00;True|2024-08-19T09:41:45.7449029+08:00;True|2024-06-08T12:38:30.4153773+08:00;True|2024-06-07T21:22:19.4545597+08:00;True|2024-06-07T21:05:53.1963741+08:00;True|2024-06-07T21:00:57.2568708+08:00;True|2024-06-07T14:39:19.6618679+08:00;True|2024-06-07T14:21:51.5169962+08:00;True|2024-06-07T11:29:08.0690999+08:00;True|2024-06-07T11:26:29.1494329+08:00;True|2024-06-07T11:20:41.2024309+08:00;True|2024-06-07T10:12:26.5905597+08:00;False|2024-06-07T10:11:35.3679434+08:00;</History> |
| | | <History>True|2024-09-13T02:20:53.2644847Z;False|2024-09-13T10:19:33.7686753+08:00;True|2024-09-12T19:15:21.9135805+08:00;False|2024-09-12T19:15:07.2717017+08:00;True|2024-09-12T17:25:26.5527019+08:00;True|2024-09-12T17:20:42.2498355+08:00;True|2024-09-12T17:16:44.8817635+08:00;True|2024-09-12T17:16:02.4132675+08:00;True|2024-09-12T17:08:14.2819047+08:00;True|2024-09-12T16:07:15.3675281+08:00;True|2024-09-12T16:06:23.8568906+08:00;True|2024-09-12T15:48:45.1455315+08:00;True|2024-09-12T14:59:30.0679595+08:00;True|2024-09-12T14:18:21.9534092+08:00;True|2024-09-12T14:07:35.2885035+08:00;False|2024-09-12T14:06:30.5732168+08:00;False|2024-09-12T14:06:17.1404767+08:00;True|2024-09-12T14:03:12.8150228+08:00;True|2024-09-12T13:53:20.7537798+08:00;True|2024-09-12T13:48:43.2408012+08:00;False|2024-09-12T13:48:36.5217018+08:00;True|2024-09-11T20:20:57.7845361+08:00;False|2024-09-11T20:20:38.9732855+08:00;True|2024-09-10T15:15:04.6204983+08:00;True|2024-09-10T11:33:55.3963324+08:00;True|2024-09-10T11:10:10.3836571+08:00;True|2024-09-10T10:39:06.5850395+08:00;True|2024-09-10T10:27:33.2463582+08:00;False|2024-09-10T10:26:05.4608008+08:00;True|2024-09-09T19:14:08.0718627+08:00;True|2024-09-09T19:08:42.5709780+08:00;False|2024-09-09T19:08:33.7817129+08:00;True|2024-09-06T17:00:13.2484828+08:00;False|2024-09-06T17:00:06.1281061+08:00;True|2024-09-05T11:39:53.4537518+08:00;False|2024-09-05T11:39:04.6111418+08:00;True|2024-09-04T12:39:24.8111127+08:00;True|2024-09-04T12:12:57.9411095+08:00;False|2024-09-04T12:12:28.6748628+08:00;True|2024-09-03T14:45:30.8259459+08:00;False|2024-09-03T14:45:19.1997455+08:00;True|2024-08-30T16:08:31.2415230+08:00;True|2024-08-30T15:18:36.6727666+08:00;True|2024-08-28T09:49:18.1543721+08:00;False|2024-08-28T09:49:11.7260337+08:00;True|2024-08-27T13:18:40.6234335+08:00;False|2024-08-27T13:18:33.9730040+08:00;True|2024-08-26T17:40:29.9158973+08:00;True|2024-08-26T17:21:30.8800173+08:00;True|2024-08-26T17:19:23.9260010+08:00;True|2024-08-26T14:27:20.8154004+08:00;True|2024-08-26T14:16:14.4482284+08:00;True|2024-08-26T13:12:42.9574127+08:00;True|2024-08-26T12:48:31.2107630+08:00;True|2024-08-26T11:07:15.1181342+08:00;False|2024-08-26T11:07:09.9429791+08:00;True|2024-08-26T10:49:20.8494484+08:00;True|2024-08-26T10:13:11.5222607+08:00;False|2024-08-26T10:12:59.1146882+08:00;True|2024-08-23T15:39:39.9842990+08:00;False|2024-08-23T15:39:33.9824708+08:00;True|2024-08-22T16:55:46.4689463+08:00;True|2024-08-22T16:44:25.0981764+08:00;True|2024-08-22T16:19:29.9801909+08:00;True|2024-08-22T14:25:13.5120259+08:00;True|2024-08-22T09:48:50.0760398+08:00;True|2024-08-21T16:09:41.0487181+08:00;True|2024-08-21T15:42:13.7474317+08:00;True|2024-08-21T15:10:24.6912112+08:00;True|2024-08-21T14:56:51.3255866+08:00;True|2024-08-21T14:50:12.3359730+08:00;True|2024-08-19T15:43:16.1549663+08:00;True|2024-08-19T15:27:26.4219971+08:00;True|2024-08-19T09:41:45.7449029+08:00;True|2024-06-08T12:38:30.4153773+08:00;True|2024-06-07T21:22:19.4545597+08:00;True|2024-06-07T21:05:53.1963741+08:00;True|2024-06-07T21:00:57.2568708+08:00;True|2024-06-07T14:39:19.6618679+08:00;True|2024-06-07T14:21:51.5169962+08:00;True|2024-06-07T11:29:08.0690999+08:00;True|2024-06-07T11:26:29.1494329+08:00;True|2024-06-07T11:20:41.2024309+08:00;True|2024-06-07T10:12:26.5905597+08:00;False|2024-06-07T10:11:35.3679434+08:00;</History> |
| | | <_PublishTargetUrl>D:\ç½ç«åå¸\æºäºMESWMS\API</_PublishTargetUrl> |
| | | </PropertyGroup> |
| | | <ItemGroup> |
| | | <File Include="apiapp.json"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="bin/AlibabaCloud.EndpointUtil.dll"> |
| | | <publishTime>04/07/2020 16:33:48</publishTime> |
| | |
| | | <publishTime>02/22/2013 16:43:40</publishTime> |
| | | </File> |
| | | <File Include="bin/BLL.dll"> |
| | | <publishTime>09/11/2024 20:20:07</publishTime> |
| | | <publishTime>09/13/2024 10:18:38</publishTime> |
| | | </File> |
| | | <File Include="bin/BLL.pdb"> |
| | | <publishTime>09/11/2024 20:20:07</publishTime> |
| | | <publishTime>09/13/2024 10:18:38</publishTime> |
| | | </File> |
| | | <File Include="bin/BouncyCastle.Crypto.dll"> |
| | | <publishTime>12/18/2020 05:32:28</publishTime> |
| | | </File> |
| | | <File Include="bin/DAL.dll"> |
| | | <publishTime>09/11/2024 20:20:05</publishTime> |
| | | <publishTime>09/13/2024 10:18:37</publishTime> |
| | | </File> |
| | | <File Include="bin/DAL.pdb"> |
| | | <publishTime>09/11/2024 20:20:05</publishTime> |
| | | <publishTime>09/13/2024 10:18:37</publishTime> |
| | | </File> |
| | | <File Include="bin/Dapper.dll"> |
| | | <publishTime>07/22/2016 22:52:40</publishTime> |
| | | </File> |
| | | <File Include="bin/DBUtility.dll"> |
| | | <publishTime>09/11/2024 20:20:03</publishTime> |
| | | <publishTime>09/13/2024 10:18:34</publishTime> |
| | | </File> |
| | | <File Include="bin/DBUtility.pdb"> |
| | | <publishTime>09/11/2024 20:20:03</publishTime> |
| | | <publishTime>09/13/2024 10:18:34</publishTime> |
| | | </File> |
| | | <File Include="bin/Grpc.Core.Api.dll"> |
| | | <publishTime>03/22/2022 13:17:26</publishTime> |
| | |
| | | <publishTime>05/09/2021 01:08:30</publishTime> |
| | | </File> |
| | | <File Include="bin/Kingdee.BOS.WebApi.Client.dll"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="bin/libgrpc_csharp_ext.x64.dylib"> |
| | | <publishTime>03/19/2022 07:38:44</publishTime> |
| | |
| | | <publishTime>07/25/2012 19:48:56</publishTime> |
| | | </File> |
| | | <File Include="bin/Model.dll"> |
| | | <publishTime>09/11/2024 20:20:03</publishTime> |
| | | <publishTime>09/13/2024 10:18:35</publishTime> |
| | | </File> |
| | | <File Include="bin/Model.pdb"> |
| | | <publishTime>09/11/2024 20:20:03</publishTime> |
| | | <publishTime>09/13/2024 10:18:35</publishTime> |
| | | </File> |
| | | <File Include="bin/Models/ClsSc_MouldScrapOutBillMain.cs"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="bin/Newtonsoft.Json.dll"> |
| | | <publishTime>03/08/2023 15:09:56</publishTime> |
| | |
| | | <publishTime>10/23/2021 17:07:54</publishTime> |
| | | </File> |
| | | <File Include="bin/Pub_Class.dll"> |
| | | <publishTime>09/11/2024 20:20:00</publishTime> |
| | | <publishTime>09/13/2024 10:18:31</publishTime> |
| | | </File> |
| | | <File Include="bin/Pub_Class.pdb"> |
| | | <publishTime>09/11/2024 20:20:00</publishTime> |
| | | <publishTime>09/13/2024 10:18:31</publishTime> |
| | | </File> |
| | | <File Include="bin/Pub_Control.dll"> |
| | | <publishTime>09/11/2024 20:20:01</publishTime> |
| | | <publishTime>09/13/2024 10:18:32</publishTime> |
| | | </File> |
| | | <File Include="bin/Pub_Control.pdb"> |
| | | <publishTime>09/11/2024 20:20:01</publishTime> |
| | | <publishTime>09/13/2024 10:18:32</publishTime> |
| | | </File> |
| | | <File Include="bin/RestSharp.dll"> |
| | | <publishTime>08/31/2012 06:22:50</publishTime> |
| | | </File> |
| | | <File Include="bin/SQLHelper.dll"> |
| | | <publishTime>09/11/2024 20:20:02</publishTime> |
| | | <publishTime>09/13/2024 10:18:34</publishTime> |
| | | </File> |
| | | <File Include="bin/SQLHelper.pdb"> |
| | | <publishTime>09/11/2024 20:20:02</publishTime> |
| | | <publishTime>09/13/2024 10:18:34</publishTime> |
| | | </File> |
| | | <File Include="bin/Swashbuckle.Core.dll"> |
| | | <publishTime>02/16/2015 01:57:08</publishTime> |
| | | </File> |
| | | <File Include="bin/SyntacticSugar.dll"> |
| | | <publishTime>09/10/2024 15:21:26</publishTime> |
| | | <publishTime>09/13/2024 10:15:38</publishTime> |
| | | </File> |
| | | <File Include="bin/SyntacticSugar.pdb"> |
| | | <publishTime>09/10/2024 15:21:26</publishTime> |
| | | <publishTime>09/13/2024 10:15:38</publishTime> |
| | | </File> |
| | | <File Include="bin/System.Buffers.dll"> |
| | | <publishTime>07/19/2017 18:01:28</publishTime> |
| | |
| | | <publishTime>11/28/2018 21:01:00</publishTime> |
| | | </File> |
| | | <File Include="bin/System.Web.Http.WebHost.dll"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="bin/System.Web.Mvc.dll"> |
| | | <publishTime>01/28/2015 12:02:18</publishTime> |
| | |
| | | <publishTime>05/09/2023 10:43:40</publishTime> |
| | | </File> |
| | | <File Include="bin/TopSdk.dll"> |
| | | <publishTime>09/11/2024 20:20:02</publishTime> |
| | | <publishTime>09/13/2024 10:18:34</publishTime> |
| | | </File> |
| | | <File Include="bin/TopSdk.pdb"> |
| | | <publishTime>09/11/2024 20:20:02</publishTime> |
| | | <publishTime>09/13/2024 10:18:34</publishTime> |
| | | </File> |
| | | <File Include="bin/WebActivatorEx.dll"> |
| | | <publishTime>11/24/2014 19:18:48</publishTime> |
| | | </File> |
| | | <File Include="bin/WebAPI.dll"> |
| | | <publishTime>09/11/2024 20:20:26</publishTime> |
| | | <publishTime>09/13/2024 10:18:58</publishTime> |
| | | </File> |
| | | <File Include="bin/WebAPI.pdb"> |
| | | <publishTime>09/11/2024 20:20:26</publishTime> |
| | | <publishTime>09/13/2024 10:18:58</publishTime> |
| | | </File> |
| | | <File Include="bin/WebGrease.dll"> |
| | | <publishTime>07/18/2013 01:03:52</publishTime> |
| | |
| | | <publishTime>11/29/2018 21:26:30</publishTime> |
| | | </File> |
| | | <File Include="Config/kdapi.config"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:01</publishTime> |
| | | </File> |
| | | <File Include="Content/bootstrap.css"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:01</publishTime> |
| | | </File> |
| | | <File Include="Content/bootstrap.min.css"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:01</publishTime> |
| | | </File> |
| | | <File Include="Content/Site.css"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:01</publishTime> |
| | | </File> |
| | | <File Include="DLL/BLL.dll"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="DLL/DAL.dll"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="DLL/DBUtility.dll"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="DLL/Kingdee.BOS.WebApi.Client.dll"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="DLL/Model.dll"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="DLL/Newtonsoft.Json.Net35.dll"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="DLL/Pub_Class.dll"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="DLL/Pub_Control.dll"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="DLL/SQLHelper.dll"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="fonts/glyphicons-halflings-regular.eot"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="fonts/glyphicons-halflings-regular.svg"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="fonts/glyphicons-halflings-regular.ttf"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="fonts/glyphicons-halflings-regular.woff"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Global.asax"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="grpc_csharp_ext.x64.dll"> |
| | | <publishTime>03/22/2022 13:17:22</publishTime> |
| | |
| | | <publishTime>03/22/2022 13:17:22</publishTime> |
| | | </File> |
| | | <File Include="Index.html"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="libgrpc_csharp_ext.x64.dylib"> |
| | | <publishTime>03/19/2022 07:38:44</publishTime> |
| | |
| | | <publishTime>03/19/2022 07:38:42</publishTime> |
| | | </File> |
| | | <File Include="libman.json"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>07/12/2023 08:14:21</publishTime> |
| | | </File> |
| | | <File Include="Metadata/deploymentTemplates/apiappconfig.azureresource.json"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="packages.config"> |
| | | <publishTime>08/16/2024 09:07:08</publishTime> |
| | | <publishTime>08/12/2024 15:14:33</publishTime> |
| | | </File> |
| | | <File Include="Views/Scripts/bootstrap.js"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Views/Scripts/bootstrap.min.js"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Views/Scripts/jquery-1.10.2.js"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Views/Scripts/jquery-1.10.2.min.js"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Views/Scripts/jquery-1.10.2.min.map"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Views/Scripts/jquery.validate.js"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Views/Scripts/jquery.validate.min.js"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Views/Scripts/jquery.validate.unobtrusive.js"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Views/Scripts/jquery.validate.unobtrusive.min.js"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Views/Scripts/modernizr-2.6.2.js"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Views/Shared/Error.cshtml"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Views/Shared/_Layout.cshtml"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Views/web.config"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Views/_ViewStart.cshtml"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsCLD_Customer_Model.datasource"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsCLD_Department_Model.datasource"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsCLD_Employee_Model.datasource"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsCLD_StockPlace_Model.datasource"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsCLD_Supplier_Model.datasource"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsCLD_Warehouse_Model.datasource"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsGy_BadReason_Model.datasource"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsGy_BarCodeBill_WMS_Model.datasource"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsGy_BarCodeBill_WMS_Model_View.datasource"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsGy_Customer_Model.datasource"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsGy_Department_Model.datasource"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsGy_Employee_Model.datasource"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsGy_Group_Model.datasource"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsGy_Item30JiTai_Model.datasource"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsGy_Source_Model.datasource"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsGy_StockPlace_Model.datasource"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsGy_Supplier_Model.datasource"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsGy_Warehouse_Model.datasource"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsKf_ICStockBill_Mould.datasource"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsKf_ICStockBill_WMS.datasource"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>04/06/2023 15:57:02</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/Reference.map"> |
| | | <publishTime>05/25/2024 09:46:41</publishTime> |
| | | <publishTime>05/06/2024 13:47:57</publishTime> |
| | | </File> |
| | | <File Include="Web.config"> |
| | | <publishTime>09/11/2024 20:20:56</publishTime> |
| | | <publishTime>09/13/2024 10:20:52</publishTime> |
| | | </File> |
| | | </ItemGroup> |
| | | </Project> |
| | |
| | | --> |
| | | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| | | <PropertyGroup> |
| | | <History>True|2024-09-05T06:59:02.4637651Z;True|2024-09-05T14:52:04.4072884+08:00;True|2024-09-05T14:48:15.2042900+08:00;True|2024-09-05T14:45:32.2817484+08:00;False|2024-09-05T14:45:25.7565030+08:00;True|2024-09-05T14:40:51.8140875+08:00;False|2024-09-05T14:40:45.6052089+08:00;True|2024-09-05T09:23:04.7414662+08:00;True|2024-09-05T09:12:54.5377316+08:00;True|2024-09-05T09:04:03.3588953+08:00;False|2024-09-05T09:03:40.8987917+08:00;True|2024-09-05T08:11:18.7704659+08:00;True|2024-09-05T07:58:55.5963855+08:00;False|2024-09-05T07:57:19.7601173+08:00;True|2024-09-04T23:28:44.8318977+08:00;False|2024-09-04T23:28:01.8338334+08:00;True|2024-09-04T23:06:31.9122421+08:00;False|2024-09-04T23:05:48.8555641+08:00;True|2024-09-04T22:00:33.8177303+08:00;False|2024-09-04T22:00:05.0138975+08:00;True|2024-09-04T16:54:24.5480572+08:00;True|2024-09-04T16:47:34.9796627+08:00;True|2024-09-04T14:56:00.7832720+08:00;True|2024-09-04T11:02:05.0143079+08:00;False|2024-09-04T11:01:19.4966083+08:00;</History> |
| | | <History>True|2024-09-18T01:59:49.4732999Z||;True|2024-09-18T09:55:29.5670514+08:00||;True|2024-09-18T09:36:47.5337922+08:00||;True|2024-09-18T09:26:58.8753832+08:00||;False|2024-09-18T09:26:52.8360655+08:00||;True|2024-09-18T09:16:41.2697236+08:00||;True|2024-09-18T09:14:48.0665918+08:00||;True|2024-09-18T09:12:28.1309823+08:00||;True|2024-09-18T09:03:35.6415021+08:00||;True|2024-09-18T08:57:20.6887202+08:00||;True|2024-09-18T08:46:26.7501710+08:00||;True|2024-09-18T08:39:46.8385418+08:00||;False|2024-09-18T08:39:40.1539838+08:00||;True|2024-09-16T23:46:37.8243963+08:00||;True|2024-09-16T23:44:05.9219259+08:00||;True|2024-09-16T23:37:31.8738992+08:00||;True|2024-09-16T23:31:04.8735139+08:00||;True|2024-09-16T23:28:45.7341066+08:00||;True|2024-09-16T23:24:42.2972302+08:00||;False|2024-09-16T23:24:33.6235146+08:00||;True|2024-09-16T20:15:11.3521994+08:00||;True|2024-09-16T20:11:07.3997097+08:00||;True|2024-09-16T19:43:59.3755792+08:00||;True|2024-09-16T19:40:47.6540402+08:00||;True|2024-09-16T19:36:43.9422051+08:00||;True|2024-09-16T19:33:50.9737780+08:00||;True|2024-09-16T19:27:21.9355404+08:00||;False|2024-09-16T19:27:07.3189769+08:00||;True|2024-09-16T16:28:39.8922761+08:00||;True|2024-09-16T16:25:34.5196479+08:00||;True|2024-09-16T16:16:26.5717402+08:00||;True|2024-09-16T16:13:24.5037750+08:00||;True|2024-09-16T16:11:00.6826075+08:00||;True|2024-09-16T16:03:45.1007693+08:00||;True|2024-09-16T16:00:51.3931717+08:00||;True|2024-09-16T15:58:02.4574272+08:00||;True|2024-09-16T15:50:20.5714044+08:00||;True|2024-09-16T15:41:36.0473548+08:00||;True|2024-09-16T15:10:21.9307950+08:00||;True|2024-09-16T15:07:12.6672324+08:00||;True|2024-09-16T15:04:18.3797906+08:00||;True|2024-09-16T15:01:22.4141871+08:00||;True|2024-09-16T14:51:51.8688040+08:00||;True|2024-09-16T14:46:25.1459280+08:00||;True|2024-09-16T14:15:15.6716865+08:00||;True|2024-09-16T14:13:33.3427684+08:00||;True|2024-09-16T14:09:45.9506569+08:00||;True|2024-09-16T14:04:23.7651281+08:00||;True|2024-09-16T13:53:45.8403076+08:00||;True|2024-09-16T13:47:23.8874441+08:00||;True|2024-09-16T13:40:00.0114172+08:00||;False|2024-09-16T13:39:49.5487841+08:00||;True|2024-09-14T16:25:40.7803045+08:00||;True|2024-09-14T16:16:19.6227567+08:00||;False|2024-09-14T16:14:38.4415948+08:00||;False|2024-09-14T16:06:21.1344091+08:00||;False|2024-09-14T16:06:05.9492937+08:00||;False|2024-09-14T16:05:54.0646752+08:00||;False|2024-09-14T16:05:28.6903761+08:00||;True|2024-09-10T13:05:01.4971255+08:00||;False|2024-09-10T13:04:55.4597252+08:00||;True|2024-09-05T14:59:02.4637651+08:00||;True|2024-09-05T14:52:04.4072884+08:00||;True|2024-09-05T14:48:15.2042900+08:00||;True|2024-09-05T14:45:32.2817484+08:00||;False|2024-09-05T14:45:25.7565030+08:00||;True|2024-09-05T14:40:51.8140875+08:00||;False|2024-09-05T14:40:45.6052089+08:00||;True|2024-09-05T09:23:04.7414662+08:00||;True|2024-09-05T09:12:54.5377316+08:00||;True|2024-09-05T09:04:03.3588953+08:00||;False|2024-09-05T09:03:40.8987917+08:00||;True|2024-09-05T08:11:18.7704659+08:00||;True|2024-09-05T07:58:55.5963855+08:00||;False|2024-09-05T07:57:19.7601173+08:00||;True|2024-09-04T23:28:44.8318977+08:00||;False|2024-09-04T23:28:01.8338334+08:00||;True|2024-09-04T23:06:31.9122421+08:00||;False|2024-09-04T23:05:48.8555641+08:00||;True|2024-09-04T22:00:33.8177303+08:00||;False|2024-09-04T22:00:05.0138975+08:00||;True|2024-09-04T16:54:24.5480572+08:00||;True|2024-09-04T16:47:34.9796627+08:00||;True|2024-09-04T14:56:00.7832720+08:00||;True|2024-09-04T11:02:05.0143079+08:00||;False|2024-09-04T11:01:19.4966083+08:00||;</History> |
| | | <_PublishTargetUrl>D:\ç½ç«åå¸\API</_PublishTargetUrl> |
| | | <LastFailureDetails /> |
| | | </PropertyGroup> |
| | | <ItemGroup> |
| | | <File Include="apiapp.json"> |
| | |
| | | <publishTime>02/22/2013 16:43:40</publishTime> |
| | | </File> |
| | | <File Include="bin/BLL.dll"> |
| | | <publishTime>09/05/2024 14:58:23</publishTime> |
| | | <publishTime>09/18/2024 09:54:46</publishTime> |
| | | </File> |
| | | <File Include="bin/BLL.pdb"> |
| | | <publishTime>09/05/2024 14:58:23</publishTime> |
| | | <publishTime>09/18/2024 09:54:46</publishTime> |
| | | </File> |
| | | <File Include="bin/BouncyCastle.Crypto.dll"> |
| | | <publishTime>12/18/2020 05:32:28</publishTime> |
| | | </File> |
| | | <File Include="bin/DAL.dll"> |
| | | <publishTime>09/05/2024 14:58:22</publishTime> |
| | | <publishTime>09/18/2024 09:54:44</publishTime> |
| | | </File> |
| | | <File Include="bin/DAL.pdb"> |
| | | <publishTime>09/05/2024 14:58:22</publishTime> |
| | | <publishTime>09/18/2024 09:54:44</publishTime> |
| | | </File> |
| | | <File Include="bin/Dapper.dll"> |
| | | <publishTime>07/22/2016 22:52:40</publishTime> |
| | | </File> |
| | | <File Include="bin/DBUtility.dll"> |
| | | <publishTime>09/05/2024 14:58:19</publishTime> |
| | | <publishTime>09/18/2024 09:54:40</publishTime> |
| | | </File> |
| | | <File Include="bin/DBUtility.pdb"> |
| | | <publishTime>09/05/2024 14:58:19</publishTime> |
| | | <publishTime>09/18/2024 09:54:40</publishTime> |
| | | </File> |
| | | <File Include="bin/Grpc.Core.Api.dll"> |
| | | <publishTime>03/22/2022 13:17:26</publishTime> |
| | |
| | | <publishTime>07/25/2012 19:48:56</publishTime> |
| | | </File> |
| | | <File Include="bin/Model.dll"> |
| | | <publishTime>09/05/2024 14:58:19</publishTime> |
| | | <publishTime>09/18/2024 09:54:41</publishTime> |
| | | </File> |
| | | <File Include="bin/Model.pdb"> |
| | | <publishTime>09/05/2024 14:58:19</publishTime> |
| | | <publishTime>09/18/2024 09:54:41</publishTime> |
| | | </File> |
| | | <File Include="bin/Models/ClsSc_MouldScrapOutBillMain.cs"> |
| | | <publishTime>04/06/2023 15:57:04</publishTime> |
| | |
| | | <publishTime>10/23/2021 17:07:54</publishTime> |
| | | </File> |
| | | <File Include="bin/Pub_Class.dll"> |
| | | <publishTime>09/05/2024 14:58:17</publishTime> |
| | | <publishTime>09/18/2024 09:54:38</publishTime> |
| | | </File> |
| | | <File Include="bin/Pub_Class.pdb"> |
| | | <publishTime>09/05/2024 14:58:17</publishTime> |
| | | <publishTime>09/18/2024 09:54:38</publishTime> |
| | | </File> |
| | | <File Include="bin/Pub_Control.dll"> |
| | | <publishTime>09/05/2024 14:58:18</publishTime> |
| | | <publishTime>09/18/2024 09:54:40</publishTime> |
| | | </File> |
| | | <File Include="bin/Pub_Control.pdb"> |
| | | <publishTime>09/05/2024 14:58:18</publishTime> |
| | | <publishTime>09/18/2024 09:54:40</publishTime> |
| | | </File> |
| | | <File Include="bin/RestSharp.dll"> |
| | | <publishTime>08/31/2012 06:22:50</publishTime> |
| | | </File> |
| | | <File Include="bin/SQLHelper.dll"> |
| | | <publishTime>09/05/2024 14:58:18</publishTime> |
| | | <publishTime>09/18/2024 09:54:38</publishTime> |
| | | </File> |
| | | <File Include="bin/SQLHelper.pdb"> |
| | | <publishTime>09/05/2024 14:58:18</publishTime> |
| | | <publishTime>09/18/2024 09:54:38</publishTime> |
| | | </File> |
| | | <File Include="bin/Swashbuckle.Core.dll"> |
| | | <publishTime>02/16/2015 01:57:08</publishTime> |
| | | </File> |
| | | <File Include="bin/SyntacticSugar.dll"> |
| | | <publishTime>09/05/2024 14:58:16</publishTime> |
| | | <publishTime>09/18/2024 09:54:36</publishTime> |
| | | </File> |
| | | <File Include="bin/SyntacticSugar.pdb"> |
| | | <publishTime>09/05/2024 14:58:16</publishTime> |
| | | <publishTime>09/18/2024 09:54:36</publishTime> |
| | | </File> |
| | | <File Include="bin/System.Buffers.dll"> |
| | | <publishTime>07/19/2017 18:01:28</publishTime> |
| | |
| | | <publishTime>05/09/2023 10:43:40</publishTime> |
| | | </File> |
| | | <File Include="bin/TopSdk.dll"> |
| | | <publishTime>09/05/2024 14:58:20</publishTime> |
| | | <publishTime>09/18/2024 09:54:39</publishTime> |
| | | </File> |
| | | <File Include="bin/TopSdk.pdb"> |
| | | <publishTime>09/05/2024 14:58:20</publishTime> |
| | | <publishTime>09/18/2024 09:54:39</publishTime> |
| | | </File> |
| | | <File Include="bin/WebActivatorEx.dll"> |
| | | <publishTime>11/24/2014 19:18:48</publishTime> |
| | | </File> |
| | | <File Include="bin/WebAPI.dll"> |
| | | <publishTime>09/05/2024 14:58:45</publishTime> |
| | | <publishTime>09/18/2024 09:55:12</publishTime> |
| | | </File> |
| | | <File Include="bin/WebAPI.pdb"> |
| | | <publishTime>09/05/2024 14:58:45</publishTime> |
| | | <publishTime>09/18/2024 09:55:12</publishTime> |
| | | </File> |
| | | <File Include="bin/WebAPI.XmlSerializers.dll"> |
| | | <publishTime>09/05/2024 14:58:50</publishTime> |
| | | <publishTime>09/18/2024 09:55:16</publishTime> |
| | | </File> |
| | | <File Include="bin/WebGrease.dll"> |
| | | <publishTime>07/18/2013 01:03:52</publishTime> |
| | |
| | | <publishTime>04/06/2023 15:57:04</publishTime> |
| | | </File> |
| | | <File Include="packages.config"> |
| | | <publishTime>08/15/2024 16:27:01</publishTime> |
| | | <publishTime>09/14/2024 10:58:19</publishTime> |
| | | </File> |
| | | <File Include="Views/Scripts/bootstrap.js"> |
| | | <publishTime>04/06/2023 15:57:04</publishTime> |
| | |
| | | <publishTime>05/06/2024 13:47:58</publishTime> |
| | | </File> |
| | | <File Include="Web.config"> |
| | | <publishTime>09/05/2024 14:59:01</publishTime> |
| | | <publishTime>09/18/2024 09:55:28</publishTime> |
| | | </File> |
| | | </ItemGroup> |
| | | </Project> |
| | |
| | | --> |
| | | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| | | <PropertyGroup> |
| | | <History>True|2024-09-10T07:26:48.7055081Z;True|2024-09-10T09:26:36.8509916+08:00;True|2024-09-09T19:51:32.6059511+08:00;True|2024-09-09T19:05:47.5349922+08:00;True|2024-09-09T09:26:23.2022383+08:00;False|2024-09-09T09:25:27.3736749+08:00;True|2024-09-06T15:32:52.1865278+08:00;True|2024-09-06T15:16:01.1405794+08:00;True|2024-09-06T14:21:05.7482343+08:00;True|2024-09-06T14:09:17.1494566+08:00;True|2024-09-06T13:49:56.4128481+08:00;True|2024-09-06T13:11:53.0863947+08:00;True|2024-09-06T09:34:54.5934463+08:00;True|2024-09-06T08:47:19.9744092+08:00;True|2024-09-05T15:01:38.6968629+08:00;True|2024-09-05T14:56:09.3505818+08:00;True|2024-09-05T14:49:56.8774757+08:00;True|2024-09-05T08:14:13.2359921+08:00;False|2024-09-05T08:13:11.8797534+08:00;True|2024-09-03T16:52:02.8227375+08:00;False|2024-09-03T16:51:32.4250926+08:00;True|2024-09-03T16:33:05.7269609+08:00;True|2024-09-03T16:00:15.0288548+08:00;True|2024-08-29T08:06:32.4732067+08:00;False|2024-08-29T08:06:02.4801886+08:00;True|2024-08-26T10:17:08.7733750+08:00;False|2024-08-26T10:11:05.1864217+08:00;False|2024-08-26T09:50:31.1539306+08:00;False|2024-08-26T09:47:37.4351309+08:00;True|2024-08-16T16:55:32.0918962+08:00;True|2024-08-16T16:53:23.3505641+08:00;False|2024-08-16T16:49:30.4579212+08:00;False|2024-08-16T16:47:01.9799743+08:00;</History> |
| | | <History>True|2024-09-12T12:40:58.7161451Z;False|2024-09-12T20:40:00.0672966+08:00;True|2024-09-12T16:47:22.7671323+08:00;True|2024-09-12T16:34:18.5850144+08:00;True|2024-09-12T16:13:32.1929032+08:00;True|2024-09-12T09:12:54.4456999+08:00;False|2024-09-12T09:12:06.1002866+08:00;False|2024-09-11T21:06:15.4423786+08:00;True|2024-09-10T15:26:48.7055081+08:00;True|2024-09-10T09:26:36.8509916+08:00;True|2024-09-09T19:51:32.6059511+08:00;True|2024-09-09T19:05:47.5349922+08:00;True|2024-09-09T09:26:23.2022383+08:00;False|2024-09-09T09:25:27.3736749+08:00;True|2024-09-06T15:32:52.1865278+08:00;True|2024-09-06T15:16:01.1405794+08:00;True|2024-09-06T14:21:05.7482343+08:00;True|2024-09-06T14:09:17.1494566+08:00;True|2024-09-06T13:49:56.4128481+08:00;True|2024-09-06T13:11:53.0863947+08:00;True|2024-09-06T09:34:54.5934463+08:00;True|2024-09-06T08:47:19.9744092+08:00;True|2024-09-05T15:01:38.6968629+08:00;True|2024-09-05T14:56:09.3505818+08:00;True|2024-09-05T14:49:56.8774757+08:00;True|2024-09-05T08:14:13.2359921+08:00;False|2024-09-05T08:13:11.8797534+08:00;True|2024-09-03T16:52:02.8227375+08:00;False|2024-09-03T16:51:32.4250926+08:00;True|2024-09-03T16:33:05.7269609+08:00;True|2024-09-03T16:00:15.0288548+08:00;True|2024-08-29T08:06:32.4732067+08:00;False|2024-08-29T08:06:02.4801886+08:00;True|2024-08-26T10:17:08.7733750+08:00;False|2024-08-26T10:11:05.1864217+08:00;False|2024-08-26T09:50:31.1539306+08:00;False|2024-08-26T09:47:37.4351309+08:00;True|2024-08-16T16:55:32.0918962+08:00;True|2024-08-16T16:53:23.3505641+08:00;False|2024-08-16T16:49:30.4579212+08:00;False|2024-08-16T16:47:01.9799743+08:00;</History> |
| | | <_PublishTargetUrl>G:\issWeb\ç½ç«åå¸\API</_PublishTargetUrl> |
| | | </PropertyGroup> |
| | | <ItemGroup> |
| | |
| | | <publishTime>02/22/2013 16:43:40</publishTime> |
| | | </File> |
| | | <File Include="bin/BLL.dll"> |
| | | <publishTime>09/10/2024 19:04:51</publishTime> |
| | | <publishTime>09/13/2024 15:10:57</publishTime> |
| | | </File> |
| | | <File Include="bin/BLL.pdb"> |
| | | <publishTime>09/10/2024 19:04:51</publishTime> |
| | | <publishTime>09/13/2024 15:10:57</publishTime> |
| | | </File> |
| | | <File Include="bin/BouncyCastle.Crypto.dll"> |
| | | <publishTime>12/18/2020 05:32:28</publishTime> |
| | | </File> |
| | | <File Include="bin/DAL.dll"> |
| | | <publishTime>09/10/2024 19:04:48</publishTime> |
| | | <publishTime>09/13/2024 15:10:55</publishTime> |
| | | </File> |
| | | <File Include="bin/DAL.pdb"> |
| | | <publishTime>09/10/2024 19:04:48</publishTime> |
| | | <publishTime>09/13/2024 15:10:55</publishTime> |
| | | </File> |
| | | <File Include="bin/Dapper.dll"> |
| | | <publishTime>07/22/2016 22:52:40</publishTime> |
| | | </File> |
| | | <File Include="bin/DBUtility.dll"> |
| | | <publishTime>09/10/2024 19:04:41</publishTime> |
| | | <publishTime>09/13/2024 15:10:49</publishTime> |
| | | </File> |
| | | <File Include="bin/DBUtility.pdb"> |
| | | <publishTime>09/10/2024 19:04:41</publishTime> |
| | | <publishTime>09/13/2024 15:10:49</publishTime> |
| | | </File> |
| | | <File Include="bin/Grpc.Core.Api.dll"> |
| | | <publishTime>03/22/2022 13:17:26</publishTime> |
| | |
| | | <publishTime>07/25/2012 19:48:56</publishTime> |
| | | </File> |
| | | <File Include="bin/Model.dll"> |
| | | <publishTime>09/10/2024 19:04:43</publishTime> |
| | | <publishTime>09/13/2024 15:10:50</publishTime> |
| | | </File> |
| | | <File Include="bin/Model.pdb"> |
| | | <publishTime>09/10/2024 19:04:43</publishTime> |
| | | <publishTime>09/13/2024 15:10:50</publishTime> |
| | | </File> |
| | | <File Include="bin/Models/ClsSc_MouldScrapOutBillMain.cs"> |
| | | <publishTime>04/15/2024 12:55:45</publishTime> |
| | |
| | | <publishTime>10/23/2021 17:07:54</publishTime> |
| | | </File> |
| | | <File Include="bin/Pub_Class.dll"> |
| | | <publishTime>09/10/2024 19:04:39</publishTime> |
| | | <publishTime>09/13/2024 15:10:47</publishTime> |
| | | </File> |
| | | <File Include="bin/Pub_Class.pdb"> |
| | | <publishTime>09/10/2024 19:04:39</publishTime> |
| | | <publishTime>09/13/2024 15:10:47</publishTime> |
| | | </File> |
| | | <File Include="bin/Pub_Control.dll"> |
| | | <publishTime>09/10/2024 19:04:40</publishTime> |
| | | <publishTime>09/13/2024 15:10:48</publishTime> |
| | | </File> |
| | | <File Include="bin/Pub_Control.pdb"> |
| | | <publishTime>09/10/2024 19:04:40</publishTime> |
| | | <publishTime>09/13/2024 15:10:48</publishTime> |
| | | </File> |
| | | <File Include="bin/RestSharp.dll"> |
| | | <publishTime>08/31/2012 06:22:50</publishTime> |
| | | </File> |
| | | <File Include="bin/SQLHelper.dll"> |
| | | <publishTime>09/10/2024 19:04:41</publishTime> |
| | | <publishTime>09/13/2024 15:10:48</publishTime> |
| | | </File> |
| | | <File Include="bin/SQLHelper.pdb"> |
| | | <publishTime>09/10/2024 19:04:41</publishTime> |
| | | <publishTime>09/13/2024 15:10:48</publishTime> |
| | | </File> |
| | | <File Include="bin/Swashbuckle.Core.dll"> |
| | | <publishTime>02/16/2015 01:57:08</publishTime> |
| | | </File> |
| | | <File Include="bin/SyntacticSugar.dll"> |
| | | <publishTime>09/10/2024 19:02:30</publishTime> |
| | | <publishTime>09/13/2024 15:08:19</publishTime> |
| | | </File> |
| | | <File Include="bin/SyntacticSugar.pdb"> |
| | | <publishTime>09/10/2024 19:02:30</publishTime> |
| | | <publishTime>09/13/2024 15:08:19</publishTime> |
| | | </File> |
| | | <File Include="bin/System.Buffers.dll"> |
| | | <publishTime>07/19/2017 18:01:28</publishTime> |
| | |
| | | <publishTime>05/09/2023 10:43:40</publishTime> |
| | | </File> |
| | | <File Include="bin/TopSdk.dll"> |
| | | <publishTime>09/10/2024 19:02:37</publishTime> |
| | | <publishTime>09/11/2024 21:15:43</publishTime> |
| | | </File> |
| | | <File Include="bin/TopSdk.pdb"> |
| | | <publishTime>09/10/2024 19:02:37</publishTime> |
| | | <publishTime>09/11/2024 21:15:51</publishTime> |
| | | </File> |
| | | <File Include="bin/WebActivatorEx.dll"> |
| | | <publishTime>11/24/2014 19:18:48</publishTime> |
| | | </File> |
| | | <File Include="bin/WebAPI.dll"> |
| | | <publishTime>09/10/2024 19:05:26</publishTime> |
| | | <publishTime>09/13/2024 15:11:26</publishTime> |
| | | </File> |
| | | <File Include="bin/WebAPI.pdb"> |
| | | <publishTime>09/10/2024 19:05:26</publishTime> |
| | | <publishTime>09/13/2024 15:11:26</publishTime> |
| | | </File> |
| | | <File Include="bin/WebAPI.XmlSerializers.dll"> |
| | | <publishTime>08/16/2024 16:55:28</publishTime> |
| | |
| | | <publishTime>04/29/2024 08:30:03</publishTime> |
| | | </File> |
| | | <File Include="Web.config"> |
| | | <publishTime>08/29/2024 08:06:26</publishTime> |
| | | <publishTime>09/12/2024 09:12:52</publishTime> |
| | | </File> |
| | | </ItemGroup> |
| | | </Project> |
| | |
| | | |
| | | |
| | | |
| | | <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <section name="WebAPI.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> |
| | | </sectionGroup> |
| | | </configSections> |
| | | <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <section name="WebAPI.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> |
| | | </sectionGroup> |
| | | </configSections> |
| | | <connectionStrings> |
| | | <add name="YqnConn" connectionString="Data Source=192.168.0.175;Initial Catalog=HX_LimsSys;User Id=HX_USER,Password=lc@841022;Integrated Security=True" /> |
| | | |
| | |
| | | <!--<add key="FileIP" value="http://localhost:8080/" />--> |
| | | <!--<add key="sUrl" value="http://183.129.128.86:9090/WEBS-WMSTest/WebService1.asmx"/> --> |
| | | <!--<add key="sUrl" value="http://192.168.0.11/WEBS-WMS/WebService1.asmx" />--><!--é¢å°å¼æº--> |
| | | <!--<add key="sUrl" value="http://192.168.0.11/WEBS-WMS/WebService1.asmx"/>--> |
| | | <!--é¢å°å¼æº--> |
| | | <!--<add key="sUrl" value="http://60.190.4.42:9003/WebService/WebService1.asmx" /> å¤å®--> |
| | | <!--<add key="sUrl" value="http://60.190.4.42:9003/WebService/WebService1.asmx" /> --> |
| | | <!--<add key="sUrl" value="http://10.10.130.181/WEBS-WMS/WebService1.asmx"/> åæ¥ç§æ--> |
| | |
| | | <!--<add key="sUrl" value="http://192.168.80.90:9090/WEBS/WebService1.asmx"/> å®çæå¡å¨--> |
| | | <!--<add key="sUrl" value="http://122.227.133.186:8090/WEBS/WebService1.asmx"/> --> |
| | | <!--<add key="sUrl" value="http://192.168.80.90:9090/WEBS-WMS/WebService1.asmx"/> å®çæå¡å¨--> |
| | | <!--<add key="sUrl" value="http://47.96.97.237/WEBS-WMS/WebService1.asmx"/> --> <!--æµè¯æå¡å¨--> |
| | | <!--<add key="sUrl" value="http://47.96.97.237/WEBS-WMS/WebService1.asmx"/> --> |
| | | <!--æµè¯æå¡å¨--> |
| | | <!--<add key="surl" value="http://localhost:8082/webs/webservice1.asmx"/> æ¬å°--> |
| | | <!--<add key="sUrl" value="http://192.168.110.57:81/WEBS/WebService1.asmx"/>--> <!--éé¯éæ¬å°é
ç½®--> |
| | | <add key="surl" value="http://localhost/webs-web/webservice1.asmx"/> <!--ç¿æ¶æ¶æ¬å°é
ç½®--> |
| | | <add key="surl" value="http://localhost/webs-web/webservice1.asmx" /> <!--ç¿æ¶æ¶æ¬å°é
ç½®--> |
| | | <!--<add key="sUrl" value="http://192.168.1.57:8082/WEBS-WMS/WebService1.asmx"/>ä¹è±--> |
| | | <!--<add key="sUrl" value="http://61.130.182.102:18181/WEBSCS/WebService1.asmx"/>--><!--æ¯è«å°--> |
| | | |
| | |
| | | </basicHttpBinding> |
| | | </bindings> |
| | | <client> |
| | | <endpoint address="http://192.168.0.11/WEBS-WMS/WebService1.asmx" binding="basicHttpBinding" bindingConfiguration="WebService1Soap" contract="Webs1.WebService1Soap" name="WebService1Soap" /> |
| | | <endpoint address="http://10.10.1.2:8090/WEBS-WMS/WebService1.asmx" binding="basicHttpBinding" bindingConfiguration="WebService1Soap" contract="Webs1.WebService1Soap" name="WebService1Soap" /> |
| | | </client> |
| | | </system.serviceModel> |
| | | |
| | | <applicationSettings> |
| | | <WebAPI.Properties.Settings> |
| | | <setting name="WebAPI_WebS_WebService1" serializeAs="String"> |
| | | <value>http://192.168.0.11/WEBS-WMS/WebService1.asmx</value> |
| | | </setting> |
| | | </WebAPI.Properties.Settings> |
| | | </applicationSettings> |
| | | </configuration> |
| | | <applicationSettings> |
| | | <WebAPI.Properties.Settings> |
| | | <setting name="WebAPI_WebS_WebService1" serializeAs="String"> |
| | | <value>http://10.10.1.2:8090/WEBS-WMS/WebService1.asmx</value> |
| | | </setting> |
| | | </WebAPI.Properties.Settings> |
| | | </applicationSettings> |
| | | </configuration> |
| | | <!--ProjectGuid: 5B60CE0C-963C-4DC2-91B3-0B471AAC5438--> |
| | |
| | | <Reference Include="System.Buffers, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> |
| | | <HintPath>..\packages\System.Buffers.4.4.0\lib\netstandard1.1\System.Buffers.dll</HintPath> |
| | | </Reference> |
| | | <Reference Include="System.ComponentModel.Composition" /> |
| | | <Reference Include="System.Data.DataSetExtensions"> |
| | | <Private>True</Private> |
| | | </Reference> |
| | |
| | | <Compile Include="Controllers\CJGL\Cj_SendGoodsBillController.cs" /> |
| | | <Compile Include="Controllers\CJGL\Mes_OrderProcFlowAllReportController.cs" /> |
| | | <Compile Include="Controllers\CJGL\Gy_MaterPreventErrMouldBillController.cs" /> |
| | | <Compile Include="Controllers\CJGL\Sc_KeyElementBindingController.cs" /> |
| | | <Compile Include="Controllers\SBGL\SBBB\Sb_EquipMentCollectionTechParamController.cs" /> |
| | | <Compile Include="Controllers\SBGL\SBBB\Sb_EquipMentCollectionTechParam_TempController.cs" /> |
| | | <Compile Include="Controllers\SCGL\Sc_ProductionReportsController.cs" /> |
| | | <Compile Include="Controllers\ZLGL\BaseSet\Gy_InspectBasisController.cs" /> |
| | | <Compile Include="Controllers\ZLGL\BaseSet\Gy_InspectMethodController.cs" /> |
| | | <Compile Include="Controllers\ZLGL\BaseSet\Gy_QualityController.cs" /> |
| | | <Compile Include="Controllers\ä»å管ç\Kf_MoveStockBillController.cs" /> |
| | | <Compile Include="Controllers\å质管ç\è´¨éæåº¦ç®æ å\QC_MonthTarGetBillController.cs" /> |
| | | <Compile Include="Controllers\CJGL\Qc_PreventErrMouldCheckBillController.cs" /> |
| | |
| | | <WebStackScaffolding_IsAsyncSelected>False</WebStackScaffolding_IsAsyncSelected> |
| | | <NameOfLastUsedPublishProfile>FolderProfile</NameOfLastUsedPublishProfile> |
| | | <NameOfLastUsedPublishProfile>D:\Git\houduan\WebAPI\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile> |
| | | <NameOfLastUsedPublishProfile>D:\æºäºè¿æ\MES\MES-WEB-API\WebAPI\Properties\PublishProfiles\FolderProfile10.pubxml</NameOfLastUsedPublishProfile> |
| | | <NameOfLastUsedPublishProfile>C:\Users\86130\Desktop\æºäºè¿æ\MES-WEB-API\WebAPI\Properties\PublishProfiles\FolderProfilewtt.pubxml</NameOfLastUsedPublishProfile> |
| | | <NameOfLastUsedPublishProfile>D:\ç½ç«åå¸\å端代ç \MES-WEB-API\MES-WEB-API\WebAPI\Properties\PublishProfiles\FolderProfile10.pubxml</NameOfLastUsedPublishProfile> |
| | | <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig> |
| | | <UseIISExpress>true</UseIISExpress> |
| | | <Use64BitIISExpress /> |
| | |
| | | <package id="System.Buffers" version="4.4.0" targetFramework="net45" /> |
| | | <package id="System.IdentityModel.Tokens.Jwt" version="4.0.0" targetFramework="net45" /> |
| | | <package id="System.Memory" version="4.5.3" targetFramework="net45" /> |
| | | <package id="System.Runtime" version="4.3.1" targetFramework="net45" /> |
| | | <package id="System.Runtime.CompilerServices.Unsafe" version="4.5.2" targetFramework="net45" /> |
| | | <package id="Tea" version="1.1.3" targetFramework="net45" /> |
| | | <package id="WebActivatorEx" version="2.0.6" targetFramework="net45" /> |
| | |
| | | D:\æºäºè¿æ\MES\MES-WEB-API\sdk_dingding\TopSdk\bin\Debug\TopSdk.dll |
| | | D:\æºäºè¿æ\MES\MES-WEB-API\sdk_dingding\TopSdk\bin\Debug\TopSdk.pdb |
| | | D:\æºäºè¿æ\MES\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.csproj.CoreCompileInputs.cache |
| | | D:\æºäºè¿æ\MES\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.dll |
| | | D:\æºäºè¿æ\MES\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.pdb |
| | | D:\æºäºè¿æ\MES\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.csproj.AssemblyReference.cache |
| | | D:\vs\项ç®ä»£ç \MES-WEB-API\MES-WEB-API\sdk_dingding\TopSdk\bin\Debug\TopSdk.dll |
| | | D:\vs\项ç®ä»£ç \MES-WEB-API\MES-WEB-API\sdk_dingding\TopSdk\bin\Debug\TopSdk.pdb |
| | | D:\vs\项ç®ä»£ç \MES-WEB-API\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.csproj.CoreCompileInputs.cache |
| | | D:\vs\项ç®ä»£ç \MES-WEB-API\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.dll |
| | | D:\vs\项ç®ä»£ç \MES-WEB-API\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.pdb |
| | | D:\vs\项ç®ä»£ç \MES-WEB-API\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.csproj.AssemblyReference.cache |
| | | C:\Users\86130\Desktop\æºäºè¿æ\MES-WEB-API\sdk_dingding\TopSdk\bin\Debug\TopSdk.dll |
| | | C:\Users\86130\Desktop\æºäºè¿æ\MES-WEB-API\sdk_dingding\TopSdk\bin\Debug\TopSdk.pdb |
| | | C:\Users\86130\Desktop\æºäºè¿æ\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.csproj.AssemblyReference.cache |
| | | C:\Users\86130\Desktop\æºäºè¿æ\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.csproj.CoreCompileInputs.cache |
| | | C:\Users\86130\Desktop\æºäºè¿æ\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.dll |
| | | C:\Users\86130\Desktop\æºäºè¿æ\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.pdb |
| | | D:\ç½ç«åå¸\å端代ç \MES-WEB-API\MES-WEB-API\sdk_dingding\TopSdk\bin\Debug\TopSdk.dll |
| | | D:\ç½ç«åå¸\å端代ç \MES-WEB-API\MES-WEB-API\sdk_dingding\TopSdk\bin\Debug\TopSdk.pdb |
| | | D:\ç½ç«åå¸\å端代ç \MES-WEB-API\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.csproj.CoreCompileInputs.cache |
| | | D:\ç½ç«åå¸\å端代ç \MES-WEB-API\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.dll |
| | | D:\ç½ç«åå¸\å端代ç \MES-WEB-API\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.pdb |
| | | D:\ç½ç«åå¸\å端代ç \MES-WEB-API\MES-WEB-API\sdk_dingding\TopSdk\obj\Debug\TopSdk.csproj.AssemblyReference.cache |
| | |
| | | eb64bc61f5da8fdd8ad56e04c391e3a377d8ca59 |
| | | 95b844bca438eeedc97b9071d4f77d77549b3f29e8c2ab391f1243fa58b84136 |