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