|
@@ -9,10 +9,7 @@ import com.ym.mec.biz.dal.entity.*;
|
|
|
import com.ym.mec.biz.dal.enums.DealStatusEnum;
|
|
|
import com.ym.mec.biz.dal.enums.GroupType;
|
|
|
import com.ym.mec.biz.dal.enums.OrderTypeEnum;
|
|
|
-import com.ym.mec.biz.dal.page.GoodsCategoryQueryInfo;
|
|
|
-import com.ym.mec.biz.dal.page.GoodsQueryInfo;
|
|
|
-import com.ym.mec.biz.dal.page.GoodsSellQueryInfo;
|
|
|
-import com.ym.mec.biz.dal.page.RepairStudentQueryInfo;
|
|
|
+import com.ym.mec.biz.dal.page.*;
|
|
|
import com.ym.mec.biz.service.*;
|
|
|
import com.ym.mec.common.controller.BaseController;
|
|
|
import com.ym.mec.common.entity.HttpResponseResult;
|
|
@@ -51,6 +48,8 @@ public class EduRepairController extends BaseController {
|
|
|
private GoodsCategoryService goodsCategoryService;
|
|
|
@Autowired
|
|
|
private StudentGoodsSellService studentGoodsSellService;
|
|
|
+ @Autowired
|
|
|
+ private StudentInstrumentService studentInstrumentService;
|
|
|
|
|
|
@ApiOperation("获取学生列表")
|
|
|
@GetMapping(value = "/getStudents")
|
|
@@ -198,4 +197,10 @@ public class EduRepairController extends BaseController {
|
|
|
queryInfo.setTeacherId(sysUser.getId());
|
|
|
return succeed(studentGoodsSellService.queryStudentGoodsOrders(queryInfo));
|
|
|
}
|
|
|
+
|
|
|
+ @ApiOperation(value = "获取乐器与月保列表")
|
|
|
+ @GetMapping("/getInstrumentList")
|
|
|
+ public HttpResponseResult<PageInfo<StudentInstrument>> getInstrumentList(StudentInstrumentQueryInfo queryInfo) {
|
|
|
+ return succeed(studentInstrumentService.queryPage(queryInfo));
|
|
|
+ }
|
|
|
}
|