数据库变更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
@@ -326,7 +326,7 @@ namespace WebAPI.Controllers
var responeData = new Model.ResponeData();
try
{
responeData.data = from x in new Model.SGGLDB(Funs.ConnString).Resources_SignManage
responeData.data = from x in new Model.CNPCDB(Funs.ConnString).Resources_SignManage
where x.SignManageId == signManageId
select new
{
@@ -341,7 +341,7 @@ namespace WebAPI.Controllers
x.SignArea,
x.SignType,
x.SignImage,
AttachUrl = new Model.SGGLDB(Funs.ConnString).AttachFile.First(z=>z.ToKeyId ==x.SignManageId).AttachUrl.Replace('\\', '/')
AttachUrl = new Model.CNPCDB(Funs.ConnString).AttachFile.First(z=>z.ToKeyId ==x.SignManageId).AttachUrl.Replace('\\', '/')
};
}
catch (Exception ex)
@@ -367,7 +367,7 @@ namespace WebAPI.Controllers
var responeData = new Model.ResponeData();
try
{
IQueryable<Model.Resources_SignManage> q = from x in new Model.SGGLDB(Funs.ConnString).Resources_SignManage
IQueryable<Model.Resources_SignManage> q = from x in new Model.CNPCDB(Funs.ConnString).Resources_SignManage
where x.SignType == type
select x;
if (!string.IsNullOrEmpty(strParam))