代码无效引用清理,试压包资料界面看板修改
This commit is contained in:
@@ -231,7 +231,7 @@ namespace BLL
|
||||
/// ActionPlanID
|
||||
/// </summary>
|
||||
/// <param name="ActionPlanID"></param>
|
||||
public static Document Print( string ActionPlanID)
|
||||
public static Document Print(string ActionPlanID)
|
||||
{
|
||||
string rootPath = Funs.RootPath;
|
||||
|
||||
@@ -550,12 +550,12 @@ namespace BLL
|
||||
doc.UpdateWordCount();
|
||||
File.Delete(Path);
|
||||
}
|
||||
doc.Save(newUrl);
|
||||
Document doc1 = new Aspose.Words.Document(newUrl);
|
||||
doc.Save(newUrl);
|
||||
Document doc1 = new Aspose.Words.Document(newUrl);
|
||||
File.Delete(newUrl);
|
||||
return doc1;
|
||||
}
|
||||
public static void PrintFile( string Id)
|
||||
public static void PrintFile(string Id)
|
||||
{
|
||||
string rootPath = Funs.RootPath;
|
||||
string newUrl = string.Empty;
|
||||
@@ -566,7 +566,7 @@ namespace BLL
|
||||
File.Delete(newUrl);
|
||||
}
|
||||
var q = PHTGL_ActionPlanFormationService.GetPHTGL_ActionPlanFormationById(Id);
|
||||
var doc = BLL.PHTGL_ActionPlanFormationService.Print( Id);
|
||||
var doc = BLL.PHTGL_ActionPlanFormationService.Print(Id);
|
||||
doc.Save(newUrl);
|
||||
//生成PDF文件
|
||||
string pdfUrl = newUrl.Replace(".docx", ".pdf");
|
||||
|
||||
Reference in New Issue
Block a user