数据库变更CNPC_XJYJ
This commit is contained in:
@@ -8,7 +8,7 @@ namespace BLL
|
||||
{
|
||||
public class AccidentDesciptionItemCService
|
||||
{
|
||||
private static Model.SGGLDB db = Funs.DB;
|
||||
private static Model.CNPCDB db = Funs.DB;
|
||||
|
||||
/// <summary>
|
||||
/// 根据月报Id获取管理绩效数据统计
|
||||
@@ -25,7 +25,7 @@ namespace BLL
|
||||
/// <param name="item"></param>
|
||||
public static void AddAccidentDesciptionItem(Model.Manager_Month_AccidentDesciptionItemC item)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
Model.Manager_Month_AccidentDesciptionItemC newItem = new Model.Manager_Month_AccidentDesciptionItemC
|
||||
{
|
||||
AccidentDesItemId = SQLHelper.GetNewID(typeof(Model.Manager_Month_AccidentDesciptionItemC)),
|
||||
@@ -44,7 +44,7 @@ namespace BLL
|
||||
/// <param name="monthReportId"></param>
|
||||
public static void DeleteAccidentDesciptionItemByMonthReportId(string monthReportId)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
var q = (from x in db.Manager_Month_AccidentDesciptionItemC where x.MonthReportId == monthReportId select x).ToList();
|
||||
if (q != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user