Forráskód Böngészése

Merge branch 'cym_dev' into dev

Cuiyongming 2 éve
szülő
commit
0a139e0351
54 módosított fájl, 2404 hozzáadás és 0 törlés
  1. 88 0
      Source/group-platform/admin/src/main/java/com/younike/store/controller/BaseAllocationController.java
  2. 88 0
      Source/group-platform/admin/src/main/java/com/younike/store/controller/IndexBannerController.java
  3. 88 0
      Source/group-platform/admin/src/main/java/com/younike/store/controller/StoreAllocationController.java
  4. 86 0
      Source/group-platform/admin/src/main/java/com/younike/store/controller/StoreAuditLogController.java
  5. 88 0
      Source/group-platform/admin/src/main/java/com/younike/store/controller/StoreBizController.java
  6. 88 0
      Source/group-platform/admin/src/main/java/com/younike/store/controller/StoreBizHourController.java
  7. 88 0
      Source/group-platform/admin/src/main/java/com/younike/store/controller/StoreCategoryController.java
  8. 87 0
      Source/group-platform/admin/src/main/java/com/younike/store/controller/StoreController.java
  9. 88 0
      Source/group-platform/admin/src/main/java/com/younike/store/controller/StoreImageController.java
  10. 15 0
      Source/group-platform/service/src/main/java/com/younike/service/mapper/BaseAllocationMapper.java
  11. 15 0
      Source/group-platform/service/src/main/java/com/younike/service/mapper/IndexBannerMapper.java
  12. 15 0
      Source/group-platform/service/src/main/java/com/younike/service/mapper/StoreAllocationMapper.java
  13. 15 0
      Source/group-platform/service/src/main/java/com/younike/service/mapper/StoreAuditLogMapper.java
  14. 15 0
      Source/group-platform/service/src/main/java/com/younike/service/mapper/StoreBizHourMapper.java
  15. 15 0
      Source/group-platform/service/src/main/java/com/younike/service/mapper/StoreBizMapper.java
  16. 15 0
      Source/group-platform/service/src/main/java/com/younike/service/mapper/StoreCategoryMapper.java
  17. 15 0
      Source/group-platform/service/src/main/java/com/younike/service/mapper/StoreImageMapper.java
  18. 15 0
      Source/group-platform/service/src/main/java/com/younike/service/mapper/StoreMapper.java
  19. 57 0
      Source/group-platform/service/src/main/java/com/younike/service/pojo/BaseAllocation.java
  20. 54 0
      Source/group-platform/service/src/main/java/com/younike/service/pojo/IndexBanner.java
  21. 102 0
      Source/group-platform/service/src/main/java/com/younike/service/pojo/Store.java
  22. 57 0
      Source/group-platform/service/src/main/java/com/younike/service/pojo/StoreAllocation.java
  23. 63 0
      Source/group-platform/service/src/main/java/com/younike/service/pojo/StoreAuditLog.java
  24. 73 0
      Source/group-platform/service/src/main/java/com/younike/service/pojo/StoreBiz.java
  25. 65 0
      Source/group-platform/service/src/main/java/com/younike/service/pojo/StoreBizHour.java
  26. 75 0
      Source/group-platform/service/src/main/java/com/younike/service/pojo/StoreCategory.java
  27. 56 0
      Source/group-platform/service/src/main/java/com/younike/service/pojo/StoreImage.java
  28. 23 0
      Source/group-platform/service/src/main/java/com/younike/service/service/IBaseAllocationService.java
  29. 23 0
      Source/group-platform/service/src/main/java/com/younike/service/service/IIndexBannerService.java
  30. 23 0
      Source/group-platform/service/src/main/java/com/younike/service/service/IStoreAllocationService.java
  31. 23 0
      Source/group-platform/service/src/main/java/com/younike/service/service/IStoreAuditLogService.java
  32. 23 0
      Source/group-platform/service/src/main/java/com/younike/service/service/IStoreBizHourService.java
  33. 23 0
      Source/group-platform/service/src/main/java/com/younike/service/service/IStoreBizService.java
  34. 23 0
      Source/group-platform/service/src/main/java/com/younike/service/service/IStoreCategoryService.java
  35. 23 0
      Source/group-platform/service/src/main/java/com/younike/service/service/IStoreImageService.java
  36. 23 0
      Source/group-platform/service/src/main/java/com/younike/service/service/IStoreService.java
  37. 39 0
      Source/group-platform/service/src/main/java/com/younike/service/service/impl/BaseAllocationServiceImpl.java
  38. 40 0
      Source/group-platform/service/src/main/java/com/younike/service/service/impl/IndexBannerServiceImpl.java
  39. 38 0
      Source/group-platform/service/src/main/java/com/younike/service/service/impl/StoreAllocationServiceImpl.java
  40. 40 0
      Source/group-platform/service/src/main/java/com/younike/service/service/impl/StoreAuditLogServiceImpl.java
  41. 40 0
      Source/group-platform/service/src/main/java/com/younike/service/service/impl/StoreBizHourServiceImpl.java
  42. 40 0
      Source/group-platform/service/src/main/java/com/younike/service/service/impl/StoreBizServiceImpl.java
  43. 38 0
      Source/group-platform/service/src/main/java/com/younike/service/service/impl/StoreCategoryServiceImpl.java
  44. 38 0
      Source/group-platform/service/src/main/java/com/younike/service/service/impl/StoreImageServiceImpl.java
  45. 40 0
      Source/group-platform/service/src/main/java/com/younike/service/service/impl/StoreServiceImpl.java
  46. 28 0
      Source/group-platform/service/src/main/resources/mapper/system/BaseAllocationMapper.xml
  47. 27 0
      Source/group-platform/service/src/main/resources/mapper/system/IndexBannerMapper.xml
  48. 28 0
      Source/group-platform/service/src/main/resources/mapper/system/StoreAllocationMapper.xml
  49. 39 0
      Source/group-platform/service/src/main/resources/mapper/system/StoreAuditLogMapper.xml
  50. 30 0
      Source/group-platform/service/src/main/resources/mapper/system/StoreBizHourMapper.xml
  51. 33 0
      Source/group-platform/service/src/main/resources/mapper/system/StoreBizMapper.xml
  52. 34 0
      Source/group-platform/service/src/main/resources/mapper/system/StoreCategoryMapper.xml
  53. 35 0
      Source/group-platform/service/src/main/resources/mapper/system/StoreImageMapper.xml
  54. 64 0
      Source/group-platform/service/src/main/resources/mapper/system/StoreMapper.xml

