数据库变更CNPC_XJYJ

This commit is contained in:
2025-08-04 18:04:41 +08:00
parent bafbf97359
commit 79a7f35e22
679 changed files with 5590 additions and 3465 deletions
@@ -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)
{