数据库变更CNPC_XJYJ
This commit is contained in:
@@ -13,7 +13,7 @@ namespace BLL
|
||||
/// </summary>
|
||||
public static class SYHSEData_EnvironmentProtectionService
|
||||
{
|
||||
public static Model.SGGLDB db = Funs.DB;
|
||||
public static Model.CNPCDB db = Funs.DB;
|
||||
|
||||
#region 获取列表信息
|
||||
/// <summary>
|
||||
@@ -95,7 +95,7 @@ namespace BLL
|
||||
/// <param name="Id"></param>
|
||||
public static void DeleteProjectById(string id)
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
var getData = db.SYHSEData_EnvironmentProtection.FirstOrDefault(e => e.Id == id);
|
||||
if (getData != null)
|
||||
|
||||
Reference in New Issue
Block a user