This commit is contained in:
高飞 2026-04-15 18:06:36 +08:00
parent b78ce144a2
commit df105d2a94
1 changed files with 4 additions and 2 deletions

View File

@ -244,7 +244,8 @@ Where ProjectId=@ProjectId ";
}
if (this.ckTrain.Checked)
{
strSql += " AND (TrainCount =0 AND TrainCount1 =0 AND TrainCount2=0)";
//strSql += " AND (TrainCount =0 AND TrainCount1 =0 AND TrainCount2=0)";
strSql += " AND TrainCount2=0";
}
if (this.ckIsUsed.Checked)
{
@ -273,7 +274,8 @@ Where ProjectId=@ProjectId ";
var tCount = Grid1.Rows[i].Values[8].ToString();
var tCount1 = Grid1.Rows[i].Values[9].ToString();
var tCount2 = Grid1.Rows[i].Values[10].ToString();
if (tCount == "0" && tCount1 == "0" && tCount2 == "0") ////未参加过培训的人员
//if (tCount == "0" && tCount1 == "0" && tCount2 == "0") ////未参加过培训的人员
if (tCount2 == "0") ////未参加过培训的人员
{
Grid1.Rows[i].RowCssClass = "Red";
}