diff --git a/DataBase/Information_UrgeReport_2023-02-01.sql b/DataBase/Information_UrgeReport_2023-02-01.sql new file mode 100644 index 00000000..791b1b01 --- /dev/null +++ b/DataBase/Information_UrgeReport_2023-02-01.sql @@ -0,0 +1,44 @@ + + +CREATE TABLE [dbo].[Information_UrgeReport]( + [UrgeReportId] [nvarchar](50) NOT NULL, + [UnitId] [nvarchar](50) NULL, + [ReprotType] [nvarchar](50) NULL, + [YearId] [nvarchar](50) NULL, + [MonthId] [nvarchar](50) NULL, + [QuarterId] [nvarchar](50) NULL, + [HalfYearId] [nvarchar](50) NULL, + [UrgeDate] [datetime] NULL, + [IsComplete] [bit] NULL, + [IsCancel] [bit] NULL, + CONSTRAINT [PK_Information_UrgeReport] PRIMARY KEY CLUSTERED +( + [UrgeReportId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] + +GO + +ALTER TABLE [dbo].[Information_UrgeReport] WITH CHECK ADD CONSTRAINT [FK_Information_UrgeReport_Base_Unit] FOREIGN KEY([UnitId]) +REFERENCES [dbo].[Base_Unit] ([UnitId]) +GO + +ALTER TABLE [dbo].[Information_UrgeReport] CHECK CONSTRAINT [FK_Information_UrgeReport_Base_Unit] +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'催报id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_UrgeReport', @level2type=N'COLUMN',@level2name=N'UrgeReportId' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'单位id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_UrgeReport', @level2type=N'COLUMN',@level2name=N'UnitId' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N' 报表类型' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_UrgeReport', @level2type=N'COLUMN',@level2name=N'ReprotType' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否上报' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_UrgeReport', @level2type=N'COLUMN',@level2name=N'IsComplete' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'安全信息催报表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Information_UrgeReport' +GO + + diff --git a/DataBase/View_Training_TestTrainingItem_2023-02-01.sql b/DataBase/View_Training_TestTrainingItem_2023-02-01.sql new file mode 100644 index 00000000..57b68aca --- /dev/null +++ b/DataBase/View_Training_TestTrainingItem_2023-02-01.sql @@ -0,0 +1,41 @@ + + + + +ALTER VIEW [dbo].[View_Training_TestTrainingItem] AS +/*培训试题信息视图*/ +SELECT Training.TrainingId + ,Training.TrainingCode + ,Training.TrainingName + ,Item.TrainingItemId + ,Item.TrainingItemCode + ,Item.TrainingItemName + ,Item.Abstracts + ,Item.AbstractsEng + ,Item.AttachUrl + ,Item.VersionNum + ,Item.TestType + ,Item.WorkPostIds + ,Item.WorkPostNames + ,Item.AItem + ,Item.BItem + ,Item.CItem + ,Item.DItem + ,Item.EItem + ,Item.AItemEng + ,Item.BItemEng + ,Item.CItemEng + ,Item.DItemEng + ,Item.EItemEng + --,Item.Score + ,Item.AnswerItems + ,Item.DepartIds + ,Item.DepartNames + FROM dbo.Training_TestTrainingItem AS Item + LEFT JOIN Training_TestTraining AS Training ON Item.TrainingId = Training.TrainingId + + + + + + diff --git a/SGGL/BLL/Common/CommonService.cs b/SGGL/BLL/Common/CommonService.cs index c2d3e08b..166cdc4d 100644 --- a/SGGL/BLL/Common/CommonService.cs +++ b/SGGL/BLL/Common/CommonService.cs @@ -637,6 +637,9 @@ namespace BLL /// public static string CreateGetHttpResponse(string url) { + ServicePointManager.Expect100Continue = true; + ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls; + ServicePointManager.ServerCertificateValidationCallback = (sender, certificate, chain, errors) => true; HttpWebRequest request = WebRequest.Create(url) as HttpWebRequest;//鍒涘缓璇锋眰瀵硅薄 request.Method = "Get";//璇锋眰鏂瑰紡 request.ContentType = "application/x-www-form-urlencoded";//閾炬帴绫诲瀷 diff --git a/SGGL/FineUIPro.Web/ErrLog.txt b/SGGL/FineUIPro.Web/ErrLog.txt index 62f0d0af..771cd0e5 100644 --- a/SGGL/FineUIPro.Web/ErrLog.txt +++ b/SGGL/FineUIPro.Web/ErrLog.txt @@ -1638,3 +1638,41 @@ IP鍦板潃:::1 鍑洪敊鏃堕棿:01/13/2023 09:07:08 + +閿欒淇℃伅寮濮=====> +閿欒绫诲瀷:NullReferenceException +閿欒淇℃伅:鏈皢瀵硅薄寮曠敤璁剧疆鍒板璞$殑瀹炰緥銆 +閿欒鍫嗘爤: + 鍦 FineUIPro.Web.indexProject.Page_Load(Object sender, EventArgs e) 浣嶇疆 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\indexProject.aspx.cs:琛屽彿 354 + 鍦 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) + 鍦 System.EventHandler.Invoke(Object sender, EventArgs e) + 鍦 System.Web.UI.Control.OnLoad(EventArgs e) + 鍦 System.Web.UI.Control.LoadRecursive() + 鍦 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +鍑洪敊鏃堕棿:02/01/2023 14:45:44 +鍑洪敊鏂囦欢:http://localhost:8119/indexProject.aspx +IP鍦板潃:::1 + +鍑洪敊鏃堕棿:02/01/2023 14:45:44 + + + +閿欒淇℃伅寮濮=====> +閿欒绫诲瀷:InvalidCastException +閿欒淇℃伅:鏃犳硶灏嗙被鍨嬩负鈥淪ystem.String鈥濈殑瀵硅薄寮哄埗杞崲涓虹被鍨嬧淣ewtonsoft.Json.Linq.JObject鈥濄 +閿欒鍫嗘爤: + 鍦 FineUIPro.Web.ProjectData.ProjectMonitorList.get_Devices() 浣嶇疆 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\ProjectData\ProjectMonitorList.aspx.cs:琛屽彿 48 + 鍦 FineUIPro.Web.ProjectData.ProjectMonitorList.BindGrid() 浣嶇疆 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\ProjectData\ProjectMonitorList.aspx.cs:琛屽彿 157 + 鍦 FineUIPro.Web.ProjectData.ProjectMonitorList.Page_Load(Object sender, EventArgs e) 浣嶇疆 D:\project\vs\sggl_cd\SGGL\FineUIPro.Web\ProjectData\ProjectMonitorList.aspx.cs:琛屽彿 103 + 鍦 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) + 鍦 System.EventHandler.Invoke(Object sender, EventArgs e) + 鍦 System.Web.UI.Control.OnLoad(EventArgs e) + 鍦 System.Web.UI.Control.LoadRecursive() + 鍦 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +鍑洪敊鏃堕棿:02/01/2023 15:55:02 +鍑洪敊鏂囦欢:http://localhost:8119/ProjectData/ProjectMonitorList.aspx?ProjectCode=E22039&Id=19&URLToken=O3oKppv2KKXDL5EcBs7re7C2JCwujSEhBzJelpGw-EV.oxNjc1ODQyODk5LCJwIjoiNGEyZDhmYThiNWU1ZDNkMGFjNTAxODA5YmRjMWE5MzI3N2EyZDk1ZGM4ZDc0OWUxNjkxZTcxMDcyOGE0M2Q1NyIsInQiOjE2NzUyMzgwOTksInUiOiIxOTc4ZDBmMmU5In0eyJlIj.GciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJhb +IP鍦板潃:::1 +鎿嶄綔浜哄憳:JT + +鍑洪敊鏃堕棿:02/01/2023 15:55:02 + diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj index da83cf27..c6bf7486 100644 --- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj +++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj @@ -1391,6 +1391,7 @@ + @@ -13787,6 +13788,13 @@ ProjectList.aspx + + ProjectMonitorList.aspx + ASPXCodeBehind + + + ProjectMonitorList.aspx + ProjectSet.aspx ASPXCodeBehind @@ -16207,7 +16215,6 @@ - - + + + diff --git a/SGGL/FineUIPro.Web/indexProject.aspx b/SGGL/FineUIPro.Web/indexProject.aspx index a74fcb72..ade4ec30 100644 --- a/SGGL/FineUIPro.Web/indexProject.aspx +++ b/SGGL/FineUIPro.Web/indexProject.aspx @@ -420,6 +420,13 @@ EnableMaximize="true" EnableResize="false"> +