+ 88 - 0
Source/group-platform/admin/src/main/java/com/younike/store/controller/BaseAllocationController.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.BaseAllocation;
+import com.younike.service.service.IBaseAllocationService;
+import com.younike.common.core.page.TableResult;
+
+/**
+ * 门店基础配置Controller
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@RestController
+@RequestMapping("/baseAllocation")
+public class BaseAllocationController extends BaseController {
+    @Autowired
+    private IBaseAllocationService baseAllocationService;
+
+    /**
+     * 查询门店基础配置列表
+     */
+    @RequiresPermissions("allocation:list")
+    @PostMapping("/list")
+    public Page list(@RequestBody PageParam<BaseAllocation> page) {
+
+        return baseAllocationService.page(page);
+    }
+
+
+    /**
+     * 获取门店基础配置详细信息
+     */
+    @RequiresPermissions("allocation:query")
+    @GetMapping(value = "/{baseAllocationId}")
+    public APIResult getInfo(@PathVariable("baseAllocationId") String baseAllocationId) {
+        return ResultGenerator.getSuccessResult(baseAllocationService.getById(baseAllocationId));
+    }
+
+    /**
+     * 新增门店基础配置
+     */
+    @RequiresPermissions("allocation:add")
+    @OpLog(title = "门店基础配置", type = BusinessType.INSERT)
+    @PostMapping
+    public APIResult add(@RequestBody BaseAllocation baseAllocation) {
+        return ResultGenerator.getSuccessResult(baseAllocationService.save(baseAllocation));
+    }
+
+    /**
+     * 修改门店基础配置
+     */
+    @RequiresPermissions("allocation:edit")
+    @OpLog(title = "门店基础配置", type = BusinessType.UPDATE)
+    @PutMapping
+    public APIResult edit(@RequestBody BaseAllocation baseAllocation) {
+        return ResultGenerator.getSuccessResult(baseAllocationService.updateById(baseAllocation));
+    }
+
+    /**
+     * 删除门店基础配置
+     */
+    @RequiresPermissions("allocation:remove")
+    @OpLog(title = "门店基础配置", type = BusinessType.DELETE)
+    @DeleteMapping("/{baseAllocationIds}")
+    public APIResult remove(@PathVariable List<String> baseAllocationIds) {
+        return ResultGenerator.getSuccessResult(baseAllocationService.removeByIds(baseAllocationIds));
+    }
+}

+ 88 - 0
Source/group-platform/admin/src/main/java/com/younike/store/controller/IndexBannerController.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.IndexBanner;
+import com.younike.service.service.IIndexBannerService;
+import com.younike.common.core.page.TableResult;
+
+/**
+ * 首页轮播Controller
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@RestController
+@RequestMapping("/indexBanner")
+public class IndexBannerController extends BaseController {
+    @Autowired
+    private IIndexBannerService indexBannerService;
+
+    /**
+     * 查询首页轮播列表
+     */
+    @RequiresPermissions("banner:list")
+    @PostMapping("/list")
+    public Page list(@RequestBody PageParam<IndexBanner> page) {
+
+        return indexBannerService.page(page);
+    }
+
+
+    /**
+     * 获取首页轮播详细信息
+     */
+    @RequiresPermissions("banner:query")
+    @GetMapping(value = "/{indexBannerId}")
+    public APIResult getInfo(@PathVariable("indexBannerId") String indexBannerId) {
+        return ResultGenerator.getSuccessResult(indexBannerService.getById(indexBannerId));
+    }
+
+    /**
+     * 新增首页轮播
+     */
+    @RequiresPermissions("banner:add")
+    @OpLog(title = "首页轮播", type = BusinessType.INSERT)
+    @PostMapping
+    public APIResult add(@RequestBody IndexBanner indexBanner) {
+        return ResultGenerator.getSuccessResult(indexBannerService.save(indexBanner));
+    }
+
+    /**
+     * 修改首页轮播
+     */
+    @RequiresPermissions("banner:edit")
+    @OpLog(title = "首页轮播", type = BusinessType.UPDATE)
+    @PutMapping
+    public APIResult edit(@RequestBody IndexBanner indexBanner) {
+        return ResultGenerator.getSuccessResult(indexBannerService.updateById(indexBanner));
+    }
+
+    /**
+     * 删除首页轮播
+     */
+    @RequiresPermissions("banner:remove")
+    @OpLog(title = "首页轮播", type = BusinessType.DELETE)
+    @DeleteMapping("/{indexBannerIds}")
+    public APIResult remove(@PathVariable List<String> indexBannerIds) {
+        return ResultGenerator.getSuccessResult(indexBannerService.removeByIds(indexBannerIds));
+    }
+}

+ 88 - 0
Source/group-platform/admin/src/main/java/com/younike/store/controller/StoreAllocationController.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.StoreAllocation;
+import com.younike.service.service.IStoreAllocationService;
+import com.younike.common.core.page.TableResult;
+
+/**
+ * 门店配置关联Controller
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@RestController
+@RequestMapping("/storeAllocation")
+public class StoreAllocationController extends BaseController {
+    @Autowired
+    private IStoreAllocationService storeAllocationService;
+
+    /**
+     * 查询门店配置关联列表
+     */
+    @RequiresPermissions("allocation:list")
+    @PostMapping("/list")
+    public Page list(@RequestBody PageParam<StoreAllocation> page) {
+
+        return storeAllocationService.page(page);
+    }
+
+
+    /**
+     * 获取门店配置关联详细信息
+     */
+    @RequiresPermissions("allocation:query")
+    @GetMapping(value = "/{storeAllocationId}")
+    public APIResult getInfo(@PathVariable("storeAllocationId") String storeAllocationId) {
+        return ResultGenerator.getSuccessResult(storeAllocationService.getById(storeAllocationId));
+    }
+
+    /**
+     * 新增门店配置关联
+     */
+    @RequiresPermissions("allocation:add")
+    @OpLog(title = "门店配置关联", type = BusinessType.INSERT)
+    @PostMapping
+    public APIResult add(@RequestBody StoreAllocation storeAllocation) {
+        return ResultGenerator.getSuccessResult(storeAllocationService.save(storeAllocation));
+    }
+
+    /**
+     * 修改门店配置关联
+     */
+    @RequiresPermissions("allocation:edit")
+    @OpLog(title = "门店配置关联", type = BusinessType.UPDATE)
+    @PutMapping
+    public APIResult edit(@RequestBody StoreAllocation storeAllocation) {
+        return ResultGenerator.getSuccessResult(storeAllocationService.updateById(storeAllocation));
+    }
+
+    /**
+     * 删除门店配置关联
+     */
+    @RequiresPermissions("allocation:remove")
+    @OpLog(title = "门店配置关联", type = BusinessType.DELETE)
+    @DeleteMapping("/{storeAllocationIds}")
+    public APIResult remove(@PathVariable List<String> storeAllocationIds) {
+        return ResultGenerator.getSuccessResult(storeAllocationService.removeByIds(storeAllocationIds));
+    }
+}

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

