20220829未做培训计划 新增按钮手动加入培训记录
This commit is contained in:
@@ -147,7 +147,7 @@ namespace BLL
|
||||
/// <returns></returns>
|
||||
public static Model.Training_TestPlan GetTestPlanByPlanId(string planId)
|
||||
{
|
||||
return Funs.DB.Training_TestPlan.FirstOrDefault(x => x.PlanId == planId);
|
||||
return Funs.DB.Training_TestPlan.FirstOrDefault(x => x.PlanId == planId || x.TestPlanId ==planId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user