|
@@ -10,8 +10,10 @@ import com.ym.mec.biz.dal.page.SysExamSongQueryInfo;
|
|
|
import com.ym.mec.biz.service.SysMusicScoreService;
|
|
|
import com.ym.mec.common.controller.BaseController;
|
|
|
import com.ym.mec.common.exception.BizException;
|
|
|
+
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
+
|
|
|
import org.apache.commons.lang.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
@@ -64,4 +66,12 @@ public class SysMusicScoreController extends BaseController {
|
|
|
queryInfo.setShowFlag(1);
|
|
|
return succeed(sysMusicScoreService.queryPage(queryInfo));
|
|
|
}
|
|
|
+
|
|
|
+ @ApiOperation(value = "分页查询")
|
|
|
+ @GetMapping("/queryPage2")
|
|
|
+ public Object queryPage2(SysExamSongQueryInfo queryInfo) {
|
|
|
+ queryInfo.setType("COMMON");
|
|
|
+ queryInfo.setShowFlag(1);
|
|
|
+ return succeed(sysMusicScoreService.queryMusicScorePageInfo(queryInfo));
|
|
|
+ }
|
|
|
}
|