|
|
|
@ -430,6 +430,7 @@ namespace VOL.System.Services
|
|
|
|
|
|
|
|
|
|
try
|
|
|
|
|
{
|
|
|
|
|
bool isUpdate = false;
|
|
|
|
|
//GC.Collect();
|
|
|
|
|
BasicDALRef.ClearMemory();
|
|
|
|
|
if (string.IsNullOrEmpty(printInfo.MODNAME) || string.IsNullOrEmpty(printInfo.PRINTNAME))
|
|
|
|
@ -488,6 +489,8 @@ namespace VOL.System.Services
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
UpdateFrx_back(ref 打印格式, printInfo);
|
|
|
|
|
|
|
|
|
|
isUpdate = true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -501,8 +504,13 @@ namespace VOL.System.Services
|
|
|
|
|
|
|
|
|
|
fileurl = MakeFile(打印格式, printInfo);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//删除新生成的frx
|
|
|
|
|
if (isUpdate)
|
|
|
|
|
{
|
|
|
|
|
File.Delete("wwwroot/" + 打印格式.FILEPATH);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
catch (Exception e)
|
|
|
|
|