数据库变更CNPC_XJYJ
This commit is contained in:
@@ -5,7 +5,7 @@ namespace BLL
|
||||
{
|
||||
public class HSSEStandardsListService
|
||||
{
|
||||
public static Model.SGGLDB db = Funs.DB;
|
||||
public static Model.CNPCDB db = Funs.DB;
|
||||
|
||||
/// <summary>
|
||||
/// 根据id查询标准规范信息
|
||||
@@ -129,7 +129,7 @@ namespace BLL
|
||||
/// <param name="lawRegulationList"></param>
|
||||
public static void UpdateHSSEStandardsListIsPass(Model.Law_HSSEStandardsList standardsList)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
Model.Law_HSSEStandardsList newHSSEStandardsList = db.Law_HSSEStandardsList.FirstOrDefault(e => e.StandardId == standardsList.StandardId);
|
||||
if (newHSSEStandardsList != null)
|
||||
{
|
||||
@@ -183,7 +183,7 @@ namespace BLL
|
||||
/// <param name="EDU_ID"></param>
|
||||
public static void DeleteHSSEStandardsList(string standardId)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
Model.Law_HSSEStandardsList hSSEStandardsList = db.Law_HSSEStandardsList.FirstOrDefault(e => e.StandardId == standardId);
|
||||
if (hSSEStandardsList != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user