20250123 质量月报
This commit is contained in:
@@ -345,6 +345,10 @@ namespace FineUIPro.Web.HSSE.Check
|
||||
initTemplatePath = "File\\Word\\HSSE\\工程暂停令.doc";
|
||||
uploadfilepath = rootPath + initTemplatePath;
|
||||
newUrl = uploadfilepath.Replace(".doc", string.Format("{0:yyyy-MM}", DateTime.Now) + ".doc");
|
||||
if (File.Exists(newUrl))
|
||||
{
|
||||
File.Delete(newUrl);
|
||||
}
|
||||
filePath = initTemplatePath.Replace(".doc", string.Format("{0:yyyy-MM}", DateTime.Now) + ".pdf");
|
||||
File.Copy(uploadfilepath, newUrl);
|
||||
///更新书签内容
|
||||
|
||||
Reference in New Issue
Block a user