数据库变更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
+2 -2
View File
@@ -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();