数据库变更CNPC_XJYJ
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user