不符合项清单基础数据字典(安全问题分类、性质;质量问题分类、性质)
This commit is contained in:
@@ -73,37 +73,6 @@ namespace BLL
|
||||
}
|
||||
}
|
||||
|
||||
///// <summary>
|
||||
///// 是否可删除资源节点
|
||||
///// </summary>
|
||||
///// <param name="postName"></param>
|
||||
///// <returns>true-可以,false-不可以</returns>
|
||||
//public static bool IsDeleteClassify(string Id)
|
||||
//{
|
||||
// bool isDelete = true;
|
||||
// var Training = BLL.SafetyProblemClassifyService.GetClassifyById(Id);
|
||||
// if (Training != null)
|
||||
// {
|
||||
// if (Training.IsEndLever == true)
|
||||
// {
|
||||
// var detailCout = Funs.DB.Training_ClassifyItem.FirstOrDefault(x => x.ClassifyId == Id);
|
||||
// if (detailCout != null)
|
||||
// {
|
||||
// isDelete = false;
|
||||
// }
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// var supItemSetCount = BLL.SafetyProblemClassifyService.GetClassifyBySupItem(Id);
|
||||
// if (supItemSetCount.Count() > 0)
|
||||
// {
|
||||
// isDelete = false;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// return isDelete;
|
||||
//}
|
||||
|
||||
/// <summary>
|
||||
/// 查询所有安全问题分类
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user