This commit is contained in:
2026-04-08 14:03:39 +08:00
parent 7ecbc2ebc0
commit 4a1b636ce0
353 changed files with 1378 additions and 500 deletions
@@ -7,7 +7,7 @@ namespace BLL
{
public class AccidentSortCService
{
public static Model.CNPCDB db = Funs.DB;
public static Model.Manager_AccidentSortC GetAccidentSortsByMonthReportIdAndAccidentType(string monthReportId, string accidentType)
{
@@ -89,6 +89,7 @@ namespace BLL
/// <param name="monthReportId">月报告主键</param>
public static void DeleteAccidentSortsByMonthReportId(string monthReportId)
{
Model.CNPCDB db = Funs.DB;
var q = (from x in db.Manager_AccidentSortC where x.MonthReportId == monthReportId select x).ToList();
db.Manager_AccidentSortC.DeleteAllOnSubmit(q);
db.SubmitChanges();