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