2 Commity 57134a9f9c ... 0a139e0351

Autor SHA1 Wiadomość Data
  Cuiyongming 0a139e0351 Merge branch 'cym_dev' into dev 2 lat temu
  jizb f471fd2cb2 数据库初始化 2 lat temu
60 zmienionych plików z 2670 dodań i 0 usunięć
  1. 88 0
      Source/group-platform/admin/src/main/java/com/younike/member/controller/StoreEvaluateAttachController.java
  2. 88 0
      Source/group-platform/admin/src/main/java/com/younike/member/controller/StoreEvaluateController.java
  3. 88 0
      Source/group-platform/admin/src/main/java/com/younike/member/controller/StorePopularGoodsController.java
  4. 88 0
      Source/group-platform/admin/src/main/java/com/younike/store/controller/GoodsController.java
  5. 88 0
      Source/group-platform/admin/src/main/java/com/younike/store/controller/GpContentProductController.java
  6. 88 0
      Source/group-platform/admin/src/main/java/com/younike/store/controller/GpGoodsDetailController.java
  7. 88 0
      Source/group-platform/admin/src/main/java/com/younike/store/controller/GpGoodsImgController.java
  8. 88 0
      Source/group-platform/admin/src/main/java/com/younike/store/controller/StoreEvaluateReplyTemplateController.java
  9. 88 0
      Source/group-platform/admin/src/main/java/com/younike/store/controller/StoreStaffController.java
  10. 88 0
      Source/group-platform/admin/src/main/java/com/younike/store/controller/StoreStaffRoleController.java
  11. 15 0
      Source/group-platform/service/src/main/java/com/younike/service/mapper/GoodsMapper.java
  12. 15 0
      Source/group-platform/service/src/main/java/com/younike/service/mapper/GpContentProductMapper.java
  13. 15 0
      Source/group-platform/service/src/main/java/com/younike/service/mapper/GpGoodsDetailMapper.java
  14. 15 0
      Source/group-platform/service/src/main/java/com/younike/service/mapper/GpGoodsImgMapper.java
  15. 15 0
      Source/group-platform/service/src/main/java/com/younike/service/mapper/StoreEvaluateAttachMapper.java
  16. 15 0
      Source/group-platform/service/src/main/java/com/younike/service/mapper/StoreEvaluateMapper.java
  17. 15 0
      Source/group-platform/service/src/main/java/com/younike/service/mapper/StoreEvaluateReplyTemplateMapper.java
  18. 15 0
      Source/group-platform/service/src/main/java/com/younike/service/mapper/StorePopularGoodsMapper.java
  19. 15 0
      Source/group-platform/service/src/main/java/com/younike/service/mapper/StoreStaffMapper.java
  20. 15 0
      Source/group-platform/service/src/main/java/com/younike/service/mapper/StoreStaffRoleMapper.java
  21. 111 0
      Source/group-platform/service/src/main/java/com/younike/service/pojo/Goods.java
  22. 63 0
      Source/group-platform/service/src/main/java/com/younike/service/pojo/GpContentProduct.java
  23. 60 0
      Source/group-platform/service/src/main/java/com/younike/service/pojo/GpGoodsDetail.java
  24. 60 0
      Source/group-platform/service/src/main/java/com/younike/service/pojo/GpGoodsImg.java
  25. 93 0
      Source/group-platform/service/src/main/java/com/younike/service/pojo/StoreEvaluate.java
  26. 60 0
      Source/group-platform/service/src/main/java/com/younike/service/pojo/StoreEvaluateAttach.java
  27. 60 0
      Source/group-platform/service/src/main/java/com/younike/service/pojo/StoreEvaluateReplyTemplate.java
  28. 60 0
      Source/group-platform/service/src/main/java/com/younike/service/pojo/StorePopularGoods.java
  29. 76 0
      Source/group-platform/service/src/main/java/com/younike/service/pojo/StoreStaff.java
  30. 57 0
      Source/group-platform/service/src/main/java/com/younike/service/pojo/StoreStaffRole.java
  31. 23 0
      Source/group-platform/service/src/main/java/com/younike/service/service/IGoodsService.java
  32. 23 0
      Source/group-platform/service/src/main/java/com/younike/service/service/IGpContentProductService.java
  33. 23 0
      Source/group-platform/service/src/main/java/com/younike/service/service/IGpGoodsDetailService.java
  34. 23 0
      Source/group-platform/service/src/main/java/com/younike/service/service/IGpGoodsImgService.java
  35. 23 0
      Source/group-platform/service/src/main/java/com/younike/service/service/IStoreEvaluateAttachService.java
  36. 23 0
      Source/group-platform/service/src/main/java/com/younike/service/service/IStoreEvaluateReplyTemplateService.java
  37. 23 0
      Source/group-platform/service/src/main/java/com/younike/service/service/IStoreEvaluateService.java
  38. 23 0
      Source/group-platform/service/src/main/java/com/younike/service/service/IStorePopularGoodsService.java
  39. 23 0
      Source/group-platform/service/src/main/java/com/younike/service/service/IStoreStaffRoleService.java
  40. 23 0
      Source/group-platform/service/src/main/java/com/younike/service/service/IStoreStaffService.java
  41. 39 0
      Source/group-platform/service/src/main/java/com/younike/service/service/impl/GoodsServiceImpl.java
  42. 39 0
      Source/group-platform/service/src/main/java/com/younike/service/service/impl/GpContentProductServiceImpl.java
  43. 39 0
      Source/group-platform/service/src/main/java/com/younike/service/service/impl/GpGoodsDetailServiceImpl.java
  44. 39 0
      Source/group-platform/service/src/main/java/com/younike/service/service/impl/GpGoodsImgServiceImpl.java
  45. 39 0
      Source/group-platform/service/src/main/java/com/younike/service/service/impl/StoreEvaluateAttachServiceImpl.java
  46. 39 0
      Source/group-platform/service/src/main/java/com/younike/service/service/impl/StoreEvaluateReplyTemplateServiceImpl.java
  47. 39 0
      Source/group-platform/service/src/main/java/com/younike/service/service/impl/StoreEvaluateServiceImpl.java
  48. 39 0
      Source/group-platform/service/src/main/java/com/younike/service/service/impl/StorePopularGoodsServiceImpl.java
  49. 39 0
      Source/group-platform/service/src/main/java/com/younike/service/service/impl/StoreStaffRoleServiceImpl.java
  50. 39 0
      Source/group-platform/service/src/main/java/com/younike/service/service/impl/StoreStaffServiceImpl.java
  51. 44 0
      Source/group-platform/service/src/main/resources/mapper/system/GoodsMapper.xml
  52. 30 0
      Source/group-platform/service/src/main/resources/mapper/system/GpContentProductMapper.xml
  53. 29 0
      Source/group-platform/service/src/main/resources/mapper/system/GpGoodsDetailMapper.xml
  54. 29 0
      Source/group-platform/service/src/main/resources/mapper/system/GpGoodsImgMapper.xml
  55. 29 0
      Source/group-platform/service/src/main/resources/mapper/system/StoreEvaluateAttachMapper.xml
  56. 39 0
      Source/group-platform/service/src/main/resources/mapper/system/StoreEvaluateMapper.xml
  57. 29 0
      Source/group-platform/service/src/main/resources/mapper/system/StoreEvaluateReplyTemplateMapper.xml
  58. 29 0
      Source/group-platform/service/src/main/resources/mapper/system/StorePopularGoodsMapper.xml
  59. 34 0
      Source/group-platform/service/src/main/resources/mapper/system/StoreStaffMapper.xml
  60. 28 0
      Source/group-platform/service/src/main/resources/mapper/system/StoreStaffRoleMapper.xml

+ 88 - 0
Source/group-platform/admin/src/main/java/com/younike/member/controller/StoreEvaluateAttachController.java

@@ -0,0 +1,88 @@
+package com.younike.member.controller;
+
+import java.util.List;
+
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import com.younike.common.bean.APIResult;
+import com.younike.common.bean.ResultGenerator;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import com.younike.common.core.page.PageParam;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.younike.common.annotation.OpLog;
+import com.younike.common.core.controller.BaseController;
+import com.younike.common.core.dto.AjaxResult;
+import com.younike.common.constant.BusinessType;
+import com.younike.service.pojo.StoreEvaluateAttach;
+import com.younike.service.service.IStoreEvaluateAttachService;
+import com.younike.common.core.page.TableResult;
+
+/**
+ * 门店评价图片视频(主记录evaluate删除时,关联的附件直接删除)				Controller
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@RestController
+@RequestMapping("/storeEvaluateAttach")
+public class StoreEvaluateAttachController extends BaseController {
+    @Autowired
+    private IStoreEvaluateAttachService storeEvaluateAttachService;
+
+    /**
+     * 查询门店评价图片视频(主记录evaluate删除时,关联的附件直接删除)				列表
+     */
+    @RequiresPermissions("attach:list")
+    @PostMapping("/list")
+    public Page list(@RequestBody PageParam<StoreEvaluateAttach> page) {
+
+        return storeEvaluateAttachService.page(page);
+    }
+
+
+    /**
+     * 获取门店评价图片视频(主记录evaluate删除时,关联的附件直接删除)				详细信息
+     */
+    @RequiresPermissions("attach:query")
+    @GetMapping(value = "/{evaluateAttachId}")
+    public APIResult getInfo(@PathVariable("evaluateAttachId") String evaluateAttachId) {
+        return ResultGenerator.getSuccessResult(storeEvaluateAttachService.getById(evaluateAttachId));
+    }
+
+    /**
+     * 新增门店评价图片视频(主记录evaluate删除时,关联的附件直接删除)				
+     */
+    @RequiresPermissions("attach:add")
+    @OpLog(title = "门店评价图片视频(主记录evaluate删除时,关联的附件直接删除)				", type = BusinessType.INSERT)
+    @PostMapping
+    public APIResult add(@RequestBody StoreEvaluateAttach storeEvaluateAttach) {
+        return ResultGenerator.getSuccessResult(storeEvaluateAttachService.save(storeEvaluateAttach));
+    }
+
+    /**
+     * 修改门店评价图片视频(主记录evaluate删除时,关联的附件直接删除)				
+     */
+    @RequiresPermissions("attach:edit")
+    @OpLog(title = "门店评价图片视频(主记录evaluate删除时,关联的附件直接删除)				", type = BusinessType.UPDATE)
+    @PutMapping
+    public APIResult edit(@RequestBody StoreEvaluateAttach storeEvaluateAttach) {
+        return ResultGenerator.getSuccessResult(storeEvaluateAttachService.updateById(storeEvaluateAttach));
+    }
+
+    /**
+     * 删除门店评价图片视频(主记录evaluate删除时,关联的附件直接删除)				
+     */
+    @RequiresPermissions("attach:remove")
+    @OpLog(title = "门店评价图片视频(主记录evaluate删除时,关联的附件直接删除)				", type = BusinessType.DELETE)
+    @DeleteMapping("/{evaluateAttachIds}")
+    public APIResult remove(@PathVariable List<String> evaluateAttachIds) {
+        return ResultGenerator.getSuccessResult(storeEvaluateAttachService.removeByIds(evaluateAttachIds));
+    }
+}

+ 88 - 0
Source/group-platform/admin/src/main/java/com/younike/member/controller/StoreEvaluateController.java