@@ -0,0 +1,86 @@
+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.constant.BusinessType;
+import com.younike.service.pojo.StoreAuditLog;
+import com.younike.service.service.IStoreAuditLogService;
+
+/**
+ * 门店资质审核记录Controller
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@RestController
+@RequestMapping("/storeAuditLog")
+public class StoreAuditLogController extends BaseController {
+    @Autowired
+    private IStoreAuditLogService storeAuditLogService;
+
+    /**
+     * 查询门店资质审核记录列表
+     */
+    @RequiresPermissions("log:list")
+    @PostMapping("/list")
+    public Page list(@RequestBody PageParam<StoreAuditLog> page) {
+
+        return storeAuditLogService.page(page);
+    }
+
+
+    /**
+     * 获取门店资质审核记录详细信息
+     */
+    @RequiresPermissions("log:query")
+    @GetMapping(value = "/{storeAuditLogId}")
+    public APIResult getInfo(@PathVariable("storeAuditLogId") String storeAuditLogId) {
+        return ResultGenerator.getSuccessResult(storeAuditLogService.getById(storeAuditLogId));
+    }
+
+    /**
+     * 新增门店资质审核记录
+     */
+    @RequiresPermissions("log:add")
+    @OpLog(title = "门店资质审核记录", type = BusinessType.INSERT)
+    @PostMapping
+    public APIResult add(@RequestBody StoreAuditLog storeAuditLog) {
+        return ResultGenerator.getSuccessResult(storeAuditLogService.save(storeAuditLog));
+    }
+
+    /**
+     * 修改门店资质审核记录
+     */
+    @RequiresPermissions("log:edit")
+    @OpLog(title = "门店资质审核记录", type = BusinessType.UPDATE)
+    @PutMapping
+    public APIResult edit(@RequestBody StoreAuditLog storeAuditLog) {
+        return ResultGenerator.getSuccessResult(storeAuditLogService.updateById(storeAuditLog));
+    }
+
+    /**
+     * 删除门店资质审核记录
+     */
+    @RequiresPermissions("log:remove")
+    @OpLog(title = "门店资质审核记录", type = BusinessType.DELETE)
+    @DeleteMapping("/{storeAuditLogIds}")
+    public APIResult remove(@PathVariable List<String> storeAuditLogIds) {
+        return ResultGenerator.getSuccessResult(storeAuditLogService.removeByIds(storeAuditLogIds));
+    }
+}

+ 88 - 0
Source/group-platform/admin/src/main/java/com/younike/store/controller/StoreBizController.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.StoreBiz;
+import com.younike.service.service.IStoreBizService;
+import com.younike.common.core.page.TableResult;
+
+/**
+ * 门店经营信息Controller
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@RestController
+@RequestMapping("/storeBiz")
+public class StoreBizController extends BaseController {
+    @Autowired
+    private IStoreBizService storeBizService;
+
+    /**
+     * 查询门店经营信息列表
+     */
+    @RequiresPermissions("biz:list")
+    @PostMapping("/list")
+    public Page list(@RequestBody PageParam<StoreBiz> page) {
+
+        return storeBizService.page(page);
+    }
+
+
+    /**
+     * 获取门店经营信息详细信息
+     */
+    @RequiresPermissions("biz:query")
+    @GetMapping(value = "/{storeBizId}")
+    public APIResult getInfo(@PathVariable("storeBizId") String storeBizId) {
+        return ResultGenerator.getSuccessResult(storeBizService.getById(storeBizId));
+    }
+
+    /**
+     * 新增门店经营信息
+     */
+    @RequiresPermissions("biz:add")
+    @OpLog(title = "门店经营信息", type = BusinessType.INSERT)
+    @PostMapping
+    public APIResult add(@RequestBody StoreBiz storeBiz) {
+        return ResultGenerator.getSuccessResult(storeBizService.save(storeBiz));
+    }
+
+    /**
+     * 修改门店经营信息
+     */
+    @RequiresPermissions("biz:edit")
+    @OpLog(title = "门店经营信息", type = BusinessType.UPDATE)
+    @PutMapping
+    public APIResult edit(@RequestBody StoreBiz storeBiz) {
+        return ResultGenerator.getSuccessResult(storeBizService.updateById(storeBiz));
+    }
+
+    /**
+     * 删除门店经营信息
+     */
+    @RequiresPermissions("biz:remove")
+    @OpLog(title = "门店经营信息", type = BusinessType.DELETE)
+    @DeleteMapping("/{storeBizIds}")
+    public APIResult remove(@PathVariable List<String> storeBizIds) {
+        return ResultGenerator.getSuccessResult(storeBizService.removeByIds(storeBizIds));
+    }
+}

+ 88 - 0
Source/group-platform/admin/src/main/java/com/younike/store/controller/StoreBizHourController.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.StoreBizHour;
+import com.younike.service.service.IStoreBizHourService;
+import com.younike.common.core.page.TableResult;
+
+/**
+ * 门店经营信息Controller
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@RestController
+@RequestMapping("/storeBizHour")
+public class StoreBizHourController extends BaseController {
+    @Autowired
+    private IStoreBizHourService storeBizHourService;
+
+    /**
+     * 查询门店经营信息列表
+     */
+    @RequiresPermissions("hour:list")
+    @PostMapping("/list")
+    public Page list(@RequestBody PageParam<StoreBizHour> page) {
+
+        return storeBizHourService.page(page);
+    }
+
+
+    /**
+     * 获取门店经营信息详细信息
+     */
+    @RequiresPermissions("hour:query")
+    @GetMapping(value = "/{storeBizHourId}")
+    public APIResult getInfo(@PathVariable("storeBizHourId") String storeBizHourId) {
+        return ResultGenerator.getSuccessResult(storeBizHourService.getById(storeBizHourId));
+    }
+
+    /**
+     * 新增门店经营信息
+     */
+    @RequiresPermissions("hour:add")
+    @OpLog(title = "门店经营信息", type = BusinessType.INSERT)
+    @PostMapping
+    public APIResult add(@RequestBody StoreBizHour storeBizHour) {
+        return ResultGenerator.getSuccessResult(storeBizHourService.save(storeBizHour));
+    }
+
+    /**
+     * 修改门店经营信息
+     */
+    @RequiresPermissions("hour:edit")
+    @OpLog(title = "门店经营信息", type = BusinessType.UPDATE)
+    @PutMapping
+    public APIResult edit(@RequestBody StoreBizHour storeBizHour) {
+        return ResultGenerator.getSuccessResult(storeBizHourService.updateById(storeBizHour));
+    }
+
+    /**
+     * 删除门店经营信息
+     */
+    @RequiresPermissions("hour:remove")
+    @OpLog(title = "门店经营信息", type = BusinessType.DELETE)
+    @DeleteMapping("/{storeBizHourIds}")
+    public APIResult remove(@PathVariable List<String> storeBizHourIds) {
+        return ResultGenerator.getSuccessResult(storeBizHourService.removeByIds(storeBizHourIds));
+    }
+}

+ 88 - 0
Source/group-platform/admin/src/main/java/com/younike/store/controller/StoreCategoryController.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.StoreCategory;
+import com.younike.service.service.IStoreCategoryService;
+import com.younike.common.core.page.TableResult;
+
+/**
+ * 门店分类Controller
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@RestController
+@RequestMapping("/storeCategory")
+public class StoreCategoryController extends BaseController {
+    @Autowired
+    private IStoreCategoryService storeCategoryService;
+
+    /**
+     * 查询门店分类列表
+     */
+    @RequiresPermissions("category:list")
+    @PostMapping("/list")
+    public Page list(@RequestBody PageParam<StoreCategory> page) {
+
+        return storeCategoryService.page(page);
+    }
+
+
+    /**
+     * 获取门店分类详细信息
+     */
+    @RequiresPermissions("category:query")
+    @GetMapping(value = "/{storeCategoryId}")
+    public APIResult getInfo(@PathVariable("storeCategoryId") String storeCategoryId) {
+        return ResultGenerator.getSuccessResult(storeCategoryService.getById(storeCategoryId));
+    }
+
+    /**
+     * 新增门店分类
+     */
+    @RequiresPermissions("category:add")
+    @OpLog(title = "门店分类", type = BusinessType.INSERT)
+    @PostMapping
+    public APIResult add(@RequestBody StoreCategory storeCategory) {
+        return ResultGenerator.getSuccessResult(storeCategoryService.save(storeCategory));
+    }
+
+    /**
+     * 修改门店分类
+     */
+    @RequiresPermissions("category:edit")
+    @OpLog(title = "门店分类", type = BusinessType.UPDATE)
+    @PutMapping
+    public APIResult edit(@RequestBody StoreCategory storeCategory) {
+        return ResultGenerator.getSuccessResult(storeCategoryService.updateById(storeCategory));
+    }
+
+    /**
+     * 删除门店分类
+     */
+    @RequiresPermissions("category:remove")
+    @OpLog(title = "门店分类", type = BusinessType.DELETE)
+    @DeleteMapping("/{storeCategoryIds}")
+    public APIResult remove(@PathVariable List<String> storeCategoryIds) {
+        return ResultGenerator.getSuccessResult(storeCategoryService.removeByIds(storeCategoryIds));
+    }
+}

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

