From a8440d00c02070074f6bb7d24d06bc659ef363b8 Mon Sep 17 00:00:00 2001
From: zzr99 <1940172413@qq.com>
Date: 星期六, 02 七月 2022 13:22:17 +0800
Subject: [PATCH] PDA缓存加列宽+已上传控制行数+出入库按钮加控制

---
 WebTM/App_Data/MssqlReportData.cs |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/WebTM/App_Data/MssqlReportData.cs b/WebTM/App_Data/MssqlReportData.cs
index 82e57b0..47fd479 100644
--- a/WebTM/App_Data/MssqlReportData.cs
+++ b/WebTM/App_Data/MssqlReportData.cs
@@ -21,6 +21,7 @@
     //public const string SqlConnStr = "Data Source=47.96.97.237,15127;Initial Catalog=HX_LMESsys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;";//YL娴嬭瘯
     //public const string SqlConnStr = "Data Source=47.96.97.237,15127;Initial Catalog=HX_LMESsys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;";//涓镐簳
     public const string SqlConnStr = "Data Source=192.168.0.200;Initial Catalog=HX_LimsSys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;";//涓镐簳鍦板潃
+    //public const string SqlConnStr = "Data Source=192.168.0.175;Initial Catalog=HX_LimsSys;Persist Security Info=True;User ID=HX_USER;Password=lc@841022;";//闆呯惇璇烘祴璇�
 
     //public string sServer;
     //public string sDataBase;
@@ -82,6 +83,8 @@
         ReportConn.Open();
         ReportDataAdapter.Fill(ReportDataSet);
         ReportConn.Close();
+        LogService.Write("SqlConnStr:"+ SqlConnStr);
+        LogService.Write("ReportDataSet:" + ReportDataSet.Tables[0].Rows.Count);
 
         if (IsJSON)
             JSONReportData.GenDataSet(DataPage, ReportDataSet, DataType);
@@ -127,6 +130,7 @@
 {
     public static void GenOneRecordset(System.Web.UI.Page DataPage, string QuerySQL)
     {
+        LogService.Write("鎵撳嵃sql:" + QuerySQL);
         SqlReportData.DoGenDetailData(DataPage, QuerySQL, ReportDataBase.DefaultDataType, false);
     }
 

--
Gitblit v1.9.1