|
@ -604,7 +604,7 @@ public class IcEnterpriseServiceImpl extends BaseServiceImpl<IcEnterpriseDao, Ic |
|
|
byte[] buf = new byte[8192]; |
|
|
byte[] buf = new byte[8192]; |
|
|
int len; |
|
|
int len; |
|
|
//添加到zip
|
|
|
//添加到zip
|
|
|
zip.putNextEntry(new ZipEntry(l.getPlaceOrgName()+l.getEnterpriseId()+".png")); |
|
|
zip.putNextEntry(new ZipEntry(l.getPlaceOrgName()+"_"+l.getEnterpriseId()+".png")); |
|
|
InputStream inputStream = bufferedImageToInputStream(image); |
|
|
InputStream inputStream = bufferedImageToInputStream(image); |
|
|
//输出压缩包
|
|
|
//输出压缩包
|
|
|
while ((len = inputStream.read(buf)) > 0) { |
|
|
while ((len = inputStream.read(buf)) > 0) { |
|
|