提交代码

This commit is contained in:
2023-09-08 17:09:44 +08:00
parent 47f9a0e959
commit 42d3d45c5c
16 changed files with 4544 additions and 1274 deletions
+4 -4
View File
@@ -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();
}
////保存附件