Commit dc04f536 by zhouhaibao

feat(sop): 更新SOP策略埋点和营销页面功能

- 在SopMarketingPageViewReqDTO中添加序列化接口并增加字段注释
- 为请求参数添加必填验证注解
- 在SopStrategyEventLog实体类中添加任务ID字段
- 更新埋点记录方法将executionRecordId替换为taskId
- 优化营销页面URL构建功能
- 移除多余日志输出并更新日志内容
1 parent 7363e535
...@@ -2,29 +2,33 @@ package cn.com.glsx.dj.strategy.request; ...@@ -2,29 +2,33 @@ package cn.com.glsx.dj.strategy.request;
import com.rop.AbstractRopRequest; import com.rop.AbstractRopRequest;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
import lombok.Data; import lombok.Data;
@Data @Data
public class SopMarketingPageViewRequest extends AbstractRopRequest { public class SopMarketingPageViewRequest extends AbstractRopRequest {
@ApiModelProperty(notes = "客户实例ID")
private Long customerInstanceId;
@ApiModelProperty(notes = "策略ID") @ApiModelProperty(notes = "策略ID")
@NotNull
private Long strategyId; private Long strategyId;
@ApiModelProperty(notes = "执行记录ID") @ApiModelProperty(notes = "执行记录ID")
private Long executionRecordId; @NotNull
private Long taskId;
@ApiModelProperty(notes = "门店ID") @ApiModelProperty(notes = "门店ID")
@NotNull
private Long storeId; private Long storeId;
@ApiModelProperty(notes = "门店名称") @ApiModelProperty(notes = "门店名称")
@NotNull
private String storeName; private String storeName;
@ApiModelProperty(notes = "客户名称") @ApiModelProperty(notes = "客户名称")
@NotNull
private String customerName; private String customerName;
@ApiModelProperty(notes = "客户手机号") @ApiModelProperty(notes = "客户手机号")
@NotNull
private String customerPhone; private String customerPhone;
} }
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!