@@ -0,0 +1,87 @@
+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.constant.BusinessType;
+import com.younike.service.pojo.Store;
+import com.younike.service.service.IStoreService;
+
+/**
+ * 门店基础信息Controller
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@RestController
+@RequestMapping("/store")
+public class StoreController extends BaseController {
+    @Autowired
+    private IStoreService storeService;
+
+    /**
+     * 查询门店基础信息列表
+     */
+    @RequiresPermissions("store:list")
+    @PostMapping("/list")
+    public Page list(@RequestBody PageParam<Store> page) {
+
+        return storeService.page(page);
+    }
+
+
+    /**
+     * 获取门店基础信息详细信息
+     */
+    @RequiresPermissions("store:query")
+    @GetMapping(value = "/{storeId}")
+    public APIResult getInfo(@PathVariable("storeId") String storeId) {
+        return ResultGenerator.getSuccessResult(storeService.getById(storeId));
+    }
+
+    /**
+     * 新增门店基础信息
+     */
+    @RequiresPermissions("store:add")
+    @OpLog(title = "门店基础信息", type = BusinessType.INSERT)
+    @PostMapping
+    public APIResult add(@RequestBody Store store) {
+        return ResultGenerator.getSuccessResult(storeService.save(store));
+    }
+
+    /**
+     * 修改门店基础信息
+     */
+    @RequiresPermissions("store:edit")
+    @OpLog(title = "门店基础信息", type = BusinessType.UPDATE)
+    @PutMapping
+    public APIResult edit(@RequestBody Store store) {
+        return ResultGenerator.getSuccessResult(storeService.updateById(store));
+    }
+
+    /**
+     * 删除门店基础信息
+     */
+    @RequiresPermissions("store:remove")
+    @OpLog(title = "门店基础信息", type = BusinessType.DELETE)
+    @DeleteMapping("/{storeIds}")
+    public APIResult remove(@PathVariable List<String> storeIds) {
+        return ResultGenerator.getSuccessResult(storeService.removeByIds(storeIds));
+    }
+}

+ 88 - 0
Source/group-platform/admin/src/main/java/com/younike/store/controller/StoreImageController.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.StoreImage;
+import com.younike.service.service.IStoreImageService;
+import com.younike.common.core.page.TableResult;
+
+/**
+ * 门店图片Controller
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@RestController
+@RequestMapping("/storeImage")
+public class StoreImageController extends BaseController {
+    @Autowired
+    private IStoreImageService storeImageService;
+
+    /**
+     * 查询门店图片列表
+     */
+    @RequiresPermissions("image:list")
+    @PostMapping("/list")
+    public Page list(@RequestBody PageParam<StoreImage> page) {
+
+        return storeImageService.page(page);
+    }
+
+
+    /**
+     * 获取门店图片详细信息
+     */
+    @RequiresPermissions("image:query")
+    @GetMapping(value = "/{storeImgId}")
+    public APIResult getInfo(@PathVariable("storeImgId") String storeImgId) {
+        return ResultGenerator.getSuccessResult(storeImageService.getById(storeImgId));
+    }
+
+    /**
+     * 新增门店图片
+     */
+    @RequiresPermissions("image:add")
+    @OpLog(title = "门店图片", type = BusinessType.INSERT)
+    @PostMapping
+    public APIResult add(@RequestBody StoreImage storeImage) {
+        return ResultGenerator.getSuccessResult(storeImageService.save(storeImage));
+    }
+
+    /**
+     * 修改门店图片
+     */
+    @RequiresPermissions("image:edit")
+    @OpLog(title = "门店图片", type = BusinessType.UPDATE)
+    @PutMapping
+    public APIResult edit(@RequestBody StoreImage storeImage) {
+        return ResultGenerator.getSuccessResult(storeImageService.updateById(storeImage));
+    }
+
+    /**
+     * 删除门店图片
+     */
+    @RequiresPermissions("image:remove")
+    @OpLog(title = "门店图片", type = BusinessType.DELETE)
+    @DeleteMapping("/{storeImgIds}")
+    public APIResult remove(@PathVariable List<String> storeImgIds) {
+        return ResultGenerator.getSuccessResult(storeImageService.removeByIds(storeImgIds));
+    }
+}

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

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

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

@@ -0,0 +1,15 @@
+package com.younike.service.mapper;
+
+import java.util.List;
+import com.younike.service.pojo.IndexBanner;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * 首页轮播Mapper接口
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+public interface IndexBannerMapper extends BaseMapper<IndexBanner> {
+
+}

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

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

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

@@ -0,0 +1,15 @@
+package com.younike.service.mapper;
+
+import java.util.List;
+import com.younike.service.pojo.StoreAuditLog;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * 门店资质审核记录Mapper接口
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+public interface StoreAuditLogMapper extends BaseMapper<StoreAuditLog> {
+
+}

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

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

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

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

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

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

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

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

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

