|
|
@@ -67,7 +67,7 @@ public class CardCaseController extends BaseController {
|
|
|
@GetMapping("/excel")
|
|
|
@ResponseBody
|
|
|
public void excel(HttpServletResponse response, Pageable pageable) throws IOException {
|
|
|
- List<CardCaseDTO> data = showCardCasesMA(null, null, null, 103L, pageable).getContent();
|
|
|
+ List<CardCaseDTO> data = showCardCasesMA(null, null, null, 103L, pageable);
|
|
|
ExcelUtils.export(response, data);
|
|
|
}
|
|
|
|
|
|
@@ -80,7 +80,14 @@ public class CardCaseController extends BaseController {
|
|
|
|
|
|
@GetMapping("/showCasesMA")
|
|
|
@ApiOperation("获取卡箱列表")
|
|
|
- public Page<CardCaseDTO> showCardCasesMA(CaseStatus caseStatus, @RequestParam(required = false) Long collectionId,
|
|
|
+ public List<CardCaseDTO> showCardCasesMA(CaseStatus caseStatus, @RequestParam(required = false) Long collectionId,
|
|
|
+ @RequestParam(required = false) String search, @RequestParam(required = true) Long seriesId, Pageable pageable) {
|
|
|
+ return cardCaseService.showCardCasesMA(caseStatus, collectionId, search, seriesId, pageable).getContent();
|
|
|
+ }
|
|
|
+
|
|
|
+ @GetMapping("/showCasesMA2")
|
|
|
+ @ApiOperation("获取卡箱列表")
|
|
|
+ public Page<CardCaseDTO> showCardCasesMA2(CaseStatus caseStatus, @RequestParam(required = false) Long collectionId,
|
|
|
@RequestParam(required = false) String search, @RequestParam(required = true) Long seriesId, Pageable pageable) {
|
|
|
return cardCaseService.showCardCasesMA(caseStatus, collectionId, search, seriesId, pageable);
|
|
|
}
|