数据库变更CNPC_XJYJ
This commit is contained in:
@@ -26,7 +26,7 @@ namespace BLL
|
||||
/// <param name="hotProessTrust"></param>
|
||||
public static void AddHotProessTrust(Model.HJGL_HotProess_Trust hotProessTrust)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
Model.HJGL_HotProess_Trust newHotProessTrust = new Model.HJGL_HotProess_Trust();
|
||||
newHotProessTrust.HotProessTrustId = hotProessTrust.HotProessTrustId;
|
||||
newHotProessTrust.HotProessTrustNo = hotProessTrust.HotProessTrustNo;
|
||||
@@ -49,7 +49,7 @@ namespace BLL
|
||||
/// <param name="hotProessTrust"></param>
|
||||
public static void UpdateHotProessTrust(Model.HJGL_HotProess_Trust hotProessTrust)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
Model.HJGL_HotProess_Trust newHotProessTrust = db.HJGL_HotProess_Trust.FirstOrDefault(e => e.HotProessTrustId == hotProessTrust.HotProessTrustId);
|
||||
if (newHotProessTrust != null)
|
||||
{
|
||||
@@ -72,7 +72,7 @@ namespace BLL
|
||||
/// <param name="hotProessTrustId"></param>
|
||||
public static void DeleteHotProessTrustById(string hotProessTrustId)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
Model.HJGL_HotProess_Trust hotProessTrust = db.HJGL_HotProess_Trust.FirstOrDefault(e => e.HotProessTrustId == hotProessTrustId);
|
||||
if (hotProessTrust != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user