修改专项检查
This commit is contained in:
@@ -282,6 +282,10 @@ namespace BLL
|
||||
CompleteStatus = x.CompleteStatus,
|
||||
CompleteStatusName = x.CompleteStatus == true ? "已整改" : "待整改",
|
||||
AttachUrl1 = APIUpLoadFileService.getFileUrl(x.CheckSpecialDetailId, null),
|
||||
|
||||
CheckItemDetailSetId=x.CheckItemSetId,
|
||||
CheckItemDetailContent=x.CheckItemSetContent,
|
||||
Rectification_Date=x.Rectification_Date
|
||||
};
|
||||
return getInfo.First();
|
||||
}
|
||||
@@ -316,6 +320,11 @@ namespace BLL
|
||||
WorkArea = newDetail.WorkArea,
|
||||
CheckArea = newDetail.WorkAreaId,
|
||||
CheckContent = newDetail.CheckContent,
|
||||
|
||||
//整改日期、检查内容、检查内容id
|
||||
CheckItemSetId= newDetail.CheckItemDetailSetId,
|
||||
CheckItemSetContent= newDetail.CheckItemDetailContent,
|
||||
Rectification_Date=newDetail.Rectification_Date
|
||||
};
|
||||
if (newCheckSpecialDetail.CompleteStatus == false && newCheckSpecialDetail.HandleStep.Contains("1") && string.IsNullOrEmpty(newCheckSpecialDetail.HiddenHazardType))
|
||||
{
|
||||
@@ -357,6 +366,11 @@ namespace BLL
|
||||
updateDetail.WorkArea = newCheckSpecialDetail.WorkArea;
|
||||
updateDetail.CheckArea = newCheckSpecialDetail.CheckArea;
|
||||
updateDetail.CheckContent = newCheckSpecialDetail.CheckContent;
|
||||
|
||||
//整改日期、检查内容、检查内容id
|
||||
updateDetail.CheckItemSetId = newDetail.CheckItemDetailSetId;
|
||||
updateDetail.CheckItemSetContent = newDetail.CheckItemDetailContent;
|
||||
updateDetail.Rectification_Date = newDetail.Rectification_Date;
|
||||
db.SubmitChanges();
|
||||
}
|
||||
////保存附件
|
||||
|
||||
Reference in New Issue
Block a user