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