|
@@ -64,6 +64,12 @@ public class MusicSheetController extends BaseController {
|
|
|
@PostMapping(value="/list", consumes="application/json", produces="application/json")
|
|
|
@PreAuthorize("@pcs.hasPermissions('music/sheet/list')")
|
|
|
public HttpResponseResult<PageInfo<MusicSheetVoResult>> list(@RequestBody MusicSheetSearch query) {
|
|
|
+ if (query.getProviderType() == SourceTypeEnum.TENANT && query.getMusicCategoryId() !=null) {
|
|
|
+
|
|
|
+ List<Integer> integers = musicFeignClientService.getAllCategoryIdList(String.valueOf(query.getMusicCategoryId())).feignData();
|
|
|
+ integers.add(query.getMusicCategoryId());
|
|
|
+ query.setTenantCategoryIds(integers);
|
|
|
+ }
|
|
|
return succeed(PageUtil.pageInfo(musicSheetService.selectCbsPage(PageUtil.getPage(query), query)));
|
|
|
}
|
|
|
|