数据库变更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
@@ -14,7 +14,7 @@ namespace BLL
/// </summary>
public static void AddDriverPrepareDriverPlan(Model.DriverPrepare_ConStudy DriverPrepareDriverPlan)
{
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
{
Model.DriverPrepare_ConStudy newDriverData = new Model.DriverPrepare_ConStudy();
newDriverData.ConStudyId = DriverPrepareDriverPlan.ConStudyId;
@@ -35,7 +35,7 @@ namespace BLL
/// </summary>
public static void UpdateDriverPrepareDriverPlan(Model.DriverPrepare_ConStudy DriverPrepareDriverPlan)
{
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
{
Model.DriverPrepare_ConStudy newDriverData = db.DriverPrepare_ConStudy.FirstOrDefault(e => e.ConStudyId == DriverPrepareDriverPlan.ConStudyId);
if (newDriverData != null)
@@ -58,7 +58,7 @@ namespace BLL
/// <param name="DriverDataId"></param>
public static void DeleteDriverPlan(string ConStudyId)
{
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
{
Model.DriverPrepare_ConStudy newDriverData = db.DriverPrepare_ConStudy.FirstOrDefault(e => e.ConStudyId == ConStudyId);
if (newDriverData != null)