作业票

This commit is contained in:
2023-06-12 10:49:20 +08:00
parent c4bcf04d74
commit 9d94a295ce
23 changed files with 2718 additions and 12 deletions
@@ -45,7 +45,7 @@ namespace FineUIPro.Web.HSSE.EduTrain
+ @" LEFT JOIN Base_Depart AS Depart ON person.DepartId=Depart.DepartId"
+ @" LEFT JOIN (SELECT COUNT(TestRecordId) AS TestCount,TestManId FROM Training_TestRecord GROUP BY TestManId) AS TestCount"
+ @" ON person.PersonId=TestCount.TestManId"
+ @" LEFT JOIN (SELECT COUNT(TestRecordId) AS TestQualifyCount,TestManId FROM Training_TestRecord WHERE TestScores>= 60 GROUP BY TestManId) AS TestQualifyCount"
+ @" LEFT JOIN (SELECT COUNT(TestRecordId) AS TestQualifyCount,TestManId FROM Training_TestRecord WHERE TestScores>= 70 GROUP BY TestManId) AS TestQualifyCount"
+ @" ON person.PersonId=TestQualifyCount.TestManId"
+ @" WHERE PersonId <> '" + BLL.Const.sysglyId + "' and person.projectid='" + this.CurrUser.LoginProjectId + "'";
List<SqlParameter> listStr = new List<SqlParameter>();