数据库变更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
@@ -229,7 +229,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
{
if (compileDate != null)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
DateTime date = Convert.ToDateTime(compileDate);
var q = from y in db.SitePerson_DayReportDetail
where
@@ -255,7 +255,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
{
if (compileDate != null)
{
Model.SGGLDB db = Funs.DB;
Model.CNPCDB db = Funs.DB;
DateTime date = Convert.ToDateTime(compileDate);
var q = from y in db.SitePerson_DayReportDetail where (from z in db.SitePerson_DayReport where z.CompileDate <= date && z.ProjectId == this.CurrUser.LoginProjectId select z.DayReportId).Contains(y.DayReportId) select y;
if (q.Count() > 0)