1
This commit is contained in:
@@ -7,7 +7,7 @@ namespace BLL
|
||||
{
|
||||
public class IncentiveSortBService
|
||||
{
|
||||
public static Model.CNPCDB db = Funs.DB;
|
||||
|
||||
|
||||
public static Model.Manager_IncentiveSortB GetIncentiveSortByMonthReportIdAndIncentiveType(string monthReportId, string incentiveType)
|
||||
{
|
||||
@@ -77,6 +77,7 @@ namespace BLL
|
||||
/// <param name="monthReportId">月报告主键</param>
|
||||
public static void DeleteIncentiveSortsByMonthReportId(string monthReportId)
|
||||
{
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
var q = (from x in db.Manager_IncentiveSortB where x.MonthReportId == monthReportId select x).ToList();
|
||||
db.Manager_IncentiveSortB.DeleteAllOnSubmit(q);
|
||||
db.SubmitChanges();
|
||||
|
||||
Reference in New Issue
Block a user