提交代码

This commit is contained in:
2024-04-24 11:03:32 +08:00
parent 2384e69375
commit b58beb2472
6 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -54,7 +54,7 @@
</div>
<div class="y_aq y_row">
<div class="y_aq_box y_image_default y_row">
<div class="y_aq_label">安全管理人员</div>
<div class="y_aq_label js-hover" data-type="QualityProblem">安全管理人员</div>
<div class="y_aq_value" id="divSafeManagePersonNum" runat="server">0</div>
</div>
<div class="y_aq_box y_image_default y_row js-hover" data-type="AccidentEventData">
+3 -2
View File
@@ -62,7 +62,8 @@ namespace FineUIPro.Web.common
select x;
var glAllPerson = from x in allSum
join y in Funs.DB.Base_WorkPost on x.WorkPostId equals y.WorkPostId
where (y.PostType == "1" || y.PostType == "4") //一般管理岗位和特种管理人员
//where (y.PostType == "1" || y.PostType == "4") //一般管理岗位和特种管理人员
where y.IsHsse == true
select x;
this.divSafeManagePersonNum.InnerText = glAllPerson.Count().ToString();
@@ -571,7 +572,7 @@ namespace FineUIPro.Web.common
List<double> listdata = new List<double>();
double result = 0;
Model.SGGLDB db = Funs.DB;
var ndtLists = from x in db.ProcessControl_NondestructiveTest_New where x.ProfessionalName== "工艺管道" select x;
var ndtLists = from x in db.ProcessControl_NondestructiveTest_New where x.ProfessionalName == "工艺管道" select x;
decimal a = 0, b = 0;
if (ndtLists.Count() > 0)
{