| | |
| | | |
| | | /** |
| | | * 查询店铺列表 |
| | | * |
| | | * @param pageComShopStoreDTO 请求参数 |
| | | * @return 店铺列表 |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 查询店铺详情 |
| | | * |
| | | * @param comShopStoreDTO 请求参数 |
| | | * @return 店铺详情 |
| | | */ |
| | |
| | | if (storeVO == null) { |
| | | return R.ok("500", "数据为空!"); |
| | | } |
| | | ComShopStoreDO comShopStoreDO = this.baseMapper.selectOne(new LambdaQueryWrapper<ComShopStoreDO>() |
| | | .eq(ComShopStoreDO::getStoreAccount, storeVO.getStoreAccount())); |
| | | if (comShopStoreDO != null) { |
| | | return R.ok("500", "商家账号存在"); |
| | | } |
| | | ComShopStoreDO storeDO = new ComShopStoreDO(); |
| | | BeanUtils.copyProperties(storeVO, storeDO); |
| | | storeDO.setSale(0); |