@@ -0,0 +1,15 @@
+package com.younike.service.mapper;
+
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.younike.service.pojo.Store;
+
+/**
+ * 门店基础信息Mapper接口
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+public interface StoreMapper extends BaseMapper<Store> {
+
+}

+ 57 - 0
Source/group-platform/service/src/main/java/com/younike/service/pojo/BaseAllocation.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;
+
+/**
+ * 门店基础配置对象 base_allocation
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@Data
+public class BaseAllocation extends BaseEntity {
+    private static final long serialVersionUID=1L;
+
+    /** 门店基础配置ID */
+    @TableId(type = IdType.ASSIGN_UUID)
+    private String baseAllocationId;
+
+    /** 门店配置名称 */
+    private String baseAllocationName;
+
+    /** 是否启用(1-启用;0-关闭;默认为0) */
+    private String isEnable;
+
+    /** 删除标签(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;
+
+
+
+}

+ 54 - 0
Source/group-platform/service/src/main/java/com/younike/service/pojo/IndexBanner.java

@@ -0,0 +1,54 @@
+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;
+
+/**
+ * 首页轮播对象 index_banner
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@Data
+public class IndexBanner extends BaseEntity {
+    private static final long serialVersionUID=1L;
+
+    /** 首页banner图ID */
+    @TableId(type = IdType.ASSIGN_UUID)
+    private String indexBannerId;
+
+    /** 图片资源地址 */
+    private String bannerImgUrl;
+
+    /** 删除标签(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;
+
+
+
+}

+ 102 - 0
Source/group-platform/service/src/main/java/com/younike/service/pojo/Store.java

@@ -0,0 +1,102 @@
+package com.younike.service.pojo;
+
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.Version;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.younike.common.core.domain.BaseEntity;
+import lombok.Data;
+
+import java.math.BigDecimal;
+
+/**
+ * 门店基础信息对象 store
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@Data
+public class Store extends BaseEntity {
+    private static final long serialVersionUID=1L;
+
+    /** 门店ID */
+    @TableId(type = IdType.ASSIGN_UUID)
+    private String storeId;
+
+    /** 门店管理员id(关联app_user_id) */
+    private String appUserId;
+
+    /** 门店类型:001-非餐饮、002-餐饮 */
+    private String storeType;
+
+    /** 门店名称 */
+    private String storeName;
+
+    /** 门店电话1 */
+    private String storePhoneOne;
+
+    /** 门店电话2 */
+    private String storePhoneTwo;
+
+    /** 门店所在区域 */
+    private String address;
+
+    /** 详细地址 */
+    private String detail;
+
+    /** 门店位置经度 */
+    private BigDecimal longitude;
+
+    /** 门店位置纬度 */
+    private BigDecimal latitude;
+
+    /** 门店品类ID(关联到store_category表) */
+    private String categoryId;
+
+    /** 补充说明文字 */
+    private String remarks;
+
+    /** 法人身份证正面/人像面 */
+    private String legalPersonFrontImg;
+
+    /** 法人身份证反面/国徽面 */
+    private String legalPersonBackImg;
+
+    /** 审核状态:0-待审核、1-同意(通过)、2-拒绝(未通过) */
+    private String auditStatus;
+
+    /** 门店上下架状态;枚举:1-上架、0-下架(默认下架)门店超级管理员或运营可上下架店铺 */
+    private String shelveStatus;
+
+    /** 上下架操作人ID(关联表sys_user) */
+    private String 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;
+
+
+
+}

+ 57 - 0
Source/group-platform/service/src/main/java/com/younike/service/pojo/StoreAllocation.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_allocation
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@Data
+public class StoreAllocation extends BaseEntity {
+    private static final long serialVersionUID=1L;
+
+    /** 门店配置关联ID */
+    @TableId(type = IdType.ASSIGN_UUID)
+    private String storeAllocationId;
+
+    /** 门店基础信息表外键(表store) */
+    private String storeId;
+
+    /** 门店配置ID */
+    private String baseAllocationId;
+
+    /** 删除标签(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/StoreAuditLog.java

@@ -0,0 +1,63 @@
+package com.younike.service.pojo;
+import com.fasterxml.jackson.annotation.JsonFormat;
+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_audit_log
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@Data
+public class StoreAuditLog extends BaseEntity {
+    private static final long serialVersionUID=1L;
+
+    /** 记录id */
+    @TableId(type = IdType.ASSIGN_UUID)
+    private String storeAuditLogId;
+
+    /** 门店基础信息表外键(表store) */
+    private String storeId;
+
+    /** 审核结果:1-同意(通过)、0-拒绝(未通过) */
+    private String auditResult;
+
+    /** 审核人ID(关联表sys_user) */
+    private String auditBy;
+
+    /** 审核时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private String auditTime;
+
+    /** 审核意见(未通过审核的,该字段必填) */
+    private String auditComments;
+
+    /** 删除标签(0-正常;1-已删除;默认0) */
+    private String delFlag;
+
+    /** 创建人ID(关联表sys_user) */
+    private String createdBy;
+
+    /** 创建时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private String createdTime;
+
+    /** 更新/修改/删除人ID(关联表sys_user) */
+    private String updatedBy;
+
+    /** 更新时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private String updatedTime;
+
+    /** 版本号(默认0) */
+    @Version
+    private Long version;
+
+
+
+}
+

+ 73 - 0
Source/group-platform/service/src/main/java/com/younike/service/pojo/StoreBiz.java

@@ -0,0 +1,73 @@
+package com.younike.service.pojo;
+
+import java.math.BigDecimal;
+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_biz
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@Data
+public class StoreBiz extends BaseEntity {
+    private static final long serialVersionUID=1L;
+
+    /** 门店经营信息ID */
+    @TableId(type = IdType.ASSIGN_UUID)
+    private String storeBizId;
+
+    /** 门店基础信息表外键(表store) */
+    private String storeId;
+
+    /** 营业状态,枚举:001-营业中、002-休息中 */
+    private String bizStatus;
+
+    /** 是否需要预约(0-无需预约;1-需要预约;) */
+    private String needReserved;
+
+    /** 提前预约时间(0-不需要;1需要) */
+    private Long reservationDaysAhead;
+
+    /** 好评率 */
+    private BigDecimal positiveRating;
+
+    /** 成交量 */
+    private Long tradeNum;
+
+    /** 人均 */
+    private BigDecimal perCapita;
+
+    /** 删除标签(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;
+
+
+
+}

+ 65 - 0
Source/group-platform/service/src/main/java/com/younike/service/pojo/StoreBizHour.java

@@ -0,0 +1,65 @@
+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_biz_hour
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@Data
+public class StoreBizHour extends BaseEntity {
+    private static final long serialVersionUID=1L;
+
+    /** 门店经营信息id */
+    @TableId(type = IdType.ASSIGN_UUID)
+    private String storeBizHourId;
+
+    /** 门店基础信息表外键(表store) */
+    private String storeId;
+
+    /** 营业日(周一-周日,支持每天单独设置营业时间) */
+    private String bizWeekdays;
+
+    /** 每个营业日营业开始时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private String bizStartHour;
+
+    /** 每个营业日营业结束时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+    private String bizEndHour;
+
+    /** 删除标签(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;
+
+
+
+}

+ 75 - 0
Source/group-platform/service/src/main/java/com/younike/service/pojo/StoreCategory.java

@@ -0,0 +1,75 @@
+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_category
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@Data
+public class StoreCategory extends BaseEntity {
+    private static final long serialVersionUID=1L;
+
+    /** 门店分类ID */
+    @TableId(type = IdType.ASSIGN_UUID)
+    private String storeCategoryId;
+
+    /** 品类类型(门店类型:001-非餐饮、002-餐饮) */
+    private String bizType;
+
+    /** 分类名称 */
+    private String categoryName;
+
+    /** 父分类ID(默认为0-即一级分类) */
+    private String parentId;
+
+    /** 图标url */
+    private String icon;
+
+    /** 是否启用(1-启用;0-关闭;默认为0) */
+    private String isEnable;
+
+    /** 首页是否显示(1-显示;0-不显示;默认为0) */
+    private String indexShow;
+
+    /** 分类级别(1-一级;2- 二级;3-三级) */
+    private Long type;
+
+    /** 排序 */
+    private Long sorting;
+
+    /** 删除标签(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;
+
+
+
+}

+ 56 - 0
Source/group-platform/service/src/main/java/com/younike/service/pojo/StoreImage.java

@@ -0,0 +1,56 @@
+package com.younike.service.pojo;
+
+import com.fasterxml.jackson.annotation.JsonFormat;
+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_image
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+@Data
+public class StoreImage extends BaseEntity {
+    private static final long serialVersionUID=1L;
+
+    /** 门店图片id */
+    @TableId(type = IdType.ASSIGN_UUID)
+    private String storeImgId;
+
+    /** 门店基础信息表外键(表store) */
+    private String storeId;
+
+    /** 枚举:001-门店主图、002-门店宣传图、003-门店资质图 */
+    private String imgType;
+
+    /** 图片链接 */
+    private String imgUrl;
+
+    /** 删除标签(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/IBaseAllocationService.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.BaseAllocation;
+import com.younike.common.core.page.PageParam;
+/**
+ * 门店基础配置Service接口
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+public interface IBaseAllocationService extends IService<BaseAllocation>{
+
+
+    /**
+     * 重写分页器
+     * @param pageParam
+     * @return
+     */
+    public PageParam<BaseAllocation> page(PageParam<BaseAllocation> pageParam);
+
+}

