修改安全月报
This commit is contained in:
@@ -55,8 +55,11 @@ namespace BLL
|
||||
public static void DeletePersonSortsByMonthReportId(string monthReportId)
|
||||
{
|
||||
var q = (from x in db.Manager_PersonSortC where x.MonthReportId == monthReportId select x).ToList();
|
||||
db.Manager_PersonSortC.DeleteAllOnSubmit(q);
|
||||
db.SubmitChanges();
|
||||
if (q.Count>0)
|
||||
{
|
||||
db.Manager_PersonSortC.DeleteAllOnSubmit(q);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user