提交代码
This commit is contained in:
@@ -237,7 +237,7 @@ namespace BLL
|
||||
|
||||
CheckItemDetailSetId = x.CheckItemSetId,
|
||||
CheckItemDetailContent = x.CheckItemSetContent,
|
||||
Rectification_Date = x.Rectification_Date
|
||||
Rectification_Date = string.Format("{0:yyyy-MM-dd}", x.Rectification_Date),
|
||||
};
|
||||
return getInfo.ToList();
|
||||
}
|
||||
@@ -289,7 +289,7 @@ namespace BLL
|
||||
|
||||
CheckItemDetailSetId=x.CheckItemSetId,
|
||||
CheckItemDetailContent=x.CheckItemSetContent,
|
||||
Rectification_Date=x.Rectification_Date
|
||||
Rectification_Date= string.Format("{0:yyyy-MM-dd}", x.Rectification_Date),
|
||||
};
|
||||
return getInfo.First();
|
||||
}
|
||||
@@ -328,7 +328,7 @@ namespace BLL
|
||||
//整改日期、检查内容、检查内容id
|
||||
CheckItemSetId= newDetail.CheckItemDetailSetId,
|
||||
CheckItemSetContent= newDetail.CheckItemDetailContent,
|
||||
Rectification_Date=newDetail.Rectification_Date
|
||||
Rectification_Date = Funs.GetNewDateTime(newDetail.Rectification_Date)
|
||||
};
|
||||
if (newCheckSpecialDetail.CompleteStatus == false && newCheckSpecialDetail.HandleStep.Contains("1") && string.IsNullOrEmpty(newCheckSpecialDetail.HiddenHazardType))
|
||||
{
|
||||
@@ -374,7 +374,7 @@ namespace BLL
|
||||
//整改日期、检查内容、检查内容id
|
||||
updateDetail.CheckItemSetId = newDetail.CheckItemDetailSetId;
|
||||
updateDetail.CheckItemSetContent = newDetail.CheckItemDetailContent;
|
||||
updateDetail.Rectification_Date = newDetail.Rectification_Date;
|
||||
updateDetail.Rectification_Date = Funs.GetNewDateTime(newDetail.Rectification_Date);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
////保存附件
|
||||
|
||||
Reference in New Issue
Block a user