+ 23 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/IIndexBannerService.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.IndexBanner;
+import com.younike.common.core.page.PageParam;
+/**
+ * 首页轮播Service接口
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+public interface IIndexBannerService extends IService<IndexBanner>{
+
+
+    /**
+     * 重写分页器
+     * @param pageParam
+     * @return
+     */
+    public PageParam<IndexBanner> page(PageParam<IndexBanner> pageParam);
+
+}

+ 23 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/IStoreAllocationService.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.StoreAllocation;
+import com.younike.common.core.page.PageParam;
+/**
+ * 门店配置关联Service接口
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+public interface IStoreAllocationService extends IService<StoreAllocation>{
+
+
+    /**
+     * 重写分页器
+     * @param pageParam
+     * @return
+     */
+    public PageParam<StoreAllocation> page(PageParam<StoreAllocation> pageParam);
+
+}

+ 23 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/IStoreAuditLogService.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.StoreAuditLog;
+import com.younike.common.core.page.PageParam;
+/**
+ * 门店资质审核记录Service接口
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+public interface IStoreAuditLogService extends IService<StoreAuditLog>{
+
+
+    /**
+     * 重写分页器
+     * @param pageParam
+     * @return
+     */
+    public PageParam<StoreAuditLog> page(PageParam<StoreAuditLog> pageParam);
+
+}

+ 23 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/IStoreBizHourService.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.StoreBizHour;
+import com.younike.common.core.page.PageParam;
+/**
+ * 门店经营信息Service接口
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+public interface IStoreBizHourService extends IService<StoreBizHour>{
+
+
+    /**
+     * 重写分页器
+     * @param pageParam
+     * @return
+     */
+    public PageParam<StoreBizHour> page(PageParam<StoreBizHour> pageParam);
+
+}

+ 23 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/IStoreBizService.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.StoreBiz;
+import com.younike.common.core.page.PageParam;
+/**
+ * 门店经营信息Service接口
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+public interface IStoreBizService extends IService<StoreBiz>{
+
+
+    /**
+     * 重写分页器
+     * @param pageParam
+     * @return
+     */
+    public PageParam<StoreBiz> page(PageParam<StoreBiz> pageParam);
+
+}

+ 23 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/IStoreCategoryService.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.StoreCategory;
+import com.younike.common.core.page.PageParam;
+/**
+ * 门店分类Service接口
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+public interface IStoreCategoryService extends IService<StoreCategory>{
+
+
+    /**
+     * 重写分页器
+     * @param pageParam
+     * @return
+     */
+    public PageParam<StoreCategory> page(PageParam<StoreCategory> pageParam);
+
+}

+ 23 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/IStoreImageService.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.StoreImage;
+import com.younike.common.core.page.PageParam;
+/**
+ * 门店图片Service接口
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+public interface IStoreImageService extends IService<StoreImage>{
+
+
+    /**
+     * 重写分页器
+     * @param pageParam
+     * @return
+     */
+    public PageParam<StoreImage> page(PageParam<StoreImage> pageParam);
+
+}

+ 23 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/IStoreService.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.Store;
+import com.younike.common.core.page.PageParam;
+/**
+ * 门店基础信息Service接口
+ *
+ * @author dail
+ * @date 2022-05-24
+ */
+public interface IStoreService extends IService<Store>{
+
+
+    /**
+     * 重写分页器
+     * @param pageParam
+     * @return
+     */
+    public PageParam<Store> page(PageParam<Store> pageParam);
+
+}

+ 39 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/impl/BaseAllocationServiceImpl.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.BaseAllocationMapper;
+import com.younike.service.pojo.BaseAllocation;
+import com.younike.service.service.IBaseAllocationService;
+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 BaseAllocationServiceImpl extends ServiceImpl<BaseAllocationMapper, BaseAllocation>  implements IBaseAllocationService {
+
+
+    /**
+     * 自定义分页逻辑 这里就省略掉
+     * @param pageParam
+     * @return
+     */
+    @Override
+    public PageParam<BaseAllocation> page(PageParam<BaseAllocation> pageParam) {
+
+        PageParam<BaseAllocation> page = this.page(pageParam, new LambdaQueryWrapper<BaseAllocation>()
+                //.like(Printer::getName,pageParam.getParam().getName())
+                // 查询逻辑 适合单表 多表 重写XML查询
+        );
+
+        return page;
+    }
+
+}

+ 40 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/impl/IndexBannerServiceImpl.java

@@ -0,0 +1,40 @@
+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.IndexBannerMapper;
+import com.younike.service.pojo.IndexBanner;
+import com.younike.service.service.IIndexBannerService;
+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 IndexBannerServiceImpl extends ServiceImpl<IndexBannerMapper, IndexBanner>  implements IIndexBannerService {
+
+
+    /**
+     * 自定义分页逻辑 这里就省略掉
+     * @param pageParam
+     * @return
+     */
+    @Override
+    public PageParam<IndexBanner> page(PageParam<IndexBanner> pageParam) {
+
+        PageParam<IndexBanner> page = this.page(pageParam, new LambdaQueryWrapper<IndexBanner>()
+                //.like(Printer::getName,pageParam.getParam().getName())
+                // 查询逻辑 适合单表 多表 重写XML查询
+        );
+
+        return page;
+    }
+
+}

+ 38 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/impl/StoreAllocationServiceImpl.java

@@ -0,0 +1,38 @@
+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.StoreAllocationMapper;
+import com.younike.service.pojo.StoreAllocation;
+import com.younike.service.service.IStoreAllocationService;
+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 StoreAllocationServiceImpl extends ServiceImpl<StoreAllocationMapper, StoreAllocation>  implements IStoreAllocationService {
+
+
+    /**
+     * 自定义分页逻辑 这里就省略掉
+     * @param pageParam
+     * @return
+     */
+    @Override
+    public PageParam<StoreAllocation> page(PageParam<StoreAllocation> pageParam) {
+
+        PageParam<StoreAllocation> page = this.page(pageParam, new LambdaQueryWrapper<StoreAllocation>()
+                //.like(Printer::getName,pageParam.getParam().getName())
+                // 查询逻辑 适合单表 多表 重写XML查询
+        );
+
+        return page;
+    }
+
+}

+ 40 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/impl/StoreAuditLogServiceImpl.java

