数据库变更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
@@ -20,7 +20,7 @@ namespace BLL
/// <returns></returns>
public static Model.IncentiveNoticeItem getIncentiveNoticeById(string incentiveNoticeId)
{
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
{
var getInfo = from x in db.Check_IncentiveNotice
where x.IncentiveNoticeId == incentiveNoticeId
@@ -69,7 +69,7 @@ namespace BLL
/// <returns></returns>
public static List<Model.IncentiveNoticeItem> getIncentiveNoticeList(string projectId, string unitId, string strParam, string states)
{
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
{
var getIncentiveNotice = from x in db.Check_IncentiveNotice
where x.ProjectId == projectId && (x.UnitId == unitId || unitId == null)
@@ -119,7 +119,7 @@ namespace BLL
/// <returns></returns>
public static void SaveIncentiveNotice(Model.IncentiveNoticeItem newItem)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
Model.Check_IncentiveNotice newIncentiveNotice = new Model.Check_IncentiveNotice
{
IncentiveNoticeId = newItem.IncentiveNoticeId,