|
@@ -1264,8 +1264,8 @@ public class ExportController extends BaseController {
|
|
|
@ApiOperation(value = "导出乐器采购清单")
|
|
|
@PostMapping("order/musicalListExport")
|
|
|
@PreAuthorize("@pcs.hasPermissions('order/musicalListExport')")
|
|
|
- public void musicalListExport(HttpServletResponse response, String musicGroupId) throws IOException {
|
|
|
- List<Goods> musicalList = studentPaymentOrderDetailService.getMusicalList(musicGroupId, null);
|
|
|
+ public void musicalListExport(HttpServletResponse response, String musicGroupId, int deliveryStatus) throws IOException {
|
|
|
+ List<Goods> musicalList = studentPaymentOrderDetailService.getMusicalList(musicGroupId, deliveryStatus);
|
|
|
if (musicalList == null) {
|
|
|
throw new BizException("数据集为空");
|
|
|
}
|
|
@@ -1298,8 +1298,8 @@ public class ExportController extends BaseController {
|
|
|
@ApiOperation(value = "导出学员采购清单明细")
|
|
|
@PostMapping("order/musicalListDetailExport")
|
|
|
@PreAuthorize("@pcs.hasPermissions('order/musicalListDetailExport')")
|
|
|
- public void musicalListDetailExport(HttpServletResponse response, String musicGroupId) throws IOException {
|
|
|
- List<MusicalListDetailDto> musicalList = studentPaymentOrderDetailService.getMusicalListDetail(musicGroupId, null);
|
|
|
+ public void musicalListDetailExport(HttpServletResponse response, String musicGroupId, int deliveryStatus) throws IOException {
|
|
|
+ List<MusicalListDetailDto> musicalList = studentPaymentOrderDetailService.getMusicalListDetail(musicGroupId, deliveryStatus);
|
|
|
if (musicalList.size() > 50000) {
|
|
|
throw new BizException("数据集太大,不能导出.最大数据集不能超过50000");
|
|
|
}
|