数据库变更CNPC_XJYJ
This commit is contained in:
@@ -54,7 +54,7 @@ namespace WebAPI.Controllers
|
||||
// //}
|
||||
// //GpsPolygonHelper.isPointInPolygon(myLocation, gpsLoactions);
|
||||
// //string location = "108.61684,21.71513";
|
||||
// //using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
// //using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
// //{
|
||||
// // var person = db.SitePerson_Person.Where(u => u.IdentityCard == "342401199502012298" && u.ProjectId == "59fe12ee-a986-4a60-b288-2c33a241dc28").FirstOrDefault();
|
||||
// // if (person != null)
|
||||
@@ -168,7 +168,7 @@ namespace WebAPI.Controllers
|
||||
|
||||
public ActionResult ZhuCeBaidu()
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
using (Model.CNPCDB db = new Model.CNPCDB(Funs.ConnString))
|
||||
{
|
||||
var projectids = db.Base_Project.Where(p => p.IsFace == true).Select(p => p.ProjectId).ToList();
|
||||
var SitePersonList = db.SitePerson_Person.Where(p => projectids.Contains(p.ProjectId) && p.PhotoUrl != null).ToList();
|
||||
|
||||
Reference in New Issue
Block a user