| | |
| | | |
| | | if (flag) |
| | | { |
| | | |
| | | DataTable dt = new DataTable(); |
| | | string contents = File.ReadAllText(csv_file_path, Encoding.GetEncoding("gb2312")); |
| | | //string csv_file_path_Read = @"C:\Users\admin\Desktop\新建文件夹 (2)\20231123_1.csv"; |
| | | string csv_file_path_Read = $@"D:\THLCR_Data\{HBath}\{HBath}_{Date}_C332001_2M_Read.csv"; //组装1 组装2路径 |
| | | //string csv_file_path_Read = $@"E:\THLCR_Data\{HBath}\{HBath}_{Date}_332009_Read.csv"; //组装3路径 |
| | | |
| | | File.Copy(csv_file_path, csv_file_path_Read, true); |
| | | |
| | | string contents = File.ReadAllText(csv_file_path_Read, Encoding.GetEncoding("gb2312")); |
| | | |
| | | TextFieldParser parser = new TextFieldParser(new StringReader(contents)); |
| | | |
| | |
| | | E:\智云mes\SRM\WFormSynchronizeData_SMR\WFormSynchronizeData_SMR\WFormReadData_SMR\bin\Debug\Newtonsoft.Json.dll |
| | | E:\智云mes\SRM\WFormSynchronizeData_SMR\WFormSynchronizeData_SMR\WFormReadData_SMR\bin\Debug\HslCommunication.xml |
| | | E:\智云mes\SRM\WFormSynchronizeData_SMR\WFormSynchronizeData_SMR\WFormReadData_SMR\bin\Debug\Newtonsoft.Json.xml |
| | | E:\智云mes\SRM\WFormSynchronizeData_SMR\WFormSynchronizeData_SMR\WFormReadData_SMR\obj\Debug\WFormReadData_SMR.csproj.AssemblyReference.cache |
| | | E:\智云mes\SRM\WFormSynchronizeData_SMR\WFormSynchronizeData_SMR\WFormReadData_SMR\obj\Debug\WFormReadData_SMR.Properties.Resources.resources |
| | | E:\智云mes\SRM\WFormSynchronizeData_SMR\WFormSynchronizeData_SMR\WFormReadData_SMR\obj\Debug\WFormReadData_SMR.ReadCSV.resources |
| | | E:\智云mes\SRM\WFormSynchronizeData_SMR\WFormSynchronizeData_SMR\WFormReadData_SMR\obj\Debug\WFormReadData_SMR.ReadyDataForm.resources |
| | |
| | | return false; |
| | | } |
| | | |
| | | //查询出站数量是否超过流转卡数量 |
| | | ds = oCN.RunProcReturn($@"select (b.HQty -sum(isnull(ou.HQty,0))-sum(isnull(ou.HBadCount,0))) HQty from Sc_ProcessExchangeBillSub b WITH(NOLOCK) |
| | | left join Sc_StationOutBillMain ou WITH(NOLOCK) on b.HInterID=ou.HProcExchInterID and b.HEntryID=ou.HProcExchEntryID |
| | | where b.HInterID={HProcExchInterID} and b.HEntryID={HProcExchEntryID} |
| | | group by b.HInterID,b.HEntryID,b.HQty", "Sc_ProcessExchangeBill_Out"); |
| | | |
| | | if (double.Parse(ds.Tables[0].Rows[0][0].ToString()) < 0) |
| | | { |
| | | oCN.RollBack(); |
| | | CustomWriteLog("流转卡:"+ HProcExchBillNo + ",出站数量超过流转卡数量!", DateTime.Now.ToString("yyyy-MM-dd")); |
| | | return false; |
| | | } |
| | | |
| | | bool flag = false; |
| | | |
| | | flag = AddXt_XtRoutBill(HInterID, HBillNo, HBadCodeSN); |
| | |
| | | <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> |
| | | </dsig:Transforms> |
| | | <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> |
| | | <dsig:DigestValue>8Sj2fUCF+DPzvNwSEG0+LaAme+iSIjx9lyYGCAvdvuA=</dsig:DigestValue> |
| | | <dsig:DigestValue>Jo0UaRkTnFUg9LPHHR/lq5n8E6e1+pr6piv+Rd1y5mw=</dsig:DigestValue> |
| | | </hash> |
| | | </dependentAssembly> |
| | | </dependency> |
| | |
| | | </dependentAssembly> |
| | | </dependency> |
| | | <dependency> |
| | | <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="WFormSynchronizeData_SMR.exe" size="45488"> |
| | | <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="WFormSynchronizeData_SMR.exe" size="46512"> |
| | | <assemblyIdentity name="WFormSynchronizeData_SMR" version="1.0.0.0" language="neutral" processorArchitecture="msil" /> |
| | | <hash> |
| | | <dsig:Transforms> |
| | | <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> |
| | | </dsig:Transforms> |
| | | <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> |
| | | <dsig:DigestValue>kSXIZlMRzQeIw+fo2ApCn4XExHBfk9fvo7IO6cPRYKQ=</dsig:DigestValue> |
| | | <dsig:DigestValue>rC072tRJ8yOONeZrev69z1nhMwdRgEIEyeWXLmJLwLw=</dsig:DigestValue> |
| | | </hash> |
| | | </dependentAssembly> |
| | | </dependency> |
| | |
| | | <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> |
| | | </dsig:Transforms> |
| | | <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> |
| | | <dsig:DigestValue>8Sj2fUCF+DPzvNwSEG0+LaAme+iSIjx9lyYGCAvdvuA=</dsig:DigestValue> |
| | | <dsig:DigestValue>Jo0UaRkTnFUg9LPHHR/lq5n8E6e1+pr6piv+Rd1y5mw=</dsig:DigestValue> |
| | | </hash> |
| | | </dependentAssembly> |
| | | </dependency> |
| | |
| | | E:\智云mes\SRM\WFormSynchronizeData_SMR\WFormSynchronizeData_SMR\WFormSynchronizeData_SMR\bin\Debug\WFormSynchronizeData_SMR.pdb |
| | | E:\智云mes\SRM\WFormSynchronizeData_SMR\WFormSynchronizeData_SMR\WFormSynchronizeData_SMR\bin\Debug\Newtonsoft.Json.dll |
| | | E:\智云mes\SRM\WFormSynchronizeData_SMR\WFormSynchronizeData_SMR\WFormSynchronizeData_SMR\bin\Debug\Newtonsoft.Json.xml |
| | | E:\智云mes\SRM\WFormSynchronizeData_SMR\WFormSynchronizeData_SMR\WFormSynchronizeData_SMR\obj\Debug\WFormSynchronizeData_SMR.csproj.AssemblyReference.cache |
| | | E:\智云mes\SRM\WFormSynchronizeData_SMR\WFormSynchronizeData_SMR\WFormSynchronizeData_SMR\obj\Debug\WFormSynchronizeData_SMR.Form1.resources |
| | | E:\智云mes\SRM\WFormSynchronizeData_SMR\WFormSynchronizeData_SMR\WFormSynchronizeData_SMR\obj\Debug\WFormSynchronizeData_SMR.Properties.Resources.resources |
| | | E:\智云mes\SRM\WFormSynchronizeData_SMR\WFormSynchronizeData_SMR\WFormSynchronizeData_SMR\obj\Debug\WFormSynchronizeData_SMR.csproj.GenerateResource.cache |
| | |
| | | </dependentAssembly> |
| | | </dependency> |
| | | <dependency> |
| | | <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="WFormSynchronizeData_SMR.exe" size="45488"> |
| | | <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="WFormSynchronizeData_SMR.exe" size="46512"> |
| | | <assemblyIdentity name="WFormSynchronizeData_SMR" version="1.0.0.0" language="neutral" processorArchitecture="msil" /> |
| | | <hash> |
| | | <dsig:Transforms> |
| | | <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> |
| | | </dsig:Transforms> |
| | | <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" /> |
| | | <dsig:DigestValue>kSXIZlMRzQeIw+fo2ApCn4XExHBfk9fvo7IO6cPRYKQ=</dsig:DigestValue> |
| | | <dsig:DigestValue>rC072tRJ8yOONeZrev69z1nhMwdRgEIEyeWXLmJLwLw=</dsig:DigestValue> |
| | | </hash> |
| | | </dependentAssembly> |
| | | </dependency> |