|
|
@@ -11,6 +11,8 @@ import java.util.Map;
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
+import org.apache.commons.logging.Log;
|
|
|
+import org.apache.commons.logging.LogFactory;
|
|
|
import org.apache.poi.ss.usermodel.HorizontalAlignment;
|
|
|
import org.apache.poi.xssf.usermodel.XSSFCell;
|
|
|
import org.apache.poi.xssf.usermodel.XSSFCellStyle;
|
|
|
@@ -34,6 +36,7 @@ import com.goafanti.demandCollection.service.DemandCollectionService;
|
|
|
@Service
|
|
|
public class DemandCollectionServiceImpl extends BaseMybatisDao<DemandCollectionMapper> implements DemandCollectionService {
|
|
|
|
|
|
+ protected final Log logger = LogFactory.getLog(DemandCollectionServiceImpl.class);
|
|
|
@Autowired
|
|
|
private DemandCollectionMapper demandCollectionMapper;
|
|
|
@Override
|
|
|
@@ -196,6 +199,7 @@ public class DemandCollectionServiceImpl extends BaseMybatisDao<DemandCollection
|
|
|
c.setCellValue(o);
|
|
|
}
|
|
|
}
|
|
|
+ logger.debug("导出传参ok");
|
|
|
//返回名称及参数
|
|
|
response.addHeader("Content-Disposition", "attachment;filename=" + new String(fileName.getBytes(),"iso-8859-1"));
|
|
|
response.setContentType("application/octet-stream;charset=utf-8");
|