代码无效引用清理,试压包资料界面看板修改

This commit is contained in:
2025-10-10 14:33:21 +08:00
parent 87fb529521
commit 55b798135c
933 changed files with 5897 additions and 7541 deletions
@@ -5,7 +5,7 @@ namespace BLL
{
public class AccidentCaseItemService
{
/// <summary>
/// 根据常见事故案例明细Id获取事故案例明细
@@ -5,7 +5,7 @@ namespace BLL
{
public class AccidentCaseService
{
/// <summary>
/// 根据主键获取事故伤害及预防
@@ -1,5 +1,4 @@
using System.Linq;
using Model;
namespace BLL
{
@@ -1,6 +1,5 @@
using System.Collections.Generic;
using System.Linq;
using Model;
namespace BLL
{
@@ -8,7 +8,7 @@ namespace BLL
/// </summary>
public static class EduTrain_TrainRecordDetailService
{
/// <summary>
/// 根据教育培训主键获取所有的教育培训明细信息
@@ -9,7 +9,7 @@ namespace BLL
/// </summary>
public static class EduTrain_TrainRecordService
{
/// <summary>
/// 根据教育培训主键获取教育培训信息
@@ -8,7 +8,7 @@ namespace BLL
/// </summary>
public static class EduTrain_TrainTestService
{
/// <summary>
/// 根据教育培训主键获取所有的教育培训明细信息
@@ -1,6 +1,5 @@
using System.Collections.Generic;
using System.Linq;
using Model;
namespace BLL
{
+2 -3
View File
@@ -2,7 +2,6 @@
using System;
using System.Collections;
using System.Linq;
using Model;
namespace BLL
{
@@ -64,7 +63,7 @@ namespace BLL
x.TestEndTime,
x.TestScores,
z.TrainTypeId,
db1.Base_TrainType.First(u=>u.TrainTypeId == z.TrainTypeId).TrainTypeName,
db1.Base_TrainType.First(u => u.TrainTypeId == z.TrainTypeId).TrainTypeName,
z.TrainStartDate,
};
}
@@ -190,7 +189,7 @@ namespace BLL
{
item.TestEndTime = item.TestStartTime.Value.AddMinutes(item.Duration);
item.TestScores = db.Training_TestRecordItem.Where(x => x.TestRecordId == item.TestRecordId).Sum(x => x.SubjectScore) ?? 0;
icount++;
}
db.SubmitChanges();
@@ -5,7 +5,7 @@ namespace BLL
{
public static class TestTrainingItemService
{
/// <summary>
/// 根据主键获取信息
@@ -1,6 +1,5 @@
using System.Collections.Generic;
using System.Linq;
using Model;
namespace BLL
{
@@ -8,7 +8,7 @@ namespace BLL
/// </summary>
public static class TrainTestDBItemService
{
/// <summary>
/// 根据主键删除安全试题库明细信息
+1 -1
View File
@@ -8,7 +8,7 @@ namespace BLL
/// </summary>
public static class TrainTestDBService
{
/// <summary>
/// 根据主键获取安全试题库信息
@@ -5,7 +5,7 @@ namespace BLL
{
public class TrainingItemService
{
/// <summary>
///
@@ -1,6 +1,5 @@
using System.Collections.Generic;
using System.Linq;
using Model;
namespace BLL
{
@@ -1,6 +1,5 @@
using System.Collections.Generic;
using System.Linq;
using Model;
namespace BLL
{
+1 -1
View File
@@ -5,7 +5,7 @@ namespace BLL
{
public class TrainingService
{
/// <summary>
/// 根据上级Id查询所有教育培训主键列的值
@@ -1,6 +1,5 @@
using System.Collections.Generic;
using System.Linq;
using Model;
namespace BLL
{