|
@@ -30,6 +30,19 @@ public class MarketingCampaignSopDetailController {
|
|
|
@Resource
|
|
@Resource
|
|
|
private MarketingCampaignSopDetailService marketingCampaignSopDetailService;
|
|
private MarketingCampaignSopDetailService marketingCampaignSopDetailService;
|
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 根据id查询详情
|
|
|
|
|
+ */
|
|
|
|
|
+ @GetMapping("/get/{id}")
|
|
|
|
|
+ @ApiOperation(value = "根据id查询营销活动SOP明细详情", notes = "根据主键id查询详情")
|
|
|
|
|
+ public Result<Object> getById(@PathVariable Long id) {
|
|
|
|
|
+ MarketingCampaignSopDetailEntity entity = marketingCampaignSopDetailService.getById(id);
|
|
|
|
|
+ if (entity == null) {
|
|
|
|
|
+ return Result.error("数据不存在");
|
|
|
|
|
+ }
|
|
|
|
|
+ return Result.result(entity);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* 分页查询
|
|
* 分页查询
|
|
|
*/
|
|
*/
|