数据库变更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
@@ -297,7 +297,7 @@ namespace WebAPI.Controllers
var responeData = new Model.ResponeData();
try
{
Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString);
Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString);
var getLists = (from x in db.InformationProject_Picture
join y in db.AttachFile on x.PictureId equals y.ToKeyId
where x.States == Const.State_2 && y.AttachUrl != null
@@ -397,7 +397,7 @@ namespace WebAPI.Controllers
var responeData = new Model.ResponeData();
try
{
Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString);
Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString);
string returnValue = string.Empty;
var notice = (from x in db.InformationProject_Notice
where x.IsRelease == true
@@ -712,7 +712,7 @@ namespace WebAPI.Controllers
var responeData = new Model.ResponeData();
try
{
var getTestRule = new Model.SGGLDB(Funs.ConnString).Sys_TestRule.FirstOrDefault();
var getTestRule = new Model.CNPCDB(Funs.ConnString).Sys_TestRule.FirstOrDefault();
responeData.data = new { getTestRule };
}
catch (Exception ex)