|
|
@@ -8,11 +8,11 @@ import com.fs.common.core.page.TableDataInfo;
|
|
|
import com.fs.common.enums.BusinessType;
|
|
|
import com.fs.common.utils.SecurityUtils;
|
|
|
import com.fs.common.utils.poi.ExcelUtil;
|
|
|
-import com.fs.company.domain.CompanyUser;
|
|
|
import com.fs.framework.web.service.TokenService;
|
|
|
import com.fs.live.domain.LiveData;
|
|
|
import com.fs.live.param.LiveDataParam;
|
|
|
import com.fs.live.service.ILiveDataService;
|
|
|
+import com.fs.live.vo.LiveDataListVo;
|
|
|
import com.fs.live.vo.LiveUserFirstVo;
|
|
|
import com.fs.live.vo.LiveUserDetailExportVO;
|
|
|
import com.github.pagehelper.PageHelper;
|
|
|
@@ -190,4 +190,16 @@ public class LiveDataController extends BaseController {
|
|
|
return util.exportExcel(list, "直播间用户详情数据");
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 导出直播数据列表
|
|
|
+ */
|
|
|
+ @PreAuthorize("@ss.hasPermi('liveData:liveData:export')")
|
|
|
+ @Log(title = "直播数据", businessType = BusinessType.EXPORT)
|
|
|
+ @GetMapping("/export")
|
|
|
+ public AjaxResult export(LiveDataParam param)
|
|
|
+ {
|
|
|
+ List<LiveDataListVo> liveDataListVos = liveDataService.exportLiveData(param);
|
|
|
+ ExcelUtil<LiveDataListVo> util = new ExcelUtil<LiveDataListVo>(LiveDataListVo.class);
|
|
|
+ return util.exportExcel(liveDataListVos, "直播数据数据");
|
|
|
+ }
|
|
|
}
|