不符合项清单基础数据字典(安全问题分类、性质;质量问题分类、性质)
This commit is contained in:
@@ -210,7 +210,7 @@ namespace BLL
|
||||
if (tasks.Count() > 0)
|
||||
{
|
||||
var taskItems = from x in db.Training_TaskItem where x.PlanId == newTrainingPlan.PlanId select x;
|
||||
if (tasks.Count() > 0)
|
||||
if (taskItems.Count() > 0)
|
||||
{
|
||||
db.Training_TaskItem.DeleteAllOnSubmit(taskItems);
|
||||
db.SubmitChanges();
|
||||
|
||||
Reference in New Issue
Block a user