数据库变更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
+5 -5
View File
@@ -11,7 +11,7 @@ namespace BLL
/// </summary>
public static class GJSXItemService
{
public static Model.SGGLDB db = Funs.DB;
public static Model.CNPCDB db = Funs.DB;
/// <summary>
/// 根据关键事项ID查询所有关键事项进展
@@ -50,7 +50,7 @@ namespace BLL
/// <param name="gjsxmx"></param>
public static void AddGJSXMX(Model.GJSX_detail gjsxmx)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
string newKeyID = SQLHelper.GetNewID(typeof(Model.GJSX_detail));
Model.GJSX_detail newGJSXMX = new Model.GJSX_detail();
@@ -72,7 +72,7 @@ namespace BLL
/// <param name="GJSXID">关键事项ID</param>
public static void DeleteGJSXMXByGJSXID(string GJSXID)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
var q = (from x in db.GJSX_detail where x.GJSXID == GJSXID select x).ToList();
if (q != null)
{
@@ -87,7 +87,7 @@ namespace BLL
/// <param name="item"></param>
public static void AddItemUser(Model.GJSX_detail item)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
Model.GJSX_detail newitem = new Model.GJSX_detail();
string newKeyID = SQLHelper.GetNewID(typeof(Model.GJSX_detail));
newitem.Cuid = newKeyID;
@@ -101,7 +101,7 @@ namespace BLL
}
public static void UpdateGJSXdetail(Model.GJSX_detail _GJSX_detail)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
Model.GJSX_detail newGJSX_detail = db.GJSX_detail.FirstOrDefault(e => e.Cuid == _GJSX_detail.Cuid);
if (newGJSX_detail != null)
{