| | |
| | | */ |
| | | @ApiOperation(value = "删除便民服务商家") |
| | | @DeleteMapping("/merchant/delete") |
| | | public R deleteMerchant(@RequestParam("merchantId") String merchantId, |
| | | @RequestParam("operator") String operator) { |
| | | return jinhuiCommunityService.deleteMerchant(merchantId, operator); |
| | | public R deleteMerchant(@RequestParam("merchantId") String merchantId) { |
| | | return jinhuiCommunityService.deleteMerchant(merchantId); |
| | | } |
| | | |
| | | /** |
| | |
| | | * @return |
| | | */ |
| | | @DeleteMapping("/jinhuiMerchant/delete") |
| | | public R deleteMerchant(@RequestParam("merchantId") String merchantId, @RequestParam("operator") String operator); |
| | | public R deleteMerchant(@RequestParam("merchantId") String merchantId); |
| | | |
| | | /** |
| | | * 分页查询便民服务商家 运营后台 |
| | |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 删除便民服务商家 |
| | | * |
| | | * @param merchantId |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "删除便民服务商家") |
| | | @DeleteMapping("/merchant/delete") |
| | | public R deleteMerchant(@RequestParam("merchantId") String merchantId) { |
| | | return jinhuiCommunityService.deleteMerchant(merchantId); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "便民服务商家审核") |
| | | @GetMapping("/merchant/audit") |
| | | public R merchantAudit(@RequestParam("auditType") String auditType, |
| | |
| | | * @return |
| | | */ |
| | | @DeleteMapping("/delete") |
| | | public R deleteMerchant(@RequestParam("merchantId") String merchantId, |
| | | @RequestParam("operator") String operator) { |
| | | return jinhuiConvenientMerchantService.deleteMerchant(merchantId, operator); |
| | | public R deleteMerchant(@RequestParam("merchantId") String merchantId) { |
| | | return jinhuiConvenientMerchantService.deleteMerchant(merchantId); |
| | | } |
| | | |
| | | |
| | |
| | | * @param operator |
| | | * @return |
| | | */ |
| | | int deleteMerchantById(@Param("merchantId") String merchantId, @Param("operator") String operator); |
| | | int deleteMerchantById(@Param("merchantId") String merchantId); |
| | | |
| | | /** |
| | | * 分页查询便民服务商家 运营后台 |
| | |
| | | * @param operator 操作人员 |
| | | * @return |
| | | */ |
| | | R deleteMerchant(String merchantId, String operator); |
| | | R deleteMerchant(String merchantId); |
| | | |
| | | /** |
| | | * 分页查询便民服务商家 |
| | |
| | | |
| | | |
| | | @Override |
| | | public R deleteMerchant(String merchantId, String operator) { |
| | | int result = this.baseMapper.deleteMerchantById(merchantId, operator); |
| | | public R deleteMerchant(String merchantId) { |
| | | int result = this.baseMapper.deleteMerchantById(merchantId); |
| | | if (result > 0) { |
| | | return R.ok(); |
| | | } |