From 065af2b53231b5660b5ee77fc9dcf0c7c76393a8 Mon Sep 17 00:00:00 2001 From: yhw0507 Date: Mon, 13 Mar 2023 16:50:22 +0800 Subject: [PATCH 1/3] =?UTF-8?q?20230313=E4=BF=AE=E6=94=B9=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E4=BA=BA=E5=91=98=E7=8A=B6=E6=80=81=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SGGL/BLL/BLL.csproj | 4 +- SGGL/FineUIPro.Web/FineUIPro.Web.csproj | 8 +- SGGL/FineUIPro.Web/Web.config | 4 +- SGGL/SgManager.AI/SgManager.AI.csproj | 5 +- SGGL/SgManager.AI/packages.config | 2 + .../DoorProject/DoorServiceController.cs | 99 +++++++++---------- SGGL/WebAPI/WebAPI.csproj | 15 ++- 7 files changed, 70 insertions(+), 67 deletions(-) diff --git a/SGGL/BLL/BLL.csproj b/SGGL/BLL/BLL.csproj index 9e18c528..db8f62f1 100644 --- a/SGGL/BLL/BLL.csproj +++ b/SGGL/BLL/BLL.csproj @@ -49,7 +49,7 @@ ..\packages\Portable.BouncyCastle.1.8.9\lib\net40\BouncyCastle.Crypto.dll - ..\packages\EmitMapper.1.0.0\lib\EmitMapper.dll + ..\FineUIPro\Reference BLL\EmitMapper.dll False @@ -126,7 +126,7 @@ - ..\..\..\..\五环施工平台\SGGL_CWCEC\SGGL\BLL\bin\Debug\ThoughtWorks.QRCode.dll + ..\FineUIPro\Reference BLL\ThoughtWorks.QRCode.dll diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj index ffe7ea47..b7b4f47e 100644 --- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj +++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj @@ -69,10 +69,10 @@ FakesAssemblies\Apache.NMS.Fakes.dll - .\bin\Aspose.Words.dll + ..\FineUIPro\Reference BLL\Aspose.Words.dll - .\bin\AxInterop.SYNCARDOCXLib.dll + ..\FineUIPro\Reference BLL\AxInterop.SYNCARDOCXLib.dll False @@ -98,7 +98,7 @@ ..\..\..\..\ELECO\SGGL_ELECO\SGGL\packages\SharpZipLib.1.3.3\lib\net45\ICSharpCode.SharpZipLib.dll - bin\Interop.WIA.dll + ..\FineUIPro\Reference BLL\Interop.WIA.dll False @@ -155,7 +155,7 @@ - \bin\ThoughtWorks.QRCode.dll + ..\FineUIPro\Reference BLL\ThoughtWorks.QRCode.dll FakesAssemblies\ThoughtWorks.QRCode.Fakes.dll diff --git a/SGGL/FineUIPro.Web/Web.config b/SGGL/FineUIPro.Web/Web.config index 0e031171..b398f0cc 100644 --- a/SGGL/FineUIPro.Web/Web.config +++ b/SGGL/FineUIPro.Web/Web.config @@ -155,11 +155,11 @@ - + - + diff --git a/SGGL/SgManager.AI/SgManager.AI.csproj b/SGGL/SgManager.AI/SgManager.AI.csproj index ac463cda..3ce31658 100644 --- a/SGGL/SgManager.AI/SgManager.AI.csproj +++ b/SGGL/SgManager.AI/SgManager.AI.csproj @@ -35,7 +35,7 @@ ..\FineUIPro\Reference BLL\AipSdk.dll - ..\..\..\..\五环施工平台\SGGL_CWCEC\SGGL\SgManager.AI\bin\Debug\AOP.Common.dll + ..\FineUIPro\Reference BLL\AOP.Common.dll ..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll @@ -44,6 +44,9 @@ + + ..\packages\System.Reflection.DispatchProxy.4.5.1\lib\net461\System.Reflection.DispatchProxy.dll + diff --git a/SGGL/SgManager.AI/packages.config b/SGGL/SgManager.AI/packages.config index 093dcd23..bbd920e4 100644 --- a/SGGL/SgManager.AI/packages.config +++ b/SGGL/SgManager.AI/packages.config @@ -1,4 +1,6 @@  + + \ No newline at end of file diff --git a/SGGL/WebAPI/Controllers/DoorProject/DoorServiceController.cs b/SGGL/WebAPI/Controllers/DoorProject/DoorServiceController.cs index bd1a4f17..8424b1cd 100644 --- a/SGGL/WebAPI/Controllers/DoorProject/DoorServiceController.cs +++ b/SGGL/WebAPI/Controllers/DoorProject/DoorServiceController.cs @@ -372,54 +372,7 @@ namespace WebAPI.Controllers } #endregion - #region 更新人员数据交换时间 - /// - /// 更新人员数据交换时间 - /// - /// - /// - /// - /// - public Model.ResponeData getUpdatePersonExchangeTime(string projectCode, string idCard, string type) - { - var responeData = new Model.ResponeData(); - try - { - using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) - { - var getProject = db.Base_Project.FirstOrDefault(e => e.ProjectCode == projectCode); - if (getProject != null) - { - var getPerson = db.SitePerson_Person.FirstOrDefault(e => e.ProjectId == getProject.ProjectId && e.IdentityCard == idCard); - if (getPerson != null && !string.IsNullOrEmpty(type)) - { - if (type == "1") - { - getPerson.ExchangeTime2 = DateTime.Now; - if (!getPerson.ExchangeTime.HasValue) - { - getPerson.ExchangeTime = DateTime.Now; - } - } - else - { - getPerson.ExchangeTime = DateTime.Now; - } - db.SubmitChanges(); - } - } - } - } - catch (Exception ex) - { - responeData.code = 0; - responeData.message = ex.Message; - ErrLogInfo.WriteLog(ex, "WX接口-更新人员数据交换时间", "PersonController.getUpdatePersonExchangeTime"); - } - return responeData; - } - #endregion - + #region 获取离场人员 /// /// 获取离场人员 @@ -549,7 +502,7 @@ namespace WebAPI.Controllers provinceCode = x.ProvinceCode, positiveIdcardImage = db.AttachFile.First(t => (x.PersonId + "#1") == t.ToKeyId).ImageByte, negativeIdcardImage = db.AttachFile.First(t => (x.PersonId + "#5") == t.ToKeyId).ImageByte, - headImage = x.HeadImage, + // headImage = x.HeadImage, mobile = x.Telephone, teamLeaderFlag = (T.GroupLeaderId == x.PersonId ? "Y" : "N"), userType = ((w.PostType == "1" || w.PostType == "4") ? "LAB_USER_MANAGE" : "LAB_USER_BULIDER"), @@ -577,6 +530,52 @@ namespace WebAPI.Controllers } #endregion - + #region 更新人员数据交换时间 + /// + /// 更新人员数据交换时间 + /// + /// + /// + /// + /// + public Model.ResponeData getUpdatePersonExchangeTime(string projectCode, string idCard, string type) + { + var responeData = new Model.ResponeData(); + try + { + using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) + { + var getProject = db.Base_Project.FirstOrDefault(e => e.ProjectCode == projectCode); + if (getProject != null) + { + var getPerson = db.SitePerson_Person.FirstOrDefault(e => e.ProjectId == getProject.ProjectId && e.IdentityCard == idCard); + if (getPerson != null && !string.IsNullOrEmpty(type)) + { + getPerson.ExchangeTime2 = DateTime.Now; + if (type == "1") + { + if (!getPerson.ExchangeTime.HasValue) + { + getPerson.ExchangeTime = DateTime.Now; + } + } + else + { + getPerson.ExchangeTime = DateTime.Now; + } + db.SubmitChanges(); + } + } + } + } + catch (Exception ex) + { + responeData.code = 0; + responeData.message = ex.Message; + ErrLogInfo.WriteLog(ex, "WX接口-更新人员数据交换时间", "PersonController.getUpdatePersonExchangeTime"); + } + return responeData; + } + #endregion } } diff --git a/SGGL/WebAPI/WebAPI.csproj b/SGGL/WebAPI/WebAPI.csproj index 3aa04ce1..6013a564 100644 --- a/SGGL/WebAPI/WebAPI.csproj +++ b/SGGL/WebAPI/WebAPI.csproj @@ -51,18 +51,21 @@ - bin\Apache.NMS.Fakes.dll + ..\FineUIPro\Reference BLL\Apache.NMS.Fakes.dll - bin\Aspose.Words.dll + ..\FineUIPro\Reference BLL\Aspose.Words.dll + + + ..\FineUIPro\FineUIPro.dll - ..\packages\Microsoft.Bcl.AsyncInterfaces.5.0.0\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll - bin\Newtonsoft.Json.dll + ..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll + True ..\packages\Pipelines.Sockets.Unofficial.2.2.2\lib\net461\Pipelines.Sockets.Unofficial.dll @@ -172,10 +175,6 @@ True ..\packages\WebGrease.1.6.0\lib\WebGrease.dll - - True - ..\packages\Antlr.3.5.0.2\lib\Antlr3.Runtime.dll - From 343816dfbc6f6ae51d90be7a14e37204c05aa498 Mon Sep 17 00:00:00 2001 From: fly-l <1420031550@qq.com> Date: Tue, 14 Mar 2023 12:13:14 +0800 Subject: [PATCH 2/3] =?UTF-8?q?2023-03-14=20=E5=AE=89=E5=85=A8=E7=8E=AF?= =?UTF-8?q?=E4=BF=9D=E6=95=B0=E6=8D=AE=E4=B8=AD=E7=94=A8=E6=96=B0=E6=B0=B4?= =?UTF-8?q?=E9=87=8F=E6=94=B9=E4=B8=BA=E4=BA=8C=E6=B0=A7=E5=8C=96=E7=A2=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SGGL/FineUIPro.Web/ZHGL/DataSync/HSSEData_HSSE.aspx | 2 +- SGGL/FineUIPro.Web/ZHGL/DataSync/HSSEData_HSSEEdit.aspx | 2 +- .../ZHGL/DataSync/ProjectDataSync/Project_HSSEData_HSSE.aspx | 2 +- .../DataSync/ProjectDataSync/Project_HSSEData_HSSEEdit.aspx | 2 +- SGGL/FineUIPro.Web/common/mainMenu_HSSE2.aspx | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/SGGL/FineUIPro.Web/ZHGL/DataSync/HSSEData_HSSE.aspx b/SGGL/FineUIPro.Web/ZHGL/DataSync/HSSEData_HSSE.aspx index 56c207db..d6d90553 100644 --- a/SGGL/FineUIPro.Web/ZHGL/DataSync/HSSEData_HSSE.aspx +++ b/SGGL/FineUIPro.Web/ZHGL/DataSync/HSSEData_HSSE.aspx @@ -105,7 +105,7 @@ FieldType="String" HeaderText="万元营业收入综合能耗(吨标准煤/万元)" TextAlign="Left" HeaderTextAlign="Center" > + FieldType="String" HeaderText="二氧化碳(万吨)" TextAlign="Left" HeaderTextAlign="Center" > diff --git a/SGGL/FineUIPro.Web/ZHGL/DataSync/HSSEData_HSSEEdit.aspx b/SGGL/FineUIPro.Web/ZHGL/DataSync/HSSEData_HSSEEdit.aspx index 00b3e395..e61dd9ab 100644 --- a/SGGL/FineUIPro.Web/ZHGL/DataSync/HSSEData_HSSEEdit.aspx +++ b/SGGL/FineUIPro.Web/ZHGL/DataSync/HSSEData_HSSEEdit.aspx @@ -126,7 +126,7 @@ - + diff --git a/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_HSSEData_HSSE.aspx b/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_HSSEData_HSSE.aspx index 6ab0533f..a934e068 100644 --- a/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_HSSEData_HSSE.aspx +++ b/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_HSSEData_HSSE.aspx @@ -105,7 +105,7 @@ FieldType="String" HeaderText="万元营业收入综合能耗" TextAlign="Left" HeaderTextAlign="Center" > + FieldType="String" HeaderText="二氧化碳" TextAlign="Left" HeaderTextAlign="Center" > diff --git a/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_HSSEData_HSSEEdit.aspx b/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_HSSEData_HSSEEdit.aspx index 897a6c27..189967de 100644 --- a/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_HSSEData_HSSEEdit.aspx +++ b/SGGL/FineUIPro.Web/ZHGL/DataSync/ProjectDataSync/Project_HSSEData_HSSEEdit.aspx @@ -66,7 +66,7 @@ - + diff --git a/SGGL/FineUIPro.Web/common/mainMenu_HSSE2.aspx b/SGGL/FineUIPro.Web/common/mainMenu_HSSE2.aspx index 5e92b1a1..cf6844c0 100644 --- a/SGGL/FineUIPro.Web/common/mainMenu_HSSE2.aspx +++ b/SGGL/FineUIPro.Web/common/mainMenu_HSSE2.aspx @@ -200,7 +200,7 @@
<%=showDecimalData(hSSEData_HSSE.IncomeComprehensiveEnergyConsumption,"--") %>
-
用新水量
(万吨)
+
二氧化碳
(万吨)
<%=showDecimalData(hSSEData_HSSE.NewWaterConsumption,"--") %>
From e0873e80d50287454daa0f6135aa7a8bd7c52a4f Mon Sep 17 00:00:00 2001 From: fly-l <1420031550@qq.com> Date: Tue, 14 Mar 2023 13:00:24 +0800 Subject: [PATCH 3/3] 2023-03-14 --- SGGL/FineUIPro.Web/FineUIPro.Web.csproj | 6 +++--- SGGL/FineUIPro.Web/Web.config | 12 ++++-------- SGGL/FineUIPro.Web/packages.config | 4 ++-- 3 files changed, 9 insertions(+), 13 deletions(-) diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj index b7b4f47e..52af7b91 100644 --- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj +++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj @@ -94,8 +94,8 @@ False ..\FineUIPro\FineUIPro.dll
- - ..\..\..\..\ELECO\SGGL_ELECO\SGGL\packages\SharpZipLib.1.3.3\lib\net45\ICSharpCode.SharpZipLib.dll + + ..\packages\SharpZipLib.1.3.2\lib\net45\ICSharpCode.SharpZipLib.dll ..\FineUIPro\Reference BLL\Interop.WIA.dll @@ -112,7 +112,7 @@ False - ..\packages\Newtonsoft.Json.12.0.1\lib\net40\Newtonsoft.Json.dll + ..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll ..\packages\NPOI.2.5.5\lib\net45\NPOI.dll diff --git a/SGGL/FineUIPro.Web/Web.config b/SGGL/FineUIPro.Web/Web.config index b398f0cc..57dd9e34 100644 --- a/SGGL/FineUIPro.Web/Web.config +++ b/SGGL/FineUIPro.Web/Web.config @@ -153,18 +153,14 @@ - - - - - - - - + + + + \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/packages.config b/SGGL/FineUIPro.Web/packages.config index 005e56ea..914d70b2 100644 --- a/SGGL/FineUIPro.Web/packages.config +++ b/SGGL/FineUIPro.Web/packages.config @@ -5,8 +5,8 @@ - + - + \ No newline at end of file