1
This commit is contained in:
@@ -7,7 +7,7 @@ namespace BLL
|
||||
{
|
||||
public class CheckDetailSortCService
|
||||
{
|
||||
public static Model.CNPCDB db = Funs.DB;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 根据月报告主键获取所有月报告HSE检查明细情况信息
|
||||
@@ -53,6 +53,7 @@ namespace BLL
|
||||
/// <param name="monthReportId">月报告主键</param>
|
||||
public static void DeleteCheckDetailSortsByMonthReportId(string monthReportId)
|
||||
{
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
var q = (from x in db.Manager_CheckDetailSortC where x.MonthReportId == monthReportId select x).ToList();
|
||||
db.Manager_CheckDetailSortC.DeleteAllOnSubmit(q);
|
||||
db.SubmitChanges();
|
||||
|
||||
Reference in New Issue
Block a user