|  |  | 
 |  |  | import com.mzl.flower.base.R; | 
 |  |  | import com.mzl.flower.base.ReturnDataDTO; | 
 |  |  | import com.mzl.flower.config.exception.ValidationException; | 
 |  |  | import com.mzl.flower.dto.request.flower.FlowerMarkupSpCgBatchSaveDTO; | 
 |  |  | import com.mzl.flower.dto.request.flower.FlowerMarkupSpCgQueryDTO; | 
 |  |  | import com.mzl.flower.dto.request.flower.FlowerMarkupSpCgSaveDTO; | 
 |  |  | import com.mzl.flower.dto.response.flower.FlowerMarkupSpCgDTO; | 
 |  |  | 
 |  |  |         return returnData(R.SUCCESS.getCode(), null); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @PostMapping("/list/save/batch") | 
 |  |  |     @ApiOperation(value = "批量新增商品分类加价") | 
 |  |  |     public ResponseEntity<ReturnDataDTO> saveMarkupSpCgBatch(@RequestBody FlowerMarkupSpCgBatchSaveDTO dto) { | 
 |  |  |         Partner s = spCgService.getCurrentPartner(); | 
 |  |  |         if(s == null){ | 
 |  |  |             throw new ValidationException("未找到当前合伙人信息"); | 
 |  |  |         } | 
 |  |  |         dto.setPartnerId(s.getId()); | 
 |  |  |         spCgService.saveMarkupSpCgBatch(dto); | 
 |  |  |         return returnData(R.SUCCESS.getCode(), null); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @PostMapping("/list/save/platform") | 
 |  |  |     @ApiOperation(value = "运营平台新增商品分类加价") | 
 |  |  |     public ResponseEntity<ReturnDataDTO> saveMarkupSpCgPlatform(@RequestBody FlowerMarkupSpCgSaveDTO dto) { |