diff --git a/eladmin-system/pom.xml b/eladmin-system/pom.xml
index 532368a1..e6cb4ab1 100644
--- a/eladmin-system/pom.xml
+++ b/eladmin-system/pom.xml
@@ -86,6 +86,18 @@
oshi-core
6.1.4
+
+
+ org.mybatis.spring.boot
+ mybatis-spring-boot-starter
+ 2.1.4
+
+
+
+ com.baomidou
+ mybatis-plus-extension
+ 3.3.2
+
diff --git a/eladmin-system/src/main/java/me/zhengjie/modules/productGroup/rest/TbProductGroupController.java b/eladmin-system/src/main/java/me/zhengjie/modules/productGroup/rest/TbProductGroupController.java
index 68230a65..6cd90865 100644
--- a/eladmin-system/src/main/java/me/zhengjie/modules/productGroup/rest/TbProductGroupController.java
+++ b/eladmin-system/src/main/java/me/zhengjie/modules/productGroup/rest/TbProductGroupController.java
@@ -16,9 +16,13 @@
package me.zhengjie.modules.productGroup.rest;
import me.zhengjie.annotation.Log;
+import me.zhengjie.modules.product.domain.TbProduct;
+import me.zhengjie.modules.product.service.TbProductService;
+import me.zhengjie.modules.product.service.dto.TbProductQueryCriteria;
import me.zhengjie.modules.productGroup.domain.TbProductGroup;
import me.zhengjie.modules.productGroup.service.TbProductGroupService;
import me.zhengjie.modules.productGroup.service.dto.TbProductGroupQueryCriteria;
+import me.zhengjie.modules.productGroup.service.vo.AddProduct;
import org.springframework.data.domain.Pageable;
import lombok.RequiredArgsConstructor;
import org.springframework.http.HttpStatus;
@@ -28,6 +32,8 @@ import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import io.swagger.annotations.*;
import java.io.IOException;
+import java.util.List;
+import javax.annotation.Resource;
import javax.servlet.http.HttpServletResponse;
/**
@@ -43,6 +49,9 @@ public class TbProductGroupController {
private final TbProductGroupService tbProductGroupService;
+ @Resource
+ private TbProductService tbProductService;
+
@Log("导出数据")
@ApiOperation("导出数据")
@GetMapping(value = "/download")
@@ -84,4 +93,20 @@ public class TbProductGroupController {
tbProductGroupService.deleteAll(ids);
return new ResponseEntity<>(HttpStatus.OK);
}
+
+ /**
+ *添加商品(商品列表)
+ * @return
+ */
+ @GetMapping("/addProduct")
+ public ResponseEntity