zouxuan 4 年之前
父節點
當前提交
0506b0073d
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10 0
      mec-web/src/main/java/com/ym/mec/web/controller/education/EduRepairController.java

+ 10 - 0
mec-web/src/main/java/com/ym/mec/web/controller/education/EduRepairController.java

@@ -7,8 +7,10 @@ import com.ym.mec.biz.dal.dao.EmployeeDao;
 import com.ym.mec.biz.dal.dto.BasicUserDto;
 import com.ym.mec.biz.dal.dto.BasicUserDto;
 import com.ym.mec.biz.dal.entity.Employee;
 import com.ym.mec.biz.dal.entity.Employee;
 import com.ym.mec.biz.dal.entity.StudentRepair;
 import com.ym.mec.biz.dal.entity.StudentRepair;
+import com.ym.mec.biz.dal.page.GoodsCategoryQueryInfo;
 import com.ym.mec.biz.dal.page.GoodsQueryInfo;
 import com.ym.mec.biz.dal.page.GoodsQueryInfo;
 import com.ym.mec.biz.dal.page.RepairStudentQueryInfo;
 import com.ym.mec.biz.dal.page.RepairStudentQueryInfo;
+import com.ym.mec.biz.service.GoodsCategoryService;
 import com.ym.mec.biz.service.GoodsService;
 import com.ym.mec.biz.service.GoodsService;
 import com.ym.mec.biz.service.StudentRepairService;
 import com.ym.mec.biz.service.StudentRepairService;
 import com.ym.mec.biz.service.SubjectService;
 import com.ym.mec.biz.service.SubjectService;
@@ -44,6 +46,8 @@ public class EduRepairController extends BaseController {
     private SubjectService subjectService;
     private SubjectService subjectService;
     @Autowired
     @Autowired
     private GoodsService goodsService;
     private GoodsService goodsService;
+    @Autowired
+    private GoodsCategoryService goodsCategoryService;
 
 
     @ApiOperation("获取学生列表")
     @ApiOperation("获取学生列表")
     @GetMapping(value = "/getStudents")
     @GetMapping(value = "/getStudents")
@@ -147,4 +151,10 @@ public class EduRepairController extends BaseController {
         return succeed(goodsService.queryPage(queryInfo));
         return succeed(goodsService.queryPage(queryInfo));
     }
     }
 
 
+    @ApiOperation(value = "分页查询商品分类列表")
+    @GetMapping("/queryPage")
+    public Object queryPage(GoodsCategoryQueryInfo queryInfo) {
+        return succeed(goodsCategoryService.queryPage(queryInfo));
+    }
+
 }
 }