|
@@ -348,6 +348,9 @@ public class ExportController extends BaseController {
|
|
@PreAuthorize("@pcs.hasPermissions('order/musicalListExport')")
|
|
@PreAuthorize("@pcs.hasPermissions('order/musicalListExport')")
|
|
public void musicalListExport(HttpServletResponse response, String musicGroupId) {
|
|
public void musicalListExport(HttpServletResponse response, String musicGroupId) {
|
|
List<Goods> musicalList = studentPaymentOrderDetailService.getMusicalList(musicGroupId);
|
|
List<Goods> musicalList = studentPaymentOrderDetailService.getMusicalList(musicGroupId);
|
|
|
|
+ if(musicalList == null){
|
|
|
|
+ throw new BizException("数据集为空");
|
|
|
|
+ }
|
|
if (musicalList.size() > 50000) {
|
|
if (musicalList.size() > 50000) {
|
|
throw new BizException("数据集太大,不能导出.最大数据集不能超过50000");
|
|
throw new BizException("数据集太大,不能导出.最大数据集不能超过50000");
|
|
}
|
|
}
|