1
This commit is contained in:
44
Pilot.Report.Exploitation/Common/Loghelp.cs
Normal file
44
Pilot.Report.Exploitation/Common/Loghelp.cs
Normal file
@@ -0,0 +1,44 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Pilot.Report.Exploitation.Common
|
||||
{
|
||||
public static class Loghelp
|
||||
{
|
||||
|
||||
|
||||
public static void Log(string str)
|
||||
{
|
||||
//return;
|
||||
str = DateTime.Now + "----\n" + str;
|
||||
string now = DateTime.Now.Date.ToString("yyyy-MM-dd");
|
||||
string currentDirectory = Environment.CurrentDirectory;
|
||||
string path = @"D:/RequestLog/";
|
||||
string fileName = now + "Log.txt";
|
||||
string sourceFilePath = path + fileName;
|
||||
if (!Directory.Exists(path))
|
||||
{
|
||||
Directory.CreateDirectory(path);
|
||||
}
|
||||
try
|
||||
{
|
||||
using (StreamWriter sw = File.AppendText(sourceFilePath))
|
||||
{
|
||||
|
||||
if (!System.IO.File.Exists(sourceFilePath))
|
||||
{
|
||||
FileInfo fileinfo = new FileInfo(sourceFilePath);
|
||||
fileinfo.Create();
|
||||
}
|
||||
sw.WriteLine(str);
|
||||
}
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -184,6 +184,7 @@
|
||||
<Compile Include="AccountsReceivable\YourDataPlugIn.cs" />
|
||||
<Compile Include="AnnualSalesPaymentSum\AnnualSalesPaymentSumReport.cs" />
|
||||
<Compile Include="AnnualSalesPaymentSum\SumResultsReportServicePlugIn.cs" />
|
||||
<Compile Include="Common\Loghelp.cs" />
|
||||
<Compile Include="ContractDetails\ContractDetailsReport.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="PublicClass\EnvironmentTEST.cs" />
|
||||
|
||||
@@ -12,6 +12,7 @@ using System.Threading.Tasks;
|
||||
using Kingdee.BOS.Orm.DataEntity;
|
||||
using System.Data;
|
||||
using Pilot.Report.Exploitation.PublicClass;
|
||||
using Pilot.Report.Exploitation.Common;
|
||||
|
||||
namespace Pilot.Report.Exploitation.ResultsKanbanSummary
|
||||
{
|
||||
@@ -614,7 +615,8 @@ namespace Pilot.Report.Exploitation.ResultsKanbanSummary
|
||||
0 Sort
|
||||
FROM #TempTable5 t1 GROUP BY t1.Area) t1
|
||||
order by t1.Area,Sort;", tableName);
|
||||
|
||||
Loghelp.Log("BuilderReportSqlAndTempTable");
|
||||
Loghelp.Log(sql);
|
||||
DBUtils.Execute(this.Context, sql);
|
||||
}
|
||||
|
||||
@@ -712,6 +714,8 @@ namespace Pilot.Report.Exploitation.ResultsKanbanSummary
|
||||
) temp
|
||||
";
|
||||
string SqlStr = string.Format(sql, sSQL, rowId + 1, rowId + 2, rowId + 1024);
|
||||
Loghelp.Log("GetListData");
|
||||
Loghelp.Log(SqlStr);
|
||||
return base.GetListData(SqlStr);
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
|
||||
da129d0732d9eccd6fd38e673256c57d03f9f5b1
|
||||
a24ad02db3dd2b4766cc5a52e4fb590ec20562cb244d54e2932cd8e029a92475
|
||||
|
||||
@@ -119,3 +119,55 @@ E:\GZC#Code\派诺报表-裴豪\派诺报表\代码\Pilot.Report\Pilot.Report\Pi
|
||||
E:\GZC#Code\派诺报表-裴豪\派诺报表\代码\Pilot.Report\Pilot.Report\Pilot.Report.Exploitation\obj\Debug\Pilot.Report.Exploitation.csproj.CopyComplete
|
||||
E:\GZC#Code\派诺报表-裴豪\派诺报表\代码\Pilot.Report\Pilot.Report\Pilot.Report.Exploitation\obj\Debug\Pilot.Report.Exploitation.dll
|
||||
E:\GZC#Code\派诺报表-裴豪\派诺报表\代码\Pilot.Report\Pilot.Report\Pilot.Report.Exploitation\obj\Debug\Pilot.Report.Exploitation.pdb
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\Pilot.Report.Exploitation.dll.config
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\Pilot.Report.Exploitation.dll
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\Pilot.Report.Exploitation.pdb
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\BouncyCastle.Crypto.dll
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\BouncyCastle.Cryptography.dll
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\DocumentFormat.OpenXml.dll
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\DocumentFormat.OpenXml.Framework.dll
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\Enums.NET.dll
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\ExtendedNumerics.BigDecimal.dll
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\MathNet.Numerics.dll
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\Microsoft.IO.RecyclableMemoryStream.dll
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\Newtonsoft.Json.dll
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\SixLabors.Fonts.dll
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\SixLabors.ImageSharp.dll
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\System.Buffers.dll
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\System.Memory.dll
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\System.Numerics.Vectors.dll
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\System.Runtime.CompilerServices.Unsafe.dll
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\System.Security.Cryptography.Pkcs.dll
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\System.Security.Cryptography.Xml.dll
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\System.Text.Encoding.CodePages.dll
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\System.Threading.Tasks.Extensions.dll
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\Xceed.Document.NET.dll
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\Xceed.Pdf.dll
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\Xceed.Words.NET.dll
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\Oracle.DataAccess.dll
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\BouncyCastle.Crypto.xml
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\BouncyCastle.Cryptography.xml
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\DocumentFormat.OpenXml.xml
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\DocumentFormat.OpenXml.Framework.xml
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\Enums.NET.pdb
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\Enums.NET.xml
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\ExtendedNumerics.BigDecimal.xml
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\MathNet.Numerics.xml
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\Microsoft.IO.RecyclableMemoryStream.xml
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\SixLabors.Fonts.xml
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\SixLabors.ImageSharp.xml
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\System.Buffers.xml
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\System.Memory.xml
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\System.Numerics.Vectors.xml
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\System.Runtime.CompilerServices.Unsafe.xml
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\System.Security.Cryptography.Pkcs.xml
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\System.Security.Cryptography.Xml.xml
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\System.Text.Encoding.CodePages.xml
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\System.Threading.Tasks.Extensions.xml
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\Xceed.Document.NET.xml
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\bin\Debug\Xceed.Words.NET.xml
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\obj\Debug\Pilot.Report.Exploitation.csproj.AssemblyReference.cache
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\obj\Debug\Pilot.Report.Exploitation.csproj.CoreCompileInputs.cache
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\obj\Debug\Pilot.Re.5836546F.Up2Date
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\obj\Debug\Pilot.Report.Exploitation.dll
|
||||
F:\珠海项目\派诺项目\派诺报表(1)\派诺报表\代码\Piolot_RepotForm\Pilot.Report.Exploitation\obj\Debug\Pilot.Report.Exploitation.pdb
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user