mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 12:18:42 +08:00 
			
		
		
		
	代码生成防止缓存内的数据没有及时写入到zip文件
This commit is contained in:
		@@ -262,6 +262,7 @@ public class GenTableServiceImpl implements IGenTableService
 | 
			
		||||
                zip.putNextEntry(new ZipEntry(VelocityUtils.getFileName(template, table)));
 | 
			
		||||
                IOUtils.write(sw.toString(), zip, Constants.UTF8);
 | 
			
		||||
                IOUtils.closeQuietly(sw);
 | 
			
		||||
				zip.flush();
 | 
			
		||||
                zip.closeEntry();
 | 
			
		||||
            }
 | 
			
		||||
            catch (IOException e)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user