@@ -0,0 +1,40 @@
+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.StoreAuditLogMapper;
+import com.younike.service.pojo.StoreAuditLog;
+import com.younike.service.service.IStoreAuditLogService;
+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 StoreAuditLogServiceImpl extends ServiceImpl<StoreAuditLogMapper, StoreAuditLog>  implements IStoreAuditLogService {
+
+
+    /**
+     * 自定义分页逻辑 这里就省略掉
+     * @param pageParam
+     * @return
+     */
+    @Override
+    public PageParam<StoreAuditLog> page(PageParam<StoreAuditLog> pageParam) {
+
+        PageParam<StoreAuditLog> page = this.page(pageParam, new LambdaQueryWrapper<StoreAuditLog>()
+                //.like(Printer::getName,pageParam.getParam().getName())
+                // 查询逻辑 适合单表 多表 重写XML查询
+        );
+
+        return page;
+    }
+
+}

+ 40 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/impl/StoreBizHourServiceImpl.java

@@ -0,0 +1,40 @@
+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.StoreBizHourMapper;
+import com.younike.service.pojo.StoreBizHour;
+import com.younike.service.service.IStoreBizHourService;
+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 StoreBizHourServiceImpl extends ServiceImpl<StoreBizHourMapper, StoreBizHour>  implements IStoreBizHourService {
+
+
+    /**
+     * 自定义分页逻辑 这里就省略掉
+     * @param pageParam
+     * @return
+     */
+    @Override
+    public PageParam<StoreBizHour> page(PageParam<StoreBizHour> pageParam) {
+
+        PageParam<StoreBizHour> page = this.page(pageParam, new LambdaQueryWrapper<StoreBizHour>()
+                //.like(Printer::getName,pageParam.getParam().getName())
+                // 查询逻辑 适合单表 多表 重写XML查询
+        );
+
+        return page;
+    }
+
+}

+ 40 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/impl/StoreBizServiceImpl.java

@@ -0,0 +1,40 @@
+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.StoreBizMapper;
+import com.younike.service.pojo.StoreBiz;
+import com.younike.service.service.IStoreBizService;
+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 StoreBizServiceImpl extends ServiceImpl<StoreBizMapper, StoreBiz>  implements IStoreBizService {
+
+
+    /**
+     * 自定义分页逻辑 这里就省略掉
+     * @param pageParam
+     * @return
+     */
+    @Override
+    public PageParam<StoreBiz> page(PageParam<StoreBiz> pageParam) {
+
+        PageParam<StoreBiz> page = this.page(pageParam, new LambdaQueryWrapper<StoreBiz>()
+                //.like(Printer::getName,pageParam.getParam().getName())
+                // 查询逻辑 适合单表 多表 重写XML查询
+        );
+
+        return page;
+    }
+
+}

+ 38 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/impl/StoreCategoryServiceImpl.java

@@ -0,0 +1,38 @@
+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.StoreCategoryMapper;
+import com.younike.service.pojo.StoreCategory;
+import com.younike.service.service.IStoreCategoryService;
+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 StoreCategoryServiceImpl extends ServiceImpl<StoreCategoryMapper, StoreCategory>  implements IStoreCategoryService {
+
+
+    /**
+     * 自定义分页逻辑 这里就省略掉
+     * @param pageParam
+     * @return
+     */
+    @Override
+    public PageParam<StoreCategory> page(PageParam<StoreCategory> pageParam) {
+
+        PageParam<StoreCategory> page = this.page(pageParam, new LambdaQueryWrapper<StoreCategory>()
+                //.like(Printer::getName,pageParam.getParam().getName())
+                // 查询逻辑 适合单表 多表 重写XML查询
+        );
+
+        return page;
+    }
+
+}

+ 38 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/impl/StoreImageServiceImpl.java

@@ -0,0 +1,38 @@
+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.StoreImageMapper;
+import com.younike.service.pojo.StoreImage;
+import com.younike.service.service.IStoreImageService;
+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 StoreImageServiceImpl extends ServiceImpl<StoreImageMapper, StoreImage>  implements IStoreImageService {
+
+
+    /**
+     * 自定义分页逻辑 这里就省略掉
+     * @param pageParam
+     * @return
+     */
+    @Override
+    public PageParam<StoreImage> page(PageParam<StoreImage> pageParam) {
+
+        PageParam<StoreImage> page = this.page(pageParam, new LambdaQueryWrapper<StoreImage>()
+                //.like(Printer::getName,pageParam.getParam().getName())
+                // 查询逻辑 适合单表 多表 重写XML查询
+        );
+
+        return page;
+    }
+
+}

+ 40 - 0
Source/group-platform/service/src/main/java/com/younike/service/service/impl/StoreServiceImpl.java

@@ -0,0 +1,40 @@
+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.StoreMapper;
+import com.younike.service.pojo.Store;
+import com.younike.service.service.IStoreService;
+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 StoreServiceImpl extends ServiceImpl<StoreMapper, Store>  implements IStoreService {
+
+
+    /**
+     * 自定义分页逻辑 这里就省略掉
+     * @param pageParam
+     * @return
+     */
+    @Override
+    public PageParam<Store> page(PageParam<Store> pageParam) {
+
+        PageParam<Store> page = this.page(pageParam, new LambdaQueryWrapper<Store>()
+                //.like(Printer::getName,pageParam.getParam().getName())
+                // 查询逻辑 适合单表 多表 重写XML查询
+        );
+
+        return page;
+    }
+
+}

+ 28 - 0
Source/group-platform/service/src/main/resources/mapper/system/BaseAllocationMapper.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.BaseAllocationMapper">
+
+    <resultMap type="com.younike.service.pojo.BaseAllocation" id="BaseAllocationResult">
+        <result property="baseAllocationId" column="base_allocation_id"/>
+        <result property="baseAllocationName" column="base_allocation_name"/>
+        <result property="isEnable" column="is_enable"/>
+        <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="selectBaseAllocationVo">
+        select base_allocation_id, base_allocation_name, is_enable, del_flag, created_by, created_time, updated_by, updated_time, version, remark from base_allocation
+    </sql>
+
+
+</mapper>

+ 27 - 0
Source/group-platform/service/src/main/resources/mapper/system/IndexBannerMapper.xml

@@ -0,0 +1,27 @@
+<?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.IndexBannerMapper">
+
+    <resultMap type="com.younike.service.pojo.IndexBanner" id="IndexBannerResult">
+        <result property="indexBannerId" column="index_banner_id"/>
+        <result property="bannerImgUrl" column="banner_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="selectIndexBannerVo">
+        select index_banner_id, banner_img_url, del_flag, created_by, created_time, updated_by, updated_time, version, remark from index_banner
+    </sql>
+
+
+</mapper>

+ 28 - 0
Source/group-platform/service/src/main/resources/mapper/system/StoreAllocationMapper.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.StoreAllocationMapper">
+
+    <resultMap type="com.younike.service.pojo.StoreAllocation" id="StoreAllocationResult">
+        <result property="storeAllocationId" column="store_allocation_id"/>
+        <result property="storeId" column="store_id"/>
+        <result property="baseAllocationId" column="base_allocation_id"/>
+        <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="selectStoreAllocationVo">
+        select store_allocation_id, store_id, base_allocation_id, del_flag, created_by, created_time, updated_by, updated_time, version, remark from store_allocation
+    </sql>
+
+
+</mapper>

