数据库变更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
@@ -24,7 +24,7 @@ namespace WebAPI.Controllers
var responeData = new Model.ResponeData();
try
{
responeData.data = from x in new Model.SGGLDB(Funs.ConnString).Law_LawRegulationList
responeData.data = from x in new Model.CNPCDB(Funs.ConnString).Law_LawRegulationList
where x.LawRegulationId == lawRegulationId
select new
{
@@ -59,7 +59,7 @@ namespace WebAPI.Controllers
var responeData = new Model.ResponeData();
try
{
IQueryable<Model.Law_LawRegulationList> q = from x in new Model.SGGLDB(Funs.ConnString).Law_LawRegulationList
IQueryable<Model.Law_LawRegulationList> q = from x in new Model.CNPCDB(Funs.ConnString).Law_LawRegulationList
where x.LawsRegulationsTypeId == type && x.IsPass == true
select x;
int pageCount = q.Count();
@@ -104,7 +104,7 @@ namespace WebAPI.Controllers
var responeData = new Model.ResponeData();
try
{
IQueryable<Model.Law_LawRegulationList> q = from x in new Model.SGGLDB(Funs.ConnString).Law_LawRegulationList
IQueryable<Model.Law_LawRegulationList> q = from x in new Model.CNPCDB(Funs.ConnString).Law_LawRegulationList
where x.LawsRegulationsTypeId == type && x.IsPass == true
select x;
if (!string.IsNullOrEmpty(strParam))