公开征求意见 导出bug修复
This commit is contained in:
+5
-1
@@ -118,7 +118,11 @@ public class SarPublicIdeaAllController extends BaseController<SarPublicIdeaAll>
|
||||
response.setHeader("Content-disposition", "attachment;filename*=utf-8''" + fileName + ".xlsx");
|
||||
List<SarPublicIdeaAll> data=new ArrayList<>();
|
||||
if (!StringUtils.isEmpty(cid)){
|
||||
data=sarPublicIdeaAllDao.getPublicAllIdea(cid,type);
|
||||
if (null!=type) {
|
||||
data = sarPublicIdeaAllDao.getPublicAllIdea(cid, type);
|
||||
}else {
|
||||
data = sarPublicIdeaAllDao.getPublicAllIdeaExport(cid,type);
|
||||
}
|
||||
}
|
||||
List<GetExcelDto> standExcel=new ArrayList<>();
|
||||
List<GetExcelDto2> standExcel2=new ArrayList<>();
|
||||
|
||||
@@ -28,4 +28,6 @@ public interface SarPublicIdeaAllDao extends BaseMapper<SarPublicIdeaAll> {
|
||||
Integer getAllDataByIdeaCount( @Param("ideaId")String ideaId);
|
||||
|
||||
List<SarPublicIdeaAll> getPublicAllIdea(@Param("cid") String cid,@Param("type")String type);
|
||||
|
||||
List<SarPublicIdeaAll> getPublicAllIdeaExport(@Param("cid") String cid,@Param("type")String type);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user