| | |
| | | package com.ruoyi.shop.controller.console; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.common.core.constant.CacheConstants; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.common.core.exception.ServiceException; |
| | |
| | | import com.ruoyi.shop.service.task.ShopTaskService; |
| | | import com.ruoyi.system.api.constant.AppErrorConstant; |
| | | import com.ruoyi.system.api.domain.dto.*; |
| | | import com.ruoyi.system.api.domain.poji.config.OneClinkSyncing; |
| | | import com.ruoyi.system.api.domain.poji.shop.Shop; |
| | | import com.ruoyi.system.api.domain.poji.sys.SysUser; |
| | | import com.ruoyi.system.api.domain.vo.*; |
| | |
| | | * @param shopId |
| | | * @return |
| | | */ |
| | | @PostMapping("/shop/getFranchiseeIdsBYDealerId") |
| | | @PostMapping("/getFranchiseeIdsBYDealerId") |
| | | List<Shop> getFranchiseeIdsBYDealerId(@RequestBody Long shopId){ |
| | | return shopService.getFranchiseeIdsBYDealerId(shopId); |
| | | } |
| | | |
| | | /** |
| | | * 根据shopIds分页查看 |
| | | * @param dto |
| | | * @return |
| | | */ |
| | | @PostMapping("/getMgtShopPageVoByShopIds") |
| | | Page<MgtOneClinkSyncingShopPageVo> getMgtShopPageVoByShopIds(@RequestBody MGtOneClinkSyncingShopPageDTO dto){ |
| | | return shopService.getMgtShopPageVoByShopIds(dto); |
| | | } |
| | | |
| | | /** |
| | | * 一键同步商户信息 |
| | | */ |
| | | @PostMapping("/updateShopByOneClinkSyncing") |
| | | R updateShopByOneClinkSyncing(@RequestBody OneClinkSyncing oneClinkSyncing){ |
| | | return shopService.updateShopByOneClinkSyncing(oneClinkSyncing); |
| | | } |
| | | } |