+ 39 - 0
Source/group-platform/service/src/main/resources/mapper/system/StoreAuditLogMapper.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.StoreAuditLogMapper">
+
+    <resultMap id="StoreAuditLogResult" type="com.younike.service.pojo.StoreAuditLog">
+
+    <result column="store_audit_log_id" property="storeAuditLogId"/>
+
+    <result column="store_id" property="storeId"/>
+
+    <result column="audit_result" property="auditResult"/>
+
+    <result column="audit_by" property="auditBy"/>
+
+    <result column="audit_time" property="auditTime"/>
+
+    <result column="audit_comments" property="auditComments"/>
+
+    <result column="del_flag" property="delFlag"/>
+
+    <result column="created_by" property="createdBy"/>
+
+    <result column="created_time" property="createdTime"/>
+
+    <result column="updated_by" property="updatedBy"/>
+
+    <result column="updated_time" property="updatedTime"/>
+
+    <result column="version" property="version"/>
+
+    <result column="remark" property="remark"/>
+
+</resultMap>
+
+    <sql id="selectStoreAuditLogVo">select store_audit_log_id, store_id, audit_result, audit_by, audit_time, audit_comments, del_flag, created_by, created_time, updated_by, updated_time, version, remark from store_audit_log </sql>
+
+</mapper>

+ 30 - 0
Source/group-platform/service/src/main/resources/mapper/system/StoreBizHourMapper.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.StoreBizHourMapper">
+
+    <resultMap type="com.younike.service.pojo.StoreBizHour" id="StoreBizHourResult">
+        <result property="storeBizHourId" column="store_biz_hour_id"/>
+        <result property="storeId" column="store_id"/>
+        <result property="bizWeekdays" column="biz_weekdays"/>
+        <result property="bizStartHour" column="biz_start_hour"/>
+        <result property="bizEndHour" column="biz_end_hour"/>
+        <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="selectStoreBizHourVo">
+        select store_biz_hour_id, store_id, biz_weekdays, biz_start_hour, biz_end_hour, del_flag, created_by, created_time, updated_by, updated_time, version, remark from store_biz_hour
+    </sql>
+
+
+</mapper>

+ 33 - 0
Source/group-platform/service/src/main/resources/mapper/system/StoreBizMapper.xml

@@ -0,0 +1,33 @@
+<?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.StoreBizMapper">
+
+    <resultMap type="com.younike.service.pojo.StoreBiz" id="StoreBizResult">
+        <result property="storeBizId" column="store_biz_id"/>
+        <result property="storeId" column="store_id"/>
+        <result property="bizStatus" column="biz_status"/>
+        <result property="needReserved" column="need_reserved"/>
+        <result property="reservationDaysAhead" column="reservation_days_ahead"/>
+        <result property="positiveRating" column="positive_rating"/>
+        <result property="tradeNum" column="trade_num"/>
+        <result property="perCapita" column="per_capita"/>
+        <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="selectStoreBizVo">
+        select store_biz_id, store_id, biz_status, need_reserved, reservation_days_ahead, positive_rating, trade_num, per_capita, del_flag, created_by, created_time, updated_by, updated_time, version, remark from store_biz
+    </sql>
+
+
+</mapper>

+ 34 - 0
Source/group-platform/service/src/main/resources/mapper/system/StoreCategoryMapper.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.StoreCategoryMapper">
+
+    <resultMap type="com.younike.service.pojo.StoreCategory" id="StoreCategoryResult">
+        <result property="storeCategoryId" column="store_category_id"/>
+        <result property="bizType" column="biz_type"/>
+        <result property="categoryName" column="category_name"/>
+        <result property="parentId" column="parent_id"/>
+        <result property="icon" column="icon"/>
+        <result property="isEnable" column="is_enable"/>
+        <result property="indexShow" column="index_show"/>
+        <result property="type" column="type"/>
+        <result property="sorting" column="sorting"/>
+        <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="selectStoreCategoryVo">
+        select store_category_id, biz_type, category_name, parent_id, icon, is_enable, index_show, type, sorting, del_flag, created_by, created_time, updated_by, updated_time, version, remark from store_category
+    </sql>
+
+
+</mapper>

+ 35 - 0
Source/group-platform/service/src/main/resources/mapper/system/StoreImageMapper.xml

@@ -0,0 +1,35 @@
+<?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.StoreImageMapper">
+
+<resultMap id="StoreImageResult" type="com.younike.service.pojo.StoreImage">
+
+    <result column="store_img_id" property="storeImgId"/>
+
+    <result column="store_id" property="storeId"/>
+
+    <result column="img_type" property="imgType"/>
+
+    <result column="img_url" property="imgUrl"/>
+
+    <result column="del_flag" property="delFlag"/>
+
+    <result column="created_by" property="createdBy"/>
+
+    <result column="created_time" property="createdTime"/>
+
+    <result column="updated_by" property="updatedBy"/>
+
+    <result column="updated_time" property="updatedTime"/>
+
+    <result column="version" property="version"/>
+
+    <result column="remark" property="remark"/>
+
+</resultMap>
+
+    <sql id="selectStoreImageVo">select store_img_id, store_id, img_type, img_url, del_flag, created_by, created_time, updated_by, updated_time, version, remark from store_image </sql>
+
+</mapper>

+ 64 - 0
Source/group-platform/service/src/main/resources/mapper/system/StoreMapper.xml

@@ -0,0 +1,64 @@
+<?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.StoreMapper">
+
+
+    <resultMap id="StoreResult" type="com.younike.service.pojo.Store">
+
+    <result column="store_id" property="storeId"/>
+
+    <result column="app_user_id" property="appUserId"/>
+
+    <result column="store_type" property="storeType"/>
+
+    <result column="store_name" property="storeName"/>
+
+    <result column="store_phone_one" property="storePhoneOne"/>
+
+    <result column="store_phone_two" property="storePhoneTwo"/>
+
+    <result column="address" property="address"/>
+
+    <result column="detail" property="detail"/>
+
+    <result column="longitude" property="longitude"/>
+
+    <result column="latitude" property="latitude"/>
+
+    <result column="category_id" property="categoryId"/>
+
+    <result column="remarks" property="remarks"/>
+
+    <result column="legal_person_front_img" property="legalPersonFrontImg"/>
+
+    <result column="legal_person_back_img" property="legalPersonBackImg"/>
+
+    <result column="audit_status" property="auditStatus"/>
+
+    <result column="shelve_status" property="shelveStatus"/>
+
+    <result column="shelve_status_updated_by" property="shelveStatusUpdatedBy"/>
+
+    <result column="shelve_status_updated_time" property="shelveStatusUpdatedTime"/>
+
+    <result column="del_flag" property="delFlag"/>
+
+    <result column="created_by" property="createdBy"/>
+
+    <result column="created_time" property="createdTime"/>
+
+    <result column="updated_by" property="updatedBy"/>
+
+    <result column="updated_time" property="updatedTime"/>
+
+    <result column="version" property="version"/>
+
+    <result column="remark" property="remark"/>
+
+</resultMap>
+
+    <sql id="selectStoreVo">select store_id, app_user_id, store_type, store_name, store_phone_one, store_phone_two, address, detail, longitude, latitude, category_id, remarks, legal_person_front_img, legal_person_back_img, audit_status, shelve_status, shelve_status_updated_by, shelve_status_updated_time, del_flag, created_by, created_time, updated_by, updated_time, version, remark from store </sql>
+
+</mapper>