@@ -0,0 +1,88 @@
+package com.younike.member.controller;
+
+import java.util.List;
+
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import com.younike.common.bean.APIResult;
+import com.younike.common.bean.ResultGenerator;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import com.younike.common.core.page.PageParam;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.younike.common.annotation.OpLog;
+import com.younike.common.core.controller.BaseController;
+import com.younike.common.core.dto.AjaxResult;
+import com.younike.common.constant.BusinessType;
+import com.younike.service.pojo.StoreEvaluate;
+import com.younike.service.service.IStoreEvaluateService;
+import com.younike.common.core.page.TableResult;
+
+/**
+ * 门店评价							Controller
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@RestController
+@RequestMapping("/storeEvaluate")
+public class StoreEvaluateController extends BaseController {
+    @Autowired
+    private IStoreEvaluateService storeEvaluateService;
+
+    /**
+     * 查询门店评价							列表
+     */
+    @RequiresPermissions("evaluate:list")
+    @PostMapping("/list")
+    public Page list(@RequestBody PageParam<StoreEvaluate> page) {
+
+        return storeEvaluateService.page(page);
+    }
+
+
+    /**
+     * 获取门店评价							详细信息
+     */
+    @RequiresPermissions("evaluate:query")
+    @GetMapping(value = "/{evaluateId}")
+    public APIResult getInfo(@PathVariable("evaluateId") String evaluateId) {
+        return ResultGenerator.getSuccessResult(storeEvaluateService.getById(evaluateId));
+    }
+
+    /**
+     * 新增门店评价							
+     */
+    @RequiresPermissions("evaluate:add")
+    @OpLog(title = "门店评价							", type = BusinessType.INSERT)
+    @PostMapping
+    public APIResult add(@RequestBody StoreEvaluate storeEvaluate) {
+        return ResultGenerator.getSuccessResult(storeEvaluateService.save(storeEvaluate));
+    }
+
+    /**
+     * 修改门店评价							
+     */
+    @RequiresPermissions("evaluate:edit")
+    @OpLog(title = "门店评价							", type = BusinessType.UPDATE)
+    @PutMapping
+    public APIResult edit(@RequestBody StoreEvaluate storeEvaluate) {
+        return ResultGenerator.getSuccessResult(storeEvaluateService.updateById(storeEvaluate));
+    }
+
+    /**
+     * 删除门店评价							
+     */
+    @RequiresPermissions("evaluate:remove")
+    @OpLog(title = "门店评价							", type = BusinessType.DELETE)
+    @DeleteMapping("/{evaluateIds}")
+    public APIResult remove(@PathVariable List<String> evaluateIds) {
+        return ResultGenerator.getSuccessResult(storeEvaluateService.removeByIds(evaluateIds));
+    }
+}

+ 88 - 0
Source/group-platform/admin/src/main/java/com/younike/member/controller/StorePopularGoodsController.java

@@ -0,0 +1,88 @@
+package com.younike.member.controller;
+
+import java.util.List;
+
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import com.younike.common.bean.APIResult;
+import com.younike.common.bean.ResultGenerator;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import com.younike.common.core.page.PageParam;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.younike.common.annotation.OpLog;
+import com.younike.common.core.controller.BaseController;
+import com.younike.common.core.dto.AjaxResult;
+import com.younike.common.constant.BusinessType;
+import com.younike.service.pojo.StorePopularGoods;
+import com.younike.service.service.IStorePopularGoodsService;
+import com.younike.common.core.page.TableResult;
+
+/**
+ * 门店推荐商品				Controller
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@RestController
+@RequestMapping("/storePopularGoods")
+public class StorePopularGoodsController extends BaseController {
+    @Autowired
+    private IStorePopularGoodsService storePopularGoodsService;
+
+    /**
+     * 查询门店推荐商品				列表
+     */
+    @RequiresPermissions("goods:list")
+    @PostMapping("/list")
+    public Page list(@RequestBody PageParam<StorePopularGoods> page) {
+
+        return storePopularGoodsService.page(page);
+    }
+
+
+    /**
+     * 获取门店推荐商品				详细信息
+     */
+    @RequiresPermissions("goods:query")
+    @GetMapping(value = "/{popularGoodsId}")
+    public APIResult getInfo(@PathVariable("popularGoodsId") String popularGoodsId) {
+        return ResultGenerator.getSuccessResult(storePopularGoodsService.getById(popularGoodsId));
+    }
+
+    /**
+     * 新增门店推荐商品				
+     */
+    @RequiresPermissions("goods:add")
+    @OpLog(title = "门店推荐商品				", type = BusinessType.INSERT)
+    @PostMapping
+    public APIResult add(@RequestBody StorePopularGoods storePopularGoods) {
+        return ResultGenerator.getSuccessResult(storePopularGoodsService.save(storePopularGoods));
+    }
+
+    /**
+     * 修改门店推荐商品				
+     */
+    @RequiresPermissions("goods:edit")
+    @OpLog(title = "门店推荐商品				", type = BusinessType.UPDATE)
+    @PutMapping
+    public APIResult edit(@RequestBody StorePopularGoods storePopularGoods) {
+        return ResultGenerator.getSuccessResult(storePopularGoodsService.updateById(storePopularGoods));
+    }
+
+    /**
+     * 删除门店推荐商品				
+     */
+    @RequiresPermissions("goods:remove")
+    @OpLog(title = "门店推荐商品				", type = BusinessType.DELETE)
+    @DeleteMapping("/{popularGoodsIds}")
+    public APIResult remove(@PathVariable List<String> popularGoodsIds) {
+        return ResultGenerator.getSuccessResult(storePopularGoodsService.removeByIds(popularGoodsIds));
+    }
+}

+ 88 - 0
Source/group-platform/admin/src/main/java/com/younike/store/controller/GoodsController.java

@@ -0,0 +1,88 @@
+package com.younike.store.controller;
+
+import java.util.List;
+
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import com.younike.common.bean.APIResult;
+import com.younike.common.bean.ResultGenerator;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import com.younike.common.core.page.PageParam;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.younike.common.annotation.OpLog;
+import com.younike.common.core.controller.BaseController;
+import com.younike.common.core.dto.AjaxResult;
+import com.younike.common.constant.BusinessType;
+import com.younike.service.pojo.Goods;
+import com.younike.service.service.IGoodsService;
+import com.younike.common.core.page.TableResult;
+
+/**
+ * 门店商品				Controller
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@RestController
+@RequestMapping("/goods")
+public class GoodsController extends BaseController {
+    @Autowired
+    private IGoodsService goodsService;
+
+    /**
+     * 查询门店商品				列表
+     */
+    @RequiresPermissions("goods:list")
+    @PostMapping("/list")
+    public Page list(@RequestBody PageParam<Goods> page) {
+
+        return goodsService.page(page);
+    }
+
+
+    /**
+     * 获取门店商品				详细信息
+     */
+    @RequiresPermissions("goods:query")
+    @GetMapping(value = "/{goodsId}")
+    public APIResult getInfo(@PathVariable("goodsId") String goodsId) {
+        return ResultGenerator.getSuccessResult(goodsService.getById(goodsId));
+    }
+
+    /**
+     * 新增门店商品				
+     */
+    @RequiresPermissions("goods:add")
+    @OpLog(title = "门店商品				", type = BusinessType.INSERT)
+    @PostMapping
+    public APIResult add(@RequestBody Goods goods) {
+        return ResultGenerator.getSuccessResult(goodsService.save(goods));
+    }
+
+    /**
+     * 修改门店商品				
+     */
+    @RequiresPermissions("goods:edit")
+    @OpLog(title = "门店商品				", type = BusinessType.UPDATE)
+    @PutMapping
+    public APIResult edit(@RequestBody Goods goods) {
+        return ResultGenerator.getSuccessResult(goodsService.updateById(goods));
+    }
+
+    /**
+     * 删除门店商品				
+     */
+    @RequiresPermissions("goods:remove")
+    @OpLog(title = "门店商品				", type = BusinessType.DELETE)
+    @DeleteMapping("/{goodsIds}")
+    public APIResult remove(@PathVariable List<String> goodsIds) {
+        return ResultGenerator.getSuccessResult(goodsService.removeByIds(goodsIds));
+    }
+}

+ 88 - 0
Source/group-platform/admin/src/main/java/com/younike/store/controller/GpContentProductController.java

@@ -0,0 +1,88 @@
+package com.younike.store.controller;
+
+import java.util.List;
+
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import com.younike.common.bean.APIResult;
+import com.younike.common.bean.ResultGenerator;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import com.younike.common.core.page.PageParam;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.younike.common.annotation.OpLog;
+import com.younike.common.core.controller.BaseController;
+import com.younike.common.core.dto.AjaxResult;
+import com.younike.common.constant.BusinessType;
+import com.younike.service.pojo.GpContentProduct;
+import com.younike.service.service.IGpContentProductService;
+import com.younike.common.core.page.TableResult;
+
+/**
+ * 门店套餐内容产品				Controller
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@RestController
+@RequestMapping("/gpContentProduct")
+public class GpContentProductController extends BaseController {
+    @Autowired
+    private IGpContentProductService gpContentProductService;
+
+    /**
+     * 查询门店套餐内容产品				列表
+     */
+    @RequiresPermissions("product:list")
+    @PostMapping("/list")
+    public Page list(@RequestBody PageParam<GpContentProduct> page) {
+
+        return gpContentProductService.page(page);
+    }
+
+
+    /**
+     * 获取门店套餐内容产品				详细信息
+     */
+    @RequiresPermissions("product:query")
+    @GetMapping(value = "/{contentProductId}")
+    public APIResult getInfo(@PathVariable("contentProductId") String contentProductId) {
+        return ResultGenerator.getSuccessResult(gpContentProductService.getById(contentProductId));
+    }
+
+    /**
+     * 新增门店套餐内容产品				
+     */
+    @RequiresPermissions("product:add")
+    @OpLog(title = "门店套餐内容产品				", type = BusinessType.INSERT)
+    @PostMapping
+    public APIResult add(@RequestBody GpContentProduct gpContentProduct) {
+        return ResultGenerator.getSuccessResult(gpContentProductService.save(gpContentProduct));
+    }
+
+    /**
+     * 修改门店套餐内容产品				
+     */
+    @RequiresPermissions("product:edit")
+    @OpLog(title = "门店套餐内容产品				", type = BusinessType.UPDATE)
+    @PutMapping
+    public APIResult edit(@RequestBody GpContentProduct gpContentProduct) {
+        return ResultGenerator.getSuccessResult(gpContentProductService.updateById(gpContentProduct));
+    }
+
+    /**
+     * 删除门店套餐内容产品				
+     */
+    @RequiresPermissions("product:remove")
+    @OpLog(title = "门店套餐内容产品				", type = BusinessType.DELETE)
+    @DeleteMapping("/{contentProductIds}")
+    public APIResult remove(@PathVariable List<String> contentProductIds) {
+        return ResultGenerator.getSuccessResult(gpContentProductService.removeByIds(contentProductIds));
+    }
+}

+ 88 - 0
Source/group-platform/admin/src/main/java/com/younike/store/controller/GpGoodsDetailController.java

