穿透项目加状态

This commit is contained in:
2023-11-02 15:40:43 +08:00
parent bfb4cdc428
commit 48a0808bfb
24 changed files with 35 additions and 32 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ namespace FineUIPro.Web.DataShow
from EduTrain_TrainRecord AS TrainRecord
LEFT JOIN Base_TrainType AS TrainType ON TrainRecord.TrainTypeId=TrainType.TrainTypeId
LEFT JOIN Base_Project AS Project ON TrainRecord.ProjectId=Project.ProjectId
WHERE 1=1 ";
WHERE (Project.ProjectState2 is null or Project.ProjectState2 !=9) ";
strSql += " AND TrainType.TrainType =@TrainType";
listStr.Add(new SqlParameter("@TrainType", this.rbType.SelectedValue));