数据库变更CNPC_XJYJ
This commit is contained in:
@@ -101,7 +101,7 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
|
||||
string date = string.Empty;
|
||||
if (JOT_ID != null)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
var ProessDate = (from x in db.HJGL_HotProess_Report where x.WeldJointId == JOT_ID.ToString() && x.ProessDate != null select x.ProessDate).FirstOrDefault();
|
||||
if (ProessDate != null)
|
||||
{
|
||||
|
||||
@@ -1958,7 +1958,7 @@ namespace FineUIPro.Web.HJGL.TestPackageManage
|
||||
bool b = true;
|
||||
if (ISO_ID != null)
|
||||
{
|
||||
Model.SGGLDB db = Funs.DB;
|
||||
Model.CNPCDB db = Funs.DB;
|
||||
var jointIds = (from x in db.PW_JointInfo where x.ISO_ID == ISO_ID.ToString() && x.IS_Proess == "1" select x.JOT_ID).ToList();
|
||||
var notCompletedviews = from x in db.View_HJGL_HotProess_TrustItem where x.ProjectId == this.CurrUser.LoginProjectId && jointIds.Contains(x.WeldJointId) && x.IsCompleted != "完成" select x;
|
||||
if (notCompletedviews.Count() > 0)
|
||||
|
||||
Reference in New Issue
Block a user