报表管理:职业健康危害因素清单

This commit is contained in:
2026-04-17 16:51:59 +08:00
parent d29c537452
commit d16907d32b
26 changed files with 4506 additions and 12 deletions
+6 -4
View File
@@ -1,10 +1,11 @@
using System;
using EmitMapper;
using EmitMapper.MappingConfiguration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using EmitMapper;
using EmitMapper.MappingConfiguration;
namespace BLL
{
@@ -503,7 +504,8 @@ namespace BLL
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
{
var getDataLists = (from x in db.Training_TestRecord
join y in db.Training_TestPlan on x.TestPlanId equals y.TestPlanId
join y in db.Training_TestPlan on x.TestPlanId equals y.TestPlanId into yGroup
from y in yGroup.DefaultIfEmpty()
where x.ProjectId == projectId && x.TestManId == personId && x.TestStartTime.HasValue
orderby x.TestStartTime descending
select new Model.TestRecordItem