1质量人员报验总数取在场人数,合格人数取有效期内的在场人数;

This commit is contained in:
夏菊 2025-07-09 19:10:09 +08:00
parent c5a24de409
commit 9a5ffa4632
5 changed files with 30 additions and 10 deletions

View File

@ -3274,6 +3274,7 @@
RectifyName = item.RectifyName,
SupRectifyId = item.SupRectifyId,
IsEndLever = item.IsEndLever,
RectifyType = "0",//安全
IsBuild = true
};
newLists.Add(newList);

View File

@ -3112,7 +3112,7 @@ namespace BLL
var result = (from x in Funs.DB.Bo_Sheng_Train
join p in Funs.DB.Base_Project on x.ProjectId equals p.ProjectId into pGroup
from p in pGroup.DefaultIfEmpty()
where BeUnderConstructionList.Contains(p.ProjectId) && (x.TrainType == "入场(厂)培训" || x.TrainType == "入厂(场)级培训")
where BeUnderConstructionList.Contains(p.ProjectId) && (x.TrainType.Contains("入场") || x.TrainType.Contains("入厂"))
&& (x.DeleteTag == "False" || x.DeleteTag == null) && x.TrainStartDate > Const.DtmarkTime
select new Model.EduTrainOutput()
{

View File

@ -758,7 +758,7 @@ namespace BLL
var result = (from x in Funs.DB.Bo_Sheng_Train
join p in Funs.DB.Base_Project on x.ProjectId equals p.ProjectId into pGroup
from p in pGroup.DefaultIfEmpty()
where x.ProjectId == projectid && (x.TrainType == "入场(厂)培训" || x.TrainType == "入厂(场)级培训")
where x.ProjectId == projectid && (x.TrainType.Contains("入场") || x.TrainType.Contains("入厂"))
&& (x.DeleteTag == "False" || x.DeleteTag == null) && x.TrainStartDate > Const.DtmarkTime
select x.PersonCount ?? 0).ToList().Sum();
return result;

View File

@ -557,5 +557,24 @@ namespace FineUIPro.Web.HSSE.Technique
}
}
#endregion
/// <summary>
/// 从集团获取
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnGet_Click(object sender, EventArgs e)
{
var returnValue = CNCECHSSEWebService.getTechnique_RectifyList();
if (returnValue.code == 1)
{
ShowNotify(returnValue.message, MessageBoxIcon.Success);
}
else
{
Alert.ShowInTop(returnValue.message, MessageBoxIcon.Success);
}
}
}
}

View File

@ -86,22 +86,22 @@
<publishTime>10/28/2024 14:02:50</publishTime>
</File>
<File Include="bin/App_global.asax.compiled">
<publishTime>07/02/2025 14:39:26</publishTime>
<publishTime>07/09/2025 15:26:57</publishTime>
</File>
<File Include="bin/App_global.asax.dll">
<publishTime>07/02/2025 14:39:26</publishTime>
<publishTime>07/09/2025 15:26:57</publishTime>
</File>
<File Include="bin/Aspose.Words.dll">
<publishTime>12/06/2024 20:13:58</publishTime>
</File>
<File Include="bin/BLL.dll">
<publishTime>07/02/2025 14:39:06</publishTime>
<publishTime>07/09/2025 15:26:37</publishTime>
</File>
<File Include="bin/BLL.dll.config">
<publishTime>12/26/2024 09:46:52</publishTime>
</File>
<File Include="bin/BLL.pdb">
<publishTime>07/02/2025 14:39:06</publishTime>
<publishTime>07/09/2025 15:26:37</publishTime>
</File>
<File Include="bin/BouncyCastle.Crypto.dll">
<publishTime>12/18/2020 05:32:28</publishTime>
@ -389,13 +389,13 @@
<publishTime>02/09/2013 00:42:28</publishTime>
</File>
<File Include="bin/WebAPI.dll">
<publishTime>07/02/2025 14:39:09</publishTime>
<publishTime>07/09/2025 15:26:40</publishTime>
</File>
<File Include="bin/WebAPI.pdb">
<publishTime>07/02/2025 14:39:09</publishTime>
<publishTime>07/09/2025 15:26:40</publishTime>
</File>
<File Include="bin/WebAPI.xml">
<publishTime>07/02/2025 14:39:09</publishTime>
<publishTime>07/09/2025 15:26:40</publishTime>
</File>
<File Include="bin/WebGrease.dll">
<publishTime>01/23/2014 21:57:34</publishTime>
@ -479,7 +479,7 @@
<publishTime>10/28/2024 14:02:50</publishTime>
</File>
<File Include="PrecompiledApp.config">
<publishTime>07/02/2025 14:39:10</publishTime>
<publishTime>07/09/2025 15:26:42</publishTime>
</File>
<File Include="Scripts/bootstrap.js">
<publishTime>10/28/2024 14:02:50</publishTime>