@@ -0,0 +1,88 @@
+package com.younike.store.controller;
+
+import java.util.List;
+
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import com.younike.common.bean.APIResult;
+import com.younike.common.bean.ResultGenerator;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import com.younike.common.core.page.PageParam;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.younike.common.annotation.OpLog;
+import com.younike.common.core.controller.BaseController;
+import com.younike.common.core.dto.AjaxResult;
+import com.younike.common.constant.BusinessType;
+import com.younike.service.pojo.GpGoodsDetail;
+import com.younike.service.service.IGpGoodsDetailService;
+import com.younike.common.core.page.TableResult;
+
+/**
+ * 门店团购(到店套餐)套餐明细				Controller
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@RestController
+@RequestMapping("/gpGoodsDetail")
+public class GpGoodsDetailController extends BaseController {
+    @Autowired
+    private IGpGoodsDetailService gpGoodsDetailService;
+
+    /**
+     * 查询门店团购(到店套餐)套餐明细				列表
+     */
+    @RequiresPermissions("detail:list")
+    @PostMapping("/list")
+    public Page list(@RequestBody PageParam<GpGoodsDetail> page) {
+
+        return gpGoodsDetailService.page(page);
+    }
+
+
+    /**
+     * 获取门店团购(到店套餐)套餐明细				详细信息
+     */
+    @RequiresPermissions("detail:query")
+    @GetMapping(value = "/{gpGoodsDetailId}")
+    public APIResult getInfo(@PathVariable("gpGoodsDetailId") String gpGoodsDetailId) {
+        return ResultGenerator.getSuccessResult(gpGoodsDetailService.getById(gpGoodsDetailId));
+    }
+
+    /**
+     * 新增门店团购(到店套餐)套餐明细				
+     */
+    @RequiresPermissions("detail:add")
+    @OpLog(title = "门店团购(到店套餐)套餐明细				", type = BusinessType.INSERT)
+    @PostMapping
+    public APIResult add(@RequestBody GpGoodsDetail gpGoodsDetail) {
+        return ResultGenerator.getSuccessResult(gpGoodsDetailService.save(gpGoodsDetail));
+    }
+
+    /**
+     * 修改门店团购(到店套餐)套餐明细				
+     */
+    @RequiresPermissions("detail:edit")
+    @OpLog(title = "门店团购(到店套餐)套餐明细				", type = BusinessType.UPDATE)
+    @PutMapping
+    public APIResult edit(@RequestBody GpGoodsDetail gpGoodsDetail) {
+        return ResultGenerator.getSuccessResult(gpGoodsDetailService.updateById(gpGoodsDetail));
+    }
+
+    /**
+     * 删除门店团购(到店套餐)套餐明细				
+     */
+    @RequiresPermissions("detail:remove")
+    @OpLog(title = "门店团购(到店套餐)套餐明细				", type = BusinessType.DELETE)
+    @DeleteMapping("/{gpGoodsDetailIds}")
+    public APIResult remove(@PathVariable List<String> gpGoodsDetailIds) {
+        return ResultGenerator.getSuccessResult(gpGoodsDetailService.removeByIds(gpGoodsDetailIds));
+    }
+}

+ 88 - 0
Source/group-platform/admin/src/main/java/com/younike/store/controller/GpGoodsImgController.java

@@ -0,0 +1,88 @@
+package com.younike.store.controller;
+
+import java.util.List;
+
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import com.younike.common.bean.APIResult;
+import com.younike.common.bean.ResultGenerator;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import com.younike.common.core.page.PageParam;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.younike.common.annotation.OpLog;
+import com.younike.common.core.controller.BaseController;
+import com.younike.common.core.dto.AjaxResult;
+import com.younike.common.constant.BusinessType;
+import com.younike.service.pojo.GpGoodsImg;
+import com.younike.service.service.IGpGoodsImgService;
+import com.younike.common.core.page.TableResult;
+
+/**
+ * 门店团购套餐商品图片				Controller
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@RestController
+@RequestMapping("/gpGoodsImg")
+public class GpGoodsImgController extends BaseController {
+    @Autowired
+    private IGpGoodsImgService gpGoodsImgService;
+
+    /**
+     * 查询门店团购套餐商品图片				列表
+     */
+    @RequiresPermissions("img:list")
+    @PostMapping("/list")
+    public Page list(@RequestBody PageParam<GpGoodsImg> page) {
+
+        return gpGoodsImgService.page(page);
+    }
+
+
+    /**
+     * 获取门店团购套餐商品图片				详细信息
+     */
+    @RequiresPermissions("img:query")
+    @GetMapping(value = "/{gpGoodsImgId}")
+    public APIResult getInfo(@PathVariable("gpGoodsImgId") String gpGoodsImgId) {
+        return ResultGenerator.getSuccessResult(gpGoodsImgService.getById(gpGoodsImgId));
+    }
+
+    /**
+     * 新增门店团购套餐商品图片				
+     */
+    @RequiresPermissions("img:add")
+    @OpLog(title = "门店团购套餐商品图片				", type = BusinessType.INSERT)
+    @PostMapping
+    public APIResult add(@RequestBody GpGoodsImg gpGoodsImg) {
+        return ResultGenerator.getSuccessResult(gpGoodsImgService.save(gpGoodsImg));
+    }
+
+    /**
+     * 修改门店团购套餐商品图片				
+     */
+    @RequiresPermissions("img:edit")
+    @OpLog(title = "门店团购套餐商品图片				", type = BusinessType.UPDATE)
+    @PutMapping
+    public APIResult edit(@RequestBody GpGoodsImg gpGoodsImg) {
+        return ResultGenerator.getSuccessResult(gpGoodsImgService.updateById(gpGoodsImg));
+    }
+
+    /**
+     * 删除门店团购套餐商品图片				
+     */
+    @RequiresPermissions("img:remove")
+    @OpLog(title = "门店团购套餐商品图片				", type = BusinessType.DELETE)
+    @DeleteMapping("/{gpGoodsImgIds}")
+    public APIResult remove(@PathVariable List<String> gpGoodsImgIds) {
+        return ResultGenerator.getSuccessResult(gpGoodsImgService.removeByIds(gpGoodsImgIds));
+    }
+}

+ 88 - 0
Source/group-platform/admin/src/main/java/com/younike/store/controller/StoreEvaluateReplyTemplateController.java

@@ -0,0 +1,88 @@
+package com.younike.store.controller;
+
+import java.util.List;
+
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import com.younike.common.bean.APIResult;
+import com.younike.common.bean.ResultGenerator;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import com.younike.common.core.page.PageParam;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.younike.common.annotation.OpLog;
+import com.younike.common.core.controller.BaseController;
+import com.younike.common.core.dto.AjaxResult;
+import com.younike.common.constant.BusinessType;
+import com.younike.service.pojo.StoreEvaluateReplyTemplate;
+import com.younike.service.service.IStoreEvaluateReplyTemplateService;
+import com.younike.common.core.page.TableResult;
+
+/**
+ * 门店评价回复模板				Controller
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@RestController
+@RequestMapping("/storeEvaluateReplyTemplate")
+public class StoreEvaluateReplyTemplateController extends BaseController {
+    @Autowired
+    private IStoreEvaluateReplyTemplateService storeEvaluateReplyTemplateService;
+
+    /**
+     * 查询门店评价回复模板				列表
+     */
+    @RequiresPermissions("template:list")
+    @PostMapping("/list")
+    public Page list(@RequestBody PageParam<StoreEvaluateReplyTemplate> page) {
+
+        return storeEvaluateReplyTemplateService.page(page);
+    }
+
+
+    /**
+     * 获取门店评价回复模板				详细信息
+     */
+    @RequiresPermissions("template:query")
+    @GetMapping(value = "/{evaluateReplyTemplateId}")
+    public APIResult getInfo(@PathVariable("evaluateReplyTemplateId") String evaluateReplyTemplateId) {
+        return ResultGenerator.getSuccessResult(storeEvaluateReplyTemplateService.getById(evaluateReplyTemplateId));
+    }
+
+    /**
+     * 新增门店评价回复模板				
+     */
+    @RequiresPermissions("template:add")
+    @OpLog(title = "门店评价回复模板				", type = BusinessType.INSERT)
+    @PostMapping
+    public APIResult add(@RequestBody StoreEvaluateReplyTemplate storeEvaluateReplyTemplate) {
+        return ResultGenerator.getSuccessResult(storeEvaluateReplyTemplateService.save(storeEvaluateReplyTemplate));
+    }
+
+    /**
+     * 修改门店评价回复模板				
+     */
+    @RequiresPermissions("template:edit")
+    @OpLog(title = "门店评价回复模板				", type = BusinessType.UPDATE)
+    @PutMapping
+    public APIResult edit(@RequestBody StoreEvaluateReplyTemplate storeEvaluateReplyTemplate) {
+        return ResultGenerator.getSuccessResult(storeEvaluateReplyTemplateService.updateById(storeEvaluateReplyTemplate));
+    }
+
+    /**
+     * 删除门店评价回复模板				
+     */
+    @RequiresPermissions("template:remove")
+    @OpLog(title = "门店评价回复模板				", type = BusinessType.DELETE)
+    @DeleteMapping("/{evaluateReplyTemplateIds}")
+    public APIResult remove(@PathVariable List<String> evaluateReplyTemplateIds) {
+        return ResultGenerator.getSuccessResult(storeEvaluateReplyTemplateService.removeByIds(evaluateReplyTemplateIds));
+    }
+}

+ 88 - 0
Source/group-platform/admin/src/main/java/com/younike/store/controller/StoreStaffController.java

@@ -0,0 +1,88 @@
+package com.younike.store.controller;
+
+import java.util.List;
+
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import com.younike.common.bean.APIResult;
+import com.younike.common.bean.ResultGenerator;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import com.younike.common.core.page.PageParam;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.younike.common.annotation.OpLog;
+import com.younike.common.core.controller.BaseController;
+import com.younike.common.core.dto.AjaxResult;
+import com.younike.common.constant.BusinessType;
+import com.younike.service.pojo.StoreStaff;
+import com.younike.service.service.IStoreStaffService;
+import com.younike.common.core.page.TableResult;
+
+/**
+ * 门店员工				Controller
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@RestController
+@RequestMapping("/storeStaff")
+public class StoreStaffController extends BaseController {
+    @Autowired
+    private IStoreStaffService storeStaffService;
+
+    /**
+     * 查询门店员工				列表
+     */
+    @RequiresPermissions("staff:list")
+    @PostMapping("/list")
+    public Page list(@RequestBody PageParam<StoreStaff> page) {
+
+        return storeStaffService.page(page);
+    }
+
+
+    /**
+     * 获取门店员工				详细信息
+     */
+    @RequiresPermissions("staff:query")
+    @GetMapping(value = "/{storeStaffId}")
+    public APIResult getInfo(@PathVariable("storeStaffId") String storeStaffId) {
+        return ResultGenerator.getSuccessResult(storeStaffService.getById(storeStaffId));
+    }
+
+    /**
+     * 新增门店员工				
+     */
+    @RequiresPermissions("staff:add")
+    @OpLog(title = "门店员工				", type = BusinessType.INSERT)
+    @PostMapping
+    public APIResult add(@RequestBody StoreStaff storeStaff) {
+        return ResultGenerator.getSuccessResult(storeStaffService.save(storeStaff));
+    }
+
+    /**
+     * 修改门店员工				
+     */
+    @RequiresPermissions("staff:edit")
+    @OpLog(title = "门店员工				", type = BusinessType.UPDATE)
+    @PutMapping
+    public APIResult edit(@RequestBody StoreStaff storeStaff) {
+        return ResultGenerator.getSuccessResult(storeStaffService.updateById(storeStaff));
+    }
+
+    /**
+     * 删除门店员工				
+     */
+    @RequiresPermissions("staff:remove")
+    @OpLog(title = "门店员工				", type = BusinessType.DELETE)
+    @DeleteMapping("/{storeStaffIds}")
+    public APIResult remove(@PathVariable List<String> storeStaffIds) {
+        return ResultGenerator.getSuccessResult(storeStaffService.removeByIds(storeStaffIds));
+    }
+}

+ 88 - 0
Source/group-platform/admin/src/main/java/com/younike/store/controller/StoreStaffRoleController.java

@@ -0,0 +1,88 @@
+package com.younike.store.controller;
+
+import java.util.List;
+
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import com.younike.common.bean.APIResult;
+import com.younike.common.bean.ResultGenerator;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import com.younike.common.core.page.PageParam;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.younike.common.annotation.OpLog;
+import com.younike.common.core.controller.BaseController;
+import com.younike.common.core.dto.AjaxResult;
+import com.younike.common.constant.BusinessType;
+import com.younike.service.pojo.StoreStaffRole;
+import com.younike.service.service.IStoreStaffRoleService;
+import com.younike.common.core.page.TableResult;
+
+/**
+ * 门店员工角色				Controller
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@RestController
+@RequestMapping("/storeStaffRole")
+public class StoreStaffRoleController extends BaseController {
+    @Autowired
+    private IStoreStaffRoleService storeStaffRoleService;
+
+    /**
+     * 查询门店员工角色				列表
+     */
+    @RequiresPermissions("role:list")
+    @PostMapping("/list")
+    public Page list(@RequestBody PageParam<StoreStaffRole> page) {
+
+        return storeStaffRoleService.page(page);
+    }
+
+
+    /**
+     * 获取门店员工角色				详细信息
+     */
+    @RequiresPermissions("role:query")
+    @GetMapping(value = "/{staffRoleId}")
+    public APIResult getInfo(@PathVariable("staffRoleId") String staffRoleId) {
+        return ResultGenerator.getSuccessResult(storeStaffRoleService.getById(staffRoleId));
+    }
+
+    /**
+     * 新增门店员工角色				
+     */
+    @RequiresPermissions("role:add")
+    @OpLog(title = "门店员工角色				", type = BusinessType.INSERT)
+    @PostMapping
+    public APIResult add(@RequestBody StoreStaffRole storeStaffRole) {
+        return ResultGenerator.getSuccessResult(storeStaffRoleService.save(storeStaffRole));
+    }
+
+    /**
+     * 修改门店员工角色				
+     */
+    @RequiresPermissions("role:edit")
+    @OpLog(title = "门店员工角色				", type = BusinessType.UPDATE)
+    @PutMapping
+    public APIResult edit(@RequestBody StoreStaffRole storeStaffRole) {
+        return ResultGenerator.getSuccessResult(storeStaffRoleService.updateById(storeStaffRole));
+    }
+
+    /**
+     * 删除门店员工角色				
+     */
+    @RequiresPermissions("role:remove")
+    @OpLog(title = "门店员工角色				", type = BusinessType.DELETE)
+    @DeleteMapping("/{staffRoleIds}")
+    public APIResult remove(@PathVariable List<String> staffRoleIds) {
+        return ResultGenerator.getSuccessResult(storeStaffRoleService.removeByIds(staffRoleIds));
+    }
+}

+ 15 - 0
Source/group-platform/service/src/main/java/com/younike/service/mapper/GoodsMapper.java

@@ -0,0 +1,15 @@
+package com.younike.service.mapper;
+
+import java.util.List;
+import com.younike.service.pojo.Goods;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * 门店商品				Mapper接口
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+public interface GoodsMapper extends BaseMapper<Goods> {
+
+}

+ 15 - 0
Source/group-platform/service/src/main/java/com/younike/service/mapper/GpContentProductMapper.java

@@ -0,0 +1,15 @@
+package com.younike.service.mapper;
+
+import java.util.List;
+import com.younike.service.pojo.GpContentProduct;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * 门店套餐内容产品				Mapper接口
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+public interface GpContentProductMapper extends BaseMapper<GpContentProduct> {
+
+}

+ 15 - 0
Source/group-platform/service/src/main/java/com/younike/service/mapper/GpGoodsDetailMapper.java

@@ -0,0 +1,15 @@
+package com.younike.service.mapper;
+
+import java.util.List;
+import com.younike.service.pojo.GpGoodsDetail;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * 门店团购(到店套餐)套餐明细				Mapper接口
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+public interface GpGoodsDetailMapper extends BaseMapper<GpGoodsDetail> {
+
+}

+ 15 - 0
Source/group-platform/service/src/main/java/com/younike/service/mapper/GpGoodsImgMapper.java

@@ -0,0 +1,15 @@
+package com.younike.service.mapper;
+
+import java.util.List;
+import com.younike.service.pojo.GpGoodsImg;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * 门店团购套餐商品图片				Mapper接口
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+public interface GpGoodsImgMapper extends BaseMapper<GpGoodsImg> {
+
+}

+ 15 - 0
Source/group-platform/service/src/main/java/com/younike/service/mapper/StoreEvaluateAttachMapper.java

@@ -0,0 +1,15 @@
+package com.younike.service.mapper;
+
+import java.util.List;
+import com.younike.service.pojo.StoreEvaluateAttach;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * 门店评价图片视频(主记录evaluate删除时,关联的附件直接删除)				Mapper接口
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+public interface StoreEvaluateAttachMapper extends BaseMapper<StoreEvaluateAttach> {
+
+}

+ 15 - 0
Source/group-platform/service/src/main/java/com/younike/service/mapper/StoreEvaluateMapper.java

@@ -0,0 +1,15 @@
+package com.younike.service.mapper;
+
+import java.util.List;
+import com.younike.service.pojo.StoreEvaluate;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * 门店评价							Mapper接口
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+public interface StoreEvaluateMapper extends BaseMapper<StoreEvaluate> {
+
+}

+ 15 - 0
Source/group-platform/service/src/main/java/com/younike/service/mapper/StoreEvaluateReplyTemplateMapper.java

@@ -0,0 +1,15 @@
+package com.younike.service.mapper;
+
+import java.util.List;
+import com.younike.service.pojo.StoreEvaluateReplyTemplate;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * 门店评价回复模板				Mapper接口
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+public interface StoreEvaluateReplyTemplateMapper extends BaseMapper<StoreEvaluateReplyTemplate> {
+
+}

+ 15 - 0
Source/group-platform/service/src/main/java/com/younike/service/mapper/StorePopularGoodsMapper.java

@@ -0,0 +1,15 @@
+package com.younike.service.mapper;
+
+import java.util.List;
+import com.younike.service.pojo.StorePopularGoods;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * 门店推荐商品				Mapper接口
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+public interface StorePopularGoodsMapper extends BaseMapper<StorePopularGoods> {
+
+}

+ 15 - 0
Source/group-platform/service/src/main/java/com/younike/service/mapper/StoreStaffMapper.java

@@ -0,0 +1,15 @@
+package com.younike.service.mapper;
+
+import java.util.List;
+import com.younike.service.pojo.StoreStaff;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * 门店员工				Mapper接口
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+public interface StoreStaffMapper extends BaseMapper<StoreStaff> {
+
+}

+ 15 - 0
Source/group-platform/service/src/main/java/com/younike/service/mapper/StoreStaffRoleMapper.java

@@ -0,0 +1,15 @@
+package com.younike.service.mapper;
+
+import java.util.List;
+import com.younike.service.pojo.StoreStaffRole;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * 门店员工角色				Mapper接口
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+public interface StoreStaffRoleMapper extends BaseMapper<StoreStaffRole> {
+
+}

+ 111 - 0
Source/group-platform/service/src/main/java/com/younike/service/pojo/Goods.java

@@ -0,0 +1,111 @@
+package com.younike.service.pojo;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.younike.common.utils.poi.Excel;
+import lombok.Data;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.Version;
+import com.younike.common.core.domain.BaseEntity;
+
+/**
+ * 门店商品				对象 goods
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@Data
+public class Goods extends BaseEntity {
+    private static final long serialVersionUID=1L;
+
+    /** 门店商品 ID  */
+    @TableId(type = IdType.ASSIGN_UUID)
+    private String goodsId;
+
+    /** 门店基础信息表外键(表store) */
+    private String storeId;
+
+    /** 门店商品类型(001-代金券;002-团购套餐券;) */
+    private String goodsType;
+
+    /** 商品名称 */
+    private String goodsName;
+
+    /** 划线价格/门市价格 */
+    private Long retailPrice;
+
+    /** 商品售价 */
+    private Long salePrice;
+
+    /** 单人最多可购买券数量 */
+    private Long maxBuyQtyPerPerson;
+
+    /** 每单限用券数量 */
+    private Long maxUseQtyPerOrder;
+
+    /** 有效期开始时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private String validFrom;
+
+    /** 有效期结束时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private String validUntil;
+
+    /** 周末/节假日是否可用(0-通用;1-周末不可用;2-法定节假日不可用;3-周末/法定节假日都不可用;) */
+    private String isHolidayRestricted;
+
+    /** 适用范围,枚举:(0-全场通用;1-只适用于菜品;) */
+    private String validScope;
+
+    /** 使用规则/购买须知 文字描述 */
+    private String commonRules;
+
+    /** 库存值(商家预设库存) */
+    private Long stockQty;
+
+    /** 已售数量(初始值为0,每售出一笔,更新该字段) */
+    private Long soldQty;
+
+    /** 排序字段 
+每次新增记录时,先查出已存在的sort_order值最大的那条记录,然后新增记录的sort_order值为该记录的值+1。
+上移:取上一条记录排序号,将当前记录与上一条记录排序号调换位置
+下移:取下一条记录排序号,将当前记录与下一条记录排序号调换位置 */
+    private Long sortOrder;
+
+    /** 商品上下架状态;枚举:上架、下架(默认下架) */
+    private Long shelveStatus;
+
+    /** 上下架操作人ID(关联表app_user)? */
+    private Long shelveStatusUpdatedBy;
+
+    /** 上下架时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private String shelveStatusUpdatedTime;
+
+    /** 删除标签(0-正常;1-已删除;默认0) */
+    private String delFlag;
+
+    /** 创建人ID */
+    private String createdBy;
+
+    /** 创建时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private String createdTime;
+
+    /** 更新/修改/删除人ID */
+    private String updatedBy;
+
+    /** 更新修改/删除时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private String updatedTime;
+
+    /** 版本号(默认0) */
+    @Version
+    private Long version;
+
+
+
+}

+ 63 - 0
Source/group-platform/service/src/main/java/com/younike/service/pojo/GpContentProduct.java

@@ -0,0 +1,63 @@
+package com.younike.service.pojo;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.younike.common.utils.poi.Excel;
+import lombok.Data;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.Version;
+import com.younike.common.core.domain.BaseEntity;
+
+/**
+ * 门店套餐内容产品				对象 gp_content_product
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@Data
+public class GpContentProduct extends BaseEntity {
+    private static final long serialVersionUID=1L;
+
+    /** 门店套餐内容产品ID */
+    @TableId(type = IdType.ASSIGN_UUID)
+    private String contentProductId;
+
+    /** 门店基础信息表外键(表store) */
+    private String storeId;
+
+    /** 商品/菜品名称 */
+    private String productName;
+
+    /** 价格 */
+    private Long productPrice;
+
+    /** 商品/菜品图片(暂支持上传一张图片) */
+    private String productImgUrl;
+
+    /** 删除标签(0-正常;1-已删除;默认0) */
+    private String delFlag;
+
+    /** 创建人ID */
+    private String createdBy;
+
+    /** 创建时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private String createdTime;
+
+    /** 更新/修改/删除人ID */
+    private String updatedBy;
+
+    /** 更新修改/删除时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private String updatedTime;
+
+    /** 版本号(默认0) */
+    @Version
+    private Long version;
+
+
+
+}

+ 60 - 0
Source/group-platform/service/src/main/java/com/younike/service/pojo/GpGoodsDetail.java

@@ -0,0 +1,60 @@
+package com.younike.service.pojo;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.younike.common.utils.poi.Excel;
+import lombok.Data;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.Version;
+import com.younike.common.core.domain.BaseEntity;
+
+/**
+ * 门店团购(到店套餐)套餐明细				对象 gp_goods_detail
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@Data
+public class GpGoodsDetail extends BaseEntity {
+    private static final long serialVersionUID=1L;
+
+    /** 主记录ID  */
+    @TableId(type = IdType.ASSIGN_UUID)
+    private String gpGoodsDetailId;
+
+    /** 商品ID外键(关联goods) */
+    private String goodsId;
+
+    /** 团购商品套餐具体内容商品ID(关联表gp_content_product) */
+    private String contentProductId;
+
+    /** 团购商品套餐内具体的商品数量 */
+    private Long contentProductQty;
+
+    /** 创建人ID */
+    private String createdBy;
+
+    /** 创建时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private String createdTime;
+
+    /** 更新/修改/删除人ID */
+    private String updatedBy;
+
+    /** 更新修改/删除时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private String updatedTime;
+
+    /** 删除标签(0-正常;1-已删除;默认0) */
+    private String delFlag;
+
+    /** 版本号(默认0) */
+    @Version
+    private Long version;
+
+
+
+}

+ 60 - 0
Source/group-platform/service/src/main/java/com/younike/service/pojo/GpGoodsImg.java

@@ -0,0 +1,60 @@
+package com.younike.service.pojo;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.younike.common.utils.poi.Excel;
+import lombok.Data;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.Version;
+import com.younike.common.core.domain.BaseEntity;
+
+/**
+ * 门店团购套餐商品图片				对象 gp_goods_img
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@Data
+public class GpGoodsImg extends BaseEntity {
+    private static final long serialVersionUID=1L;
+
+    /** 主记录ID */
+    @TableId(type = IdType.ASSIGN_UUID)
+    private String gpGoodsImgId;
+
+    /** 团购商品外键(表goods) */
+    private String goodsId;
+
+    /** 枚举:001-商品主图、002-商品宣传图 */
+    private String gpImgType;
+
+    /** 图片链接 */
+    private String gpImgUrl;
+
+    /** 创建人ID */
+    private String createdBy;
+
+    /** 创建时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private String createdTime;
+
+    /** 更新/修改/删除人ID */
+    private String updatedBy;
+
+    /** 更新修改/删除时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private String updatedTime;
+
+    /** 删除标签(0-正常;1-已删除;默认0) */
+    private String delFlag;
+
+    /** 版本号(默认0) */
+    @Version
+    private Long version;
+
+
+
+}

+ 93 - 0
Source/group-platform/service/src/main/java/com/younike/service/pojo/StoreEvaluate.java

@@ -0,0 +1,93 @@
+package com.younike.service.pojo;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.younike.common.utils.poi.Excel;
+import lombok.Data;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.Version;
+import com.younike.common.core.domain.BaseEntity;
+
+/**
+ * 门店评价							对象 store_evaluate
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@Data
+public class StoreEvaluate extends BaseEntity {
+    private static final long serialVersionUID=1L;
+
+    /** 主键 ID */
+    @TableId(type = IdType.ASSIGN_UUID)
+    private String evaluateId;
+
+    /** 店铺ID(关联store表) */
+    private String storeId;
+
+    /** 订单ID(关联order表) */
+    private String orderId;
+
+    /** 评价分类;枚举:001-好评、002-中评、003-差评 */
+    private String evaluateType;
+
+    /** 评价内容(文字描述) */
+    private String evaluateContent;
+
+    /** 评价人ID(关联表app_member) */
+    private Long evaluateBy;
+
+    /** 评价时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private String evaluateTime;
+
+    /** 评价是否匿名(0-不匿名;1-匿名;默认0)		 */
+    private String isEvaluateAnonymous;
+
+    /** 是否已回复(0-未回复;1-已回复;默认0)	 */
+    private String isReplied;
+
+    /** 回复人ID(店员表store_staff) */
+    private String repliedBy;
+
+    /** 回复时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private String repliedTime;
+
+    /** 回复内容 */
+    private String repliedContent;
+
+    /** 删除人ID (关联表app_member) */
+    private String delBy;
+
+    /** 删除时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private String delTime;
+
+    /** 删除标签(0-正常;1-已删除;默认0) */
+    private String delFlag;
+
+    /** 创建人ID */
+    private String createdBy;
+
+    /** 创建时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private String createdTime;
+
+    /** 更新/修改/删除人ID */
+    private String updatedBy;
+
+    /** 更新修改/删除时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private String updatedTime;
+
+    /** 版本号(默认0) */
+    @Version
+    private Long version;
+
+
+
+}

+ 60 - 0
Source/group-platform/service/src/main/java/com/younike/service/pojo/StoreEvaluateAttach.java

@@ -0,0 +1,60 @@
+package com.younike.service.pojo;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.younike.common.utils.poi.Excel;
+import lombok.Data;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.Version;
+import com.younike.common.core.domain.BaseEntity;
+
+/**
+ * 门店评价图片视频(主记录evaluate删除时,关联的附件直接删除)				对象 store_evaluate_attach
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@Data
+public class StoreEvaluateAttach extends BaseEntity {
+    private static final long serialVersionUID=1L;
+
+    /** 主记录 ID */
+    @TableId(type = IdType.ASSIGN_UUID)
+    private String evaluateAttachId;
+
+    /** 评价 ID(关联表store_evaluate) */
+    private String evaluateId;
+
+    /** 附件类型;001-图片、002-视频 */
+    private String evaluateAttachType;
+
+    /** 附件链接 */
+    private String evaluateAttachUrl;
+
+    /** 删除标签(0-正常;1-已删除;默认0) */
+    private String delFlag;
+
+    /** 创建人ID */
+    private String createdBy;
+
+    /** 创建时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private String createdTime;
+
+    /** 更新/修改/删除人ID */
+    private String updatedBy;
+
+    /** 更新修改/删除时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private String updatedTime;
+
+    /** 版本号(默认0) */
+    @Version
+    private Long version;
+
+
+
+}

+ 60 - 0
Source/group-platform/service/src/main/java/com/younike/service/pojo/StoreEvaluateReplyTemplate.java

@@ -0,0 +1,60 @@
+package com.younike.service.pojo;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.younike.common.utils.poi.Excel;
+import lombok.Data;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.Version;
+import com.younike.common.core.domain.BaseEntity;
+
+/**
+ * 门店评价回复模板				对象 store_evaluate_reply_template
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@Data
+public class StoreEvaluateReplyTemplate extends BaseEntity {
+    private static final long serialVersionUID=1L;
+
+    /** 主键 ID */
+    @TableId(type = IdType.ASSIGN_UUID)
+    private String evaluateReplyTemplateId;
+
+    /** 门店ID(关联store表) */
+    private String storeId;
+
+    /** 不同评价回复模板分类;枚举:001-好评回复模板、002-中评好评回复模板、003-差评好评回复模板 */
+    private String templateType;
+
+    /** 模板内容(文字描述) */
+    private String templateContent;
+
+    /** 删除标签(0-正常;1-已删除;默认0) */
+    private String delFlag;
+
+    /** 创建人ID */
+    private String createdBy;
+
+    /** 创建时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private String createdTime;
+
+    /** 更新/修改/删除人ID */
+    private String updatedBy;
+
+    /** 更新修改/删除时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private String updatedTime;
+
+    /** 版本号(默认0) */
+    @Version
+    private Long version;
+
+
+
+}

+ 60 - 0
Source/group-platform/service/src/main/java/com/younike/service/pojo/StorePopularGoods.java

@@ -0,0 +1,60 @@
+package com.younike.service.pojo;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.younike.common.utils.poi.Excel;
+import lombok.Data;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.Version;
+import com.younike.common.core.domain.BaseEntity;
+
+/**
+ * 门店推荐商品				对象 store_popular_goods
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@Data
+public class StorePopularGoods extends BaseEntity {
+    private static final long serialVersionUID=1L;
+
+    /** review ID */
+    @TableId(type = IdType.ASSIGN_UUID)
+    private String popularGoodsId;
+
+    /** 店铺ID(关联store表) */
+    private String storeId;
+
+    /** 店铺内商品ID(关联表gp_content_product) */
+    private String contentProductId;
+
+    /** 推荐次数 */
+    private Long recommendTimes;
+
+    /** 删除标签(0-正常;1-已删除;默认0) */
+    private String delFlag;
+
+    /** 创建人ID */
+    private String createdBy;
+
+    /** 创建时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private String createdTime;
+
+    /** 更新/修改/删除人ID */
+    private String updatedBy;
+
+    /** 更新修改/删除时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private String updatedTime;
+
+    /** 版本号(默认0) */
+    @Version
+    private Long version;
+
+
+
+}

+ 76 - 0
Source/group-platform/service/src/main/java/com/younike/service/pojo/StoreStaff.java

@@ -0,0 +1,76 @@
+package com.younike.service.pojo;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.younike.common.utils.poi.Excel;
+import lombok.Data;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.Version;
+import com.younike.common.core.domain.BaseEntity;
+
+/**
+ * 门店员工				对象 store_staff
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@Data
+public class StoreStaff extends BaseEntity {
+    private static final long serialVersionUID=1L;
+
+    /** 员工记录ID */
+    @TableId(type = IdType.ASSIGN_UUID)
+    private String storeStaffId;
+
+    /** 门店外键 */
+    private String storeId;
+
+    /** 门店创建人id(关联app_user表) */
+    private String appUserId;
+
+    /** 员工姓名 */
+    private String staffName;
+
+    /** 联系电话 */
+    private String staffPhone;
+
+    /** 入职日期 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private String enrollDate;
+
+    /** 角色ID(关联表store_staff_role) */
+    private String roleId;
+
+    /** 权限ID;枚举:只能核销验证码、可管理店铺所有配置 */
+    private String rightId;
+
+    /** 形象照 */
+    private String staffImgUrl;
+
+    /** 删除标签(0-正常;1-已删除;默认0) */
+    private String delFlag;
+
+    /** 创建人ID */
+    private String createdBy;
+
+    /** 创建时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private String createdTime;
+
+    /** 更新/修改/删除人ID */
+    private String updatedBy;
+
+    /** 更新修改/删除时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private String updatedTime;
+
+    /** 版本号(默认0) */
+    @Version
+    private Long version;
+
+
+
+}

+ 57 - 0
Source/group-platform/service/src/main/java/com/younike/service/pojo/StoreStaffRole.java

@@ -0,0 +1,57 @@
+package com.younike.service.pojo;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.younike.common.utils.poi.Excel;
+import lombok.Data;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.Version;
+import com.younike.common.core.domain.BaseEntity;
+
+/**
+ * 门店员工角色				对象 store_staff_role
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@Data
+public class StoreStaffRole extends BaseEntity {
+    private static final long serialVersionUID=1L;
+
+    /** 门店角色 ID */
+    @TableId(type = IdType.ASSIGN_UUID)
+    private String staffRoleId;
+
+    /** 门店外键 */
+    private String storeId;
+
+    /** 角色名称 */
+    private String roleName;
+
+    /** 删除标签(0-正常;1-已删除;默认0) */
+    private String delFlag;
+
+    /** 创建人ID */
+    private String createdBy;
+
+    /** 创建时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private String createdTime;
+
+    /** 更新/修改/删除人ID */
+    private String updatedBy;
+
+    /** 更新修改/删除时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private String updatedTime;
+
+    /** 版本号(默认0) */
+    @Version
+    private Long version;
+
+
+
+}

+ 23 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/IGoodsService.java

@@ -0,0 +1,23 @@
+package com.younike.service.service;
+
+import java.util.List;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.younike.service.pojo.Goods;
+import com.younike.common.core.page.PageParam;
+/**
+ * 门店商品				Service接口
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+public interface IGoodsService extends IService<Goods>{
+
+
+    /**
+     * 重写分页器
+     * @param pageParam
+     * @return
+     */
+    public PageParam<Goods> page(PageParam<Goods> pageParam);
+
+}

+ 23 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/IGpContentProductService.java

@@ -0,0 +1,23 @@
+package com.younike.service.service;
+
+import java.util.List;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.younike.service.pojo.GpContentProduct;
+import com.younike.common.core.page.PageParam;
+/**
+ * 门店套餐内容产品				Service接口
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+public interface IGpContentProductService extends IService<GpContentProduct>{
+
+
+    /**
+     * 重写分页器
+     * @param pageParam
+     * @return
+     */
+    public PageParam<GpContentProduct> page(PageParam<GpContentProduct> pageParam);
+
+}

+ 23 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/IGpGoodsDetailService.java

@@ -0,0 +1,23 @@
+package com.younike.service.service;
+
+import java.util.List;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.younike.service.pojo.GpGoodsDetail;
+import com.younike.common.core.page.PageParam;
+/**
+ * 门店团购(到店套餐)套餐明细				Service接口
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+public interface IGpGoodsDetailService extends IService<GpGoodsDetail>{
+
+
+    /**
+     * 重写分页器
+     * @param pageParam
+     * @return
+     */
+    public PageParam<GpGoodsDetail> page(PageParam<GpGoodsDetail> pageParam);
+
+}

+ 23 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/IGpGoodsImgService.java

@@ -0,0 +1,23 @@
+package com.younike.service.service;
+
+import java.util.List;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.younike.service.pojo.GpGoodsImg;
+import com.younike.common.core.page.PageParam;
+/**
+ * 门店团购套餐商品图片				Service接口
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+public interface IGpGoodsImgService extends IService<GpGoodsImg>{
+
+
+    /**
+     * 重写分页器
+     * @param pageParam
+     * @return
+     */
+    public PageParam<GpGoodsImg> page(PageParam<GpGoodsImg> pageParam);
+
+}

+ 23 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/IStoreEvaluateAttachService.java

@@ -0,0 +1,23 @@
+package com.younike.service.service;
+
+import java.util.List;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.younike.service.pojo.StoreEvaluateAttach;
+import com.younike.common.core.page.PageParam;
+/**
+ * 门店评价图片视频(主记录evaluate删除时,关联的附件直接删除)				Service接口
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+public interface IStoreEvaluateAttachService extends IService<StoreEvaluateAttach>{
+
+
+    /**
+     * 重写分页器
+     * @param pageParam
+     * @return
+     */
+    public PageParam<StoreEvaluateAttach> page(PageParam<StoreEvaluateAttach> pageParam);
+
+}

+ 23 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/IStoreEvaluateReplyTemplateService.java

@@ -0,0 +1,23 @@
+package com.younike.service.service;
+
+import java.util.List;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.younike.service.pojo.StoreEvaluateReplyTemplate;
+import com.younike.common.core.page.PageParam;
+/**
+ * 门店评价回复模板				Service接口
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+public interface IStoreEvaluateReplyTemplateService extends IService<StoreEvaluateReplyTemplate>{
+
+
+    /**
+     * 重写分页器
+     * @param pageParam
+     * @return
+     */
+    public PageParam<StoreEvaluateReplyTemplate> page(PageParam<StoreEvaluateReplyTemplate> pageParam);
+
+}

+ 23 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/IStoreEvaluateService.java

@@ -0,0 +1,23 @@
+package com.younike.service.service;
+
+import java.util.List;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.younike.service.pojo.StoreEvaluate;
+import com.younike.common.core.page.PageParam;
+/**
+ * 门店评价							Service接口
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+public interface IStoreEvaluateService extends IService<StoreEvaluate>{
+
+
+    /**
+     * 重写分页器
+     * @param pageParam
+     * @return
+     */
+    public PageParam<StoreEvaluate> page(PageParam<StoreEvaluate> pageParam);
+
+}

+ 23 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/IStorePopularGoodsService.java

@@ -0,0 +1,23 @@
+package com.younike.service.service;
+
+import java.util.List;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.younike.service.pojo.StorePopularGoods;
+import com.younike.common.core.page.PageParam;
+/**
+ * 门店推荐商品				Service接口
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+public interface IStorePopularGoodsService extends IService<StorePopularGoods>{
+
+
+    /**
+     * 重写分页器
+     * @param pageParam
+     * @return
+     */
+    public PageParam<StorePopularGoods> page(PageParam<StorePopularGoods> pageParam);
+
+}

+ 23 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/IStoreStaffRoleService.java

@@ -0,0 +1,23 @@
+package com.younike.service.service;
+
+import java.util.List;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.younike.service.pojo.StoreStaffRole;
+import com.younike.common.core.page.PageParam;
+/**
+ * 门店员工角色				Service接口
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+public interface IStoreStaffRoleService extends IService<StoreStaffRole>{
+
+
+    /**
+     * 重写分页器
+     * @param pageParam
+     * @return
+     */
+    public PageParam<StoreStaffRole> page(PageParam<StoreStaffRole> pageParam);
+
+}

+ 23 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/IStoreStaffService.java

@@ -0,0 +1,23 @@
+package com.younike.service.service;
+
+import java.util.List;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.younike.service.pojo.StoreStaff;
+import com.younike.common.core.page.PageParam;
+/**
+ * 门店员工				Service接口
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+public interface IStoreStaffService extends IService<StoreStaff>{
+
+
+    /**
+     * 重写分页器
+     * @param pageParam
+     * @return
+     */
+    public PageParam<StoreStaff> page(PageParam<StoreStaff> pageParam);
+
+}

+ 39 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/impl/GoodsServiceImpl.java

@@ -0,0 +1,39 @@
+package com.younike.service.service.impl;
+
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.younike.service.mapper.GoodsMapper;
+import com.younike.service.pojo.Goods;
+import com.younike.service.service.IGoodsService;
+import com.younike.common.core.page.PageParam;
+import org.springframework.stereotype.Service;
+import org.springframework.transaction.annotation.Transactional;
+
+/**
+ * 门店商品				Service业务层处理
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@Service
+@Transactional
+public class GoodsServiceImpl extends ServiceImpl<GoodsMapper, Goods> implements IGoodsService {
+
+
+    /**
+     * 自定义分页逻辑 这里就省略掉
+     * @param pageParam
+     * @return
+     */
+    @Override
+    public PageParam<Goods> page(PageParam<Goods> pageParam) {
+
+        PageParam<Goods> page = this.page(pageParam, new LambdaQueryWrapper<Goods>()
+                //.like(Printer::getName,pageParam.getParam().getName())
+                // 查询逻辑 适合单表 多表 重写XML查询
+        );
+
+        return page;
+    }
+
+}

+ 39 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/impl/GpContentProductServiceImpl.java

@@ -0,0 +1,39 @@
+package com.younike.service.service.impl;
+
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.younike.service.mapper.GpContentProductMapper;
+import com.younike.service.pojo.GpContentProduct;
+import com.younike.service.service.IGpContentProductService;
+import com.younike.common.core.page.PageParam;
+import org.springframework.stereotype.Service;
+import org.springframework.transaction.annotation.Transactional;
+
+/**
+ * 门店套餐内容产品				Service业务层处理
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@Service
+@Transactional
+public class GpContentProductServiceImpl extends ServiceImpl<GpContentProductMapper, GpContentProduct> implements IGpContentProductService {
+
+
+    /**
+     * 自定义分页逻辑 这里就省略掉
+     * @param pageParam
+     * @return
+     */
+    @Override
+    public PageParam<GpContentProduct> page(PageParam<GpContentProduct> pageParam) {
+
+        PageParam<GpContentProduct> page = this.page(pageParam, new LambdaQueryWrapper<GpContentProduct>()
+                //.like(Printer::getName,pageParam.getParam().getName())
+                // 查询逻辑 适合单表 多表 重写XML查询
+        );
+
+        return page;
+    }
+
+}

+ 39 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/impl/GpGoodsDetailServiceImpl.java

@@ -0,0 +1,39 @@
+package com.younike.service.service.impl;
+
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.younike.service.mapper.GpGoodsDetailMapper;
+import com.younike.service.pojo.GpGoodsDetail;
+import com.younike.service.service.IGpGoodsDetailService;
+import com.younike.common.core.page.PageParam;
+import org.springframework.stereotype.Service;
+import org.springframework.transaction.annotation.Transactional;
+
+/**
+ * 门店团购(到店套餐)套餐明细				Service业务层处理
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@Service
+@Transactional
+public class GpGoodsDetailServiceImpl extends ServiceImpl<GpGoodsDetailMapper, GpGoodsDetail> implements IGpGoodsDetailService {
+
+
+    /**
+     * 自定义分页逻辑 这里就省略掉
+     * @param pageParam
+     * @return
+     */
+    @Override
+    public PageParam<GpGoodsDetail> page(PageParam<GpGoodsDetail> pageParam) {
+
+        PageParam<GpGoodsDetail> page = this.page(pageParam, new LambdaQueryWrapper<GpGoodsDetail>()
+                //.like(Printer::getName,pageParam.getParam().getName())
+                // 查询逻辑 适合单表 多表 重写XML查询
+        );
+
+        return page;
+    }
+
+}

+ 39 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/impl/GpGoodsImgServiceImpl.java

@@ -0,0 +1,39 @@
+package com.younike.service.service.impl;
+
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.younike.service.mapper.GpGoodsImgMapper;
+import com.younike.service.pojo.GpGoodsImg;
+import org.springframework.stereotype.Service;
+import org.springframework.transaction.annotation.Transactional;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.younike.service.service.IGpGoodsImgService;
+import com.younike.common.core.page.PageParam;
+
+/**
+ * 门店团购套餐商品图片				Service业务层处理
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@Service
+@Transactional
+public class GpGoodsImgServiceImpl extends ServiceImpl<GpGoodsImgMapper, GpGoodsImg> implements IGpGoodsImgService {
+
+
+    /**
+     * 自定义分页逻辑 这里就省略掉
+     * @param pageParam
+     * @return
+     */
+    @Override
+    public PageParam<GpGoodsImg> page(PageParam<GpGoodsImg> pageParam) {
+
+        PageParam<GpGoodsImg> page = this.page(pageParam, new LambdaQueryWrapper<GpGoodsImg>()
+                //.like(Printer::getName,pageParam.getParam().getName())
+                // 查询逻辑 适合单表 多表 重写XML查询
+        );
+
+        return page;
+    }
+
+}

+ 39 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/impl/StoreEvaluateAttachServiceImpl.java

@@ -0,0 +1,39 @@
+package com.younike.service.service.impl;
+
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.younike.service.mapper.StoreEvaluateAttachMapper;
+import com.younike.service.pojo.StoreEvaluateAttach;
+import org.springframework.stereotype.Service;
+import org.springframework.transaction.annotation.Transactional;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.younike.service.service.IStoreEvaluateAttachService;
+import com.younike.common.core.page.PageParam;
+
+/**
+ * 门店评价图片视频(主记录evaluate删除时,关联的附件直接删除)				Service业务层处理
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@Service
+@Transactional
+public class StoreEvaluateAttachServiceImpl extends ServiceImpl<StoreEvaluateAttachMapper, StoreEvaluateAttach>  implements IStoreEvaluateAttachService {
+
+
+    /**
+     * 自定义分页逻辑 这里就省略掉
+     * @param pageParam
+     * @return
+     */
+    @Override
+    public PageParam<StoreEvaluateAttach> page(PageParam<StoreEvaluateAttach> pageParam) {
+
+        PageParam<StoreEvaluateAttach> page = this.page(pageParam, new LambdaQueryWrapper<StoreEvaluateAttach>()
+                //.like(Printer::getName,pageParam.getParam().getName())
+                // 查询逻辑 适合单表 多表 重写XML查询
+        );
+
+        return page;
+    }
+
+}

+ 39 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/impl/StoreEvaluateReplyTemplateServiceImpl.java

@@ -0,0 +1,39 @@
+package com.younike.service.service.impl;
+
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.younike.service.mapper.StoreEvaluateReplyTemplateMapper;
+import com.younike.service.pojo.StoreEvaluateReplyTemplate;
+import org.springframework.stereotype.Service;
+import org.springframework.transaction.annotation.Transactional;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.younike.service.service.IStoreEvaluateReplyTemplateService;
+import com.younike.common.core.page.PageParam;
+
+/**
+ * 门店评价回复模板				Service业务层处理
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@Service
+@Transactional
+public class StoreEvaluateReplyTemplateServiceImpl extends ServiceImpl<StoreEvaluateReplyTemplateMapper, StoreEvaluateReplyTemplate>  implements IStoreEvaluateReplyTemplateService {
+
+
+    /**
+     * 自定义分页逻辑 这里就省略掉
+     * @param pageParam
+     * @return
+     */
+    @Override
+    public PageParam<StoreEvaluateReplyTemplate> page(PageParam<StoreEvaluateReplyTemplate> pageParam) {
+
+        PageParam<StoreEvaluateReplyTemplate> page = this.page(pageParam, new LambdaQueryWrapper<StoreEvaluateReplyTemplate>()
+                //.like(Printer::getName,pageParam.getParam().getName())
+                // 查询逻辑 适合单表 多表 重写XML查询
+        );
+
+        return page;
+    }
+
+}

+ 39 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/impl/StoreEvaluateServiceImpl.java

@@ -0,0 +1,39 @@
+package com.younike.service.service.impl;
+
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.younike.service.mapper.StoreEvaluateMapper;
+import com.younike.service.pojo.StoreEvaluate;
+import org.springframework.stereotype.Service;
+import org.springframework.transaction.annotation.Transactional;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.younike.service.service.IStoreEvaluateService;
+import com.younike.common.core.page.PageParam;
+
+/**
+ * 门店评价							Service业务层处理
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@Service
+@Transactional
+public class StoreEvaluateServiceImpl extends ServiceImpl<StoreEvaluateMapper, StoreEvaluate>  implements IStoreEvaluateService {
+
+
+    /**
+     * 自定义分页逻辑 这里就省略掉
+     * @param pageParam
+     * @return
+     */
+    @Override
+    public PageParam<StoreEvaluate> page(PageParam<StoreEvaluate> pageParam) {
+
+        PageParam<StoreEvaluate> page = this.page(pageParam, new LambdaQueryWrapper<StoreEvaluate>()
+                //.like(Printer::getName,pageParam.getParam().getName())
+                // 查询逻辑 适合单表 多表 重写XML查询
+        );
+
+        return page;
+    }
+
+}

+ 39 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/impl/StorePopularGoodsServiceImpl.java

@@ -0,0 +1,39 @@
+package com.younike.service.service.impl;
+
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.younike.service.mapper.StorePopularGoodsMapper;
+import com.younike.service.pojo.StorePopularGoods;
+import org.springframework.stereotype.Service;
+import org.springframework.transaction.annotation.Transactional;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.younike.service.service.IStorePopularGoodsService;
+import com.younike.common.core.page.PageParam;
+
+/**
+ * 门店推荐商品				Service业务层处理
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@Service
+@Transactional
+public class StorePopularGoodsServiceImpl extends ServiceImpl<StorePopularGoodsMapper, StorePopularGoods>  implements IStorePopularGoodsService {
+
+
+    /**
+     * 自定义分页逻辑 这里就省略掉
+     * @param pageParam
+     * @return
+     */
+    @Override
+    public PageParam<StorePopularGoods> page(PageParam<StorePopularGoods> pageParam) {
+
+        PageParam<StorePopularGoods> page = this.page(pageParam, new LambdaQueryWrapper<StorePopularGoods>()
+                //.like(Printer::getName,pageParam.getParam().getName())
+                // 查询逻辑 适合单表 多表 重写XML查询
+        );
+
+        return page;
+    }
+
+}

+ 39 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/impl/StoreStaffRoleServiceImpl.java

@@ -0,0 +1,39 @@
+package com.younike.service.service.impl;
+
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.younike.service.mapper.StoreStaffRoleMapper;
+import com.younike.service.pojo.StoreStaffRole;
+import org.springframework.stereotype.Service;
+import org.springframework.transaction.annotation.Transactional;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.younike.service.service.IStoreStaffRoleService;
+import com.younike.common.core.page.PageParam;
+
+/**
+ * 门店员工角色				Service业务层处理
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@Service
+@Transactional
+public class StoreStaffRoleServiceImpl extends ServiceImpl<StoreStaffRoleMapper, StoreStaffRole>  implements IStoreStaffRoleService {
+
+
+    /**
+     * 自定义分页逻辑 这里就省略掉
+     * @param pageParam
+     * @return
+     */
+    @Override
+    public PageParam<StoreStaffRole> page(PageParam<StoreStaffRole> pageParam) {
+
+        PageParam<StoreStaffRole> page = this.page(pageParam, new LambdaQueryWrapper<StoreStaffRole>()
+                //.like(Printer::getName,pageParam.getParam().getName())
+                // 查询逻辑 适合单表 多表 重写XML查询
+        );
+
+        return page;
+    }
+
+}

+ 39 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/impl/StoreStaffServiceImpl.java

@@ -0,0 +1,39 @@
+package com.younike.service.service.impl;
+
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.younike.service.mapper.StoreStaffMapper;
+import com.younike.service.pojo.StoreStaff;
+import org.springframework.stereotype.Service;
+import org.springframework.transaction.annotation.Transactional;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.younike.service.service.IStoreStaffService;
+import com.younike.common.core.page.PageParam;
+
+/**
+ * 门店员工				Service业务层处理
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@Service
+@Transactional
+public class StoreStaffServiceImpl extends ServiceImpl<StoreStaffMapper, StoreStaff>  implements IStoreStaffService {
+
+
+    /**
+     * 自定义分页逻辑 这里就省略掉
+     * @param pageParam
+     * @return
+     */
+    @Override
+    public PageParam<StoreStaff> page(PageParam<StoreStaff> pageParam) {
+
+        PageParam<StoreStaff> page = this.page(pageParam, new LambdaQueryWrapper<StoreStaff>()
+                //.like(Printer::getName,pageParam.getParam().getName())
+                // 查询逻辑 适合单表 多表 重写XML查询
+        );
+
+        return page;
+    }
+
+}

+ 44 - 0
Source/group-platform/service/src/main/resources/mapper/system/GoodsMapper.xml

@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.younike.service.mapper.GoodsMapper">
+
+    <resultMap type="com.younike.service.pojo.Goods" id="GoodsResult">
+        <result property="goodsId" column="goods_id"/>
+        <result property="storeId" column="store_id"/>
+        <result property="goodsType" column="goods_type"/>
+        <result property="goodsName" column="goods_name"/>
+        <result property="retailPrice" column="retail_price"/>
+        <result property="salePrice" column="sale_price"/>
+        <result property="maxBuyQtyPerPerson" column="max_buy_qty_per_person"/>
+        <result property="maxUseQtyPerOrder" column="max_use_qty_per_order"/>
+        <result property="validFrom" column="valid_from"/>
+        <result property="validUntil" column="valid_until"/>
+        <result property="isHolidayRestricted" column="is_holiday_restricted"/>
+        <result property="validScope" column="valid_scope"/>
+        <result property="commonRules" column="common_rules"/>
+        <result property="stockQty" column="stock_qty"/>
+        <result property="soldQty" column="sold_qty"/>
+        <result property="sortOrder" column="sort_order"/>
+        <result property="shelveStatus" column="shelve_status"/>
+        <result property="shelveStatusUpdatedBy" column="shelve_status_updated_by"/>
+        <result property="shelveStatusUpdatedTime" column="shelve_status_updated_time"/>
+        <result property="delFlag" column="del_flag"/>
+        <result property="createdBy" column="created_by"/>
+        <result property="createdTime" column="created_time"/>
+        <result property="updatedBy" column="updated_by"/>
+        <result property="updatedTime" column="updated_time"/>
+        <result property="version" column="version"/>
+        <result property="remark" column="remark"/>
+    </resultMap>
+
+
+
+
+    <sql id="selectGoodsVo">
+        select goods_id, store_id, goods_type, goods_name, retail_price, sale_price, max_buy_qty_per_person, max_use_qty_per_order, valid_from, valid_until, is_holiday_restricted, valid_scope, common_rules, stock_qty, sold_qty, sort_order, shelve_status, shelve_status_updated_by, shelve_status_updated_time, del_flag, created_by, created_time, updated_by, updated_time, version, remark from goods
+    </sql>
+
+
+</mapper>

+ 30 - 0
Source/group-platform/service/src/main/resources/mapper/system/GpContentProductMapper.xml

@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.younike.service.mapper.GpContentProductMapper">
+
+    <resultMap type="com.younike.service.pojo.GpContentProduct" id="GpContentProductResult">
+        <result property="contentProductId" column="content_product_id"/>
+        <result property="storeId" column="store_id"/>
+        <result property="productName" column="product_name"/>
+        <result property="productPrice" column="product_price"/>
+        <result property="productImgUrl" column="product_img_url"/>
+        <result property="delFlag" column="del_flag"/>
+        <result property="createdBy" column="created_by"/>
+        <result property="createdTime" column="created_time"/>
+        <result property="updatedBy" column="updated_by"/>
+        <result property="updatedTime" column="updated_time"/>
+        <result property="version" column="version"/>
+        <result property="remark" column="remark"/>
+    </resultMap>
+
+
+
+
+    <sql id="selectGpContentProductVo">
+        select content_product_id, store_id, product_name, product_price, product_img_url, del_flag, created_by, created_time, updated_by, updated_time, version, remark from gp_content_product
+    </sql>
+
+
+</mapper>

+ 29 - 0
Source/group-platform/service/src/main/resources/mapper/system/GpGoodsDetailMapper.xml

@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.younike.service.mapper.GpGoodsDetailMapper">
+
+    <resultMap type="com.younike.service.pojo.GpGoodsDetail" id="GpGoodsDetailResult">
+        <result property="gpGoodsDetailId" column="gp_goods_detail_id"/>
+        <result property="goodsId" column="goods_id"/>
+        <result property="contentProductId" column="content_product_id"/>
+        <result property="contentProductQty" column="content_product_qty"/>
+        <result property="createdBy" column="created_by"/>
+        <result property="createdTime" column="created_time"/>
+        <result property="updatedBy" column="updated_by"/>
+        <result property="updatedTime" column="updated_time"/>
+        <result property="delFlag" column="del_flag"/>
+        <result property="version" column="version"/>
+        <result property="remark" column="remark"/>
+    </resultMap>
+
+
+
+
+    <sql id="selectGpGoodsDetailVo">
+        select gp_goods_detail_id, goods_id, content_product_id, content_product_qty, created_by, created_time, updated_by, updated_time, del_flag, version, remark from gp_goods_detail
+    </sql>
+
+
+</mapper>

+ 29 - 0
Source/group-platform/service/src/main/resources/mapper/system/GpGoodsImgMapper.xml

@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.younike.service.mapper.GpGoodsImgMapper">
+
+    <resultMap type="com.younike.service.pojo.GpGoodsImg" id="GpGoodsImgResult">
+        <result property="gpGoodsImgId" column="gp_goods_img_id"/>
+        <result property="goodsId" column="goods_id"/>
+        <result property="gpImgType" column="gp_img_type"/>
+        <result property="gpImgUrl" column="gp_img_url"/>
+        <result property="createdBy" column="created_by"/>
+        <result property="createdTime" column="created_time"/>
+        <result property="updatedBy" column="updated_by"/>
+        <result property="updatedTime" column="updated_time"/>
+        <result property="delFlag" column="del_flag"/>
+        <result property="version" column="version"/>
+        <result property="remark" column="remark"/>
+    </resultMap>
+
+
+
+
+    <sql id="selectGpGoodsImgVo">
+        select gp_goods_img_id, goods_id, gp_img_type, gp_img_url, created_by, created_time, updated_by, updated_time, del_flag, version, remark from gp_goods_img
+    </sql>
+
+
+</mapper>

+ 29 - 0
Source/group-platform/service/src/main/resources/mapper/system/StoreEvaluateAttachMapper.xml

@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.younike.service.mapper.StoreEvaluateAttachMapper">
+
+    <resultMap type="com.younike.service.pojo.StoreEvaluateAttach" id="StoreEvaluateAttachResult">
+        <result property="evaluateAttachId" column="evaluate_attach_id"/>
+        <result property="evaluateId" column="evaluate_id"/>
+        <result property="evaluateAttachType" column="evaluate_attach_type"/>
+        <result property="evaluateAttachUrl" column="evaluate_attach_url"/>
+        <result property="delFlag" column="del_flag"/>
+        <result property="createdBy" column="created_by"/>
+        <result property="createdTime" column="created_time"/>
+        <result property="updatedBy" column="updated_by"/>
+        <result property="updatedTime" column="updated_time"/>
+        <result property="version" column="version"/>
+        <result property="remark" column="remark"/>
+    </resultMap>
+
+
+
+
+    <sql id="selectStoreEvaluateAttachVo">
+        select evaluate_attach_id, evaluate_id, evaluate_attach_type, evaluate_attach_url, del_flag, created_by, created_time, updated_by, updated_time, version, remark from store_evaluate_attach
+    </sql>
+
+
+</mapper>

+ 39 - 0
Source/group-platform/service/src/main/resources/mapper/system/StoreEvaluateMapper.xml

@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.younike.service.mapper.StoreEvaluateMapper">
+
+    <resultMap type="com.younike.service.pojo.StoreEvaluate" id="StoreEvaluateResult">
+        <result property="evaluateId" column="evaluate_id"/>
+        <result property="storeId" column="store_id"/>
+        <result property="orderId" column="order_id"/>
+        <result property="evaluateType" column="evaluate_type"/>
+        <result property="evaluateContent" column="evaluate_content"/>
+        <result property="evaluateBy" column="evaluate_by"/>
+        <result property="evaluateTime" column="evaluate_time"/>
+        <result property="isEvaluateAnonymous" column="is_evaluate_anonymous"/>
+        <result property="isReplied" column="is_replied"/>
+        <result property="repliedBy" column="replied_by"/>
+        <result property="repliedTime" column="replied_time"/>
+        <result property="repliedContent" column="replied_content"/>
+        <result property="delBy" column="del_by"/>
+        <result property="delTime" column="del_time"/>
+        <result property="delFlag" column="del_flag"/>
+        <result property="createdBy" column="created_by"/>
+        <result property="createdTime" column="created_time"/>
+        <result property="updatedBy" column="updated_by"/>
+        <result property="updatedTime" column="updated_time"/>
+        <result property="version" column="version"/>
+        <result property="remark" column="remark"/>
+    </resultMap>
+
+
+
+
+    <sql id="selectStoreEvaluateVo">
+        select evaluate_id, store_id, order_id, evaluate_type, evaluate_content, evaluate_by, evaluate_time, is_evaluate_anonymous, is_replied, replied_by, replied_time, replied_content, del_by, del_time, del_flag, created_by, created_time, updated_by, updated_time, version, remark from store_evaluate
+    </sql>
+
+
+</mapper>

+ 29 - 0
Source/group-platform/service/src/main/resources/mapper/system/StoreEvaluateReplyTemplateMapper.xml

@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.younike.service.mapper.StoreEvaluateReplyTemplateMapper">
+
+    <resultMap type="com.younike.service.pojo.StoreEvaluateReplyTemplate" id="StoreEvaluateReplyTemplateResult">
+        <result property="evaluateReplyTemplateId" column="evaluate_reply_template_id"/>
+        <result property="storeId" column="store_id"/>
+        <result property="templateType" column="template_type"/>
+        <result property="templateContent" column="template_content"/>
+        <result property="delFlag" column="del_flag"/>
+        <result property="createdBy" column="created_by"/>
+        <result property="createdTime" column="created_time"/>
+        <result property="updatedBy" column="updated_by"/>
+        <result property="updatedTime" column="updated_time"/>
+        <result property="version" column="version"/>
+        <result property="remark" column="remark"/>
+    </resultMap>
+
+
+
+
+    <sql id="selectStoreEvaluateReplyTemplateVo">
+        select evaluate_reply_template_id, store_id, template_type, template_content, del_flag, created_by, created_time, updated_by, updated_time, version, remark from store_evaluate_reply_template
+    </sql>
+
+
+</mapper>

+ 29 - 0
Source/group-platform/service/src/main/resources/mapper/system/StorePopularGoodsMapper.xml

@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.younike.service.mapper.StorePopularGoodsMapper">
+
+    <resultMap type="com.younike.service.pojo.StorePopularGoods" id="StorePopularGoodsResult">
+        <result property="popularGoodsId" column="popular_goods_id"/>
+        <result property="storeId" column="store_id"/>
+        <result property="contentProductId" column="content_product_id"/>
+        <result property="recommendTimes" column="recommend_times"/>
+        <result property="delFlag" column="del_flag"/>
+        <result property="createdBy" column="created_by"/>
+        <result property="createdTime" column="created_time"/>
+        <result property="updatedBy" column="updated_by"/>
+        <result property="updatedTime" column="updated_time"/>
+        <result property="version" column="version"/>
+        <result property="remark" column="remark"/>
+    </resultMap>
+
+
+
+
+    <sql id="selectStorePopularGoodsVo">
+        select popular_goods_id, store_id, content_product_id, recommend_times, del_flag, created_by, created_time, updated_by, updated_time, version, remark from store_popular_goods
+    </sql>
+
+
+</mapper>

+ 34 - 0
Source/group-platform/service/src/main/resources/mapper/system/StoreStaffMapper.xml

@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.younike.service.mapper.StoreStaffMapper">
+
+    <resultMap type="com.younike.service.pojo.StoreStaff" id="StoreStaffResult">
+        <result property="storeStaffId" column="store_staff_id"/>
+        <result property="storeId" column="store_id"/>
+        <result property="appUserId" column="app_user_id"/>
+        <result property="staffName" column="staff_name"/>
+        <result property="staffPhone" column="staff_phone"/>
+        <result property="enrollDate" column="enroll_date"/>
+        <result property="roleId" column="role_id"/>
+        <result property="rightId" column="right_id"/>
+        <result property="staffImgUrl" column="staff_img_url"/>
+        <result property="delFlag" column="del_flag"/>
+        <result property="createdBy" column="created_by"/>
+        <result property="createdTime" column="created_time"/>
+        <result property="updatedBy" column="updated_by"/>
+        <result property="updatedTime" column="updated_time"/>
+        <result property="version" column="version"/>
+        <result property="remark" column="remark"/>
+    </resultMap>
+
+
+
+
+    <sql id="selectStoreStaffVo">
+        select store_staff_id, store_id, app_user_id, staff_name, staff_phone, enroll_date, role_id, right_id, staff_img_url, del_flag, created_by, created_time, updated_by, updated_time, version, remark from store_staff
+    </sql>
+
+
+</mapper>

+ 28 - 0
Source/group-platform/service/src/main/resources/mapper/system/StoreStaffRoleMapper.xml

@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+        PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+        "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.younike.service.mapper.StoreStaffRoleMapper">
+
+    <resultMap type="com.younike.service.pojo.StoreStaffRole" id="StoreStaffRoleResult">
+        <result property="staffRoleId" column="staff_role_id"/>
+        <result property="storeId" column="store_id"/>
+        <result property="roleName" column="role_name"/>
+        <result property="delFlag" column="del_flag"/>
+        <result property="createdBy" column="created_by"/>
+        <result property="createdTime" column="created_time"/>
+        <result property="updatedBy" column="updated_by"/>
+        <result property="updatedTime" column="updated_time"/>
+        <result property="version" column="version"/>
+        <result property="remark" column="remark"/>
+    </resultMap>
+
+
+
+
+    <sql id="selectStoreStaffRoleVo">
+        select staff_role_id, store_id, role_name, del_flag, created_by, created_time, updated_by, updated_time, version, remark from store_staff_role
+    </sql>
+
+
+</mapper>