wangyunpeng 2 дней назад
Родитель
Сommit
9cb1f8f5d8

+ 36 - 0
api-module/src/main/java/com/tzld/piaoquan/api/job/contentplatform/ContentPlatformDemandVideoJob.java

@@ -78,8 +78,26 @@ public class ContentPlatformDemandVideoJob {
                 String pointType = demandItem.getString("pointType");
                 String standardElement = demandItem.getString("standardElement");
                 String categoryName = demandItem.getString("categoryName");
+                String demandId = demandItem.getString("demandId");
+                String crowdPackage = demandItem.getString("crowdPackage");
+                String conversionTarget = demandItem.getString("conversionTarget");
+                String partner = demandItem.getString("partner");
+                String account = demandItem.getString("account");
+                String sceneValue = demandItem.getString("sceneValue");
+                String demandStrategy = demandItem.getString("demandStrategy");
+                String driveDimensionTime = demandItem.getString("driveDimensionTime");
+                String demandFilterSortStrategy = demandItem.getString("demandFilterSortStrategy");
+                String demandType = demandItem.getString("demandType");
+                String demandContentId = demandItem.getString("demandContentId");
+                String demandContentTitle = demandItem.getString("demandContentTitle");
+                String demandContentTopic = demandItem.getString("demandContentTopic");
+                Integer crowdCount = demandItem.getInteger("crowdCount");
+                Integer videoCount = demandItem.getInteger("videoCount");
                 Long visitUv = demandItem.getLong("visitUv");
+                Double uvRatio = demandItem.getDouble("uvRatio");
                 Double totalRov = demandItem.getDouble("totalRov");
+                String onlineAction = demandItem.getString("onlineAction");
+                String matchExperimentId = demandItem.getString("matchExperimentId");
 
                 JSONArray matchedVideos = demandItem.getJSONArray("matchedVideos");
                 if (matchedVideos == null || matchedVideos.isEmpty()) {
@@ -96,8 +114,26 @@ public class ContentPlatformDemandVideoJob {
                     demandVideo.setPointType(pointType != null ? pointType : "");
                     demandVideo.setStandardElement(standardElement != null ? standardElement : "");
                     demandVideo.setCategoryName(categoryName != null ? categoryName : "");
+                    demandVideo.setDemandId(demandId != null ? demandId : "");
+                    demandVideo.setCrowdPackage(crowdPackage != null ? crowdPackage : "");
+                    demandVideo.setConversionTarget(conversionTarget != null ? conversionTarget : "");
+                    demandVideo.setPartner(partner != null ? partner : "");
+                    demandVideo.setAccount(account != null ? account : "");
+                    demandVideo.setSceneValue(sceneValue != null ? sceneValue : "");
+                    demandVideo.setDemandStrategy(demandStrategy != null ? demandStrategy : "");
+                    demandVideo.setDriveDimensionTime(driveDimensionTime != null ? driveDimensionTime : "");
+                    demandVideo.setDemandFilterSortStrategy(demandFilterSortStrategy != null ? demandFilterSortStrategy : "");
+                    demandVideo.setDemandType(demandType != null ? demandType : "");
+                    demandVideo.setDemandContentId(demandContentId != null ? demandContentId : "");
+                    demandVideo.setDemandContentTitle(demandContentTitle != null ? demandContentTitle : "");
+                    demandVideo.setDemandContentTopic(demandContentTopic != null ? demandContentTopic : "");
+                    demandVideo.setCrowdCount(crowdCount);
+                    demandVideo.setVideoCount(videoCount);
                     demandVideo.setVisitUv(visitUv);
+                    demandVideo.setUvRatio(uvRatio);
                     demandVideo.setTotalRov(totalRov);
+                    demandVideo.setOnlineAction(onlineAction != null ? onlineAction : "");
+                    demandVideo.setMatchExperimentId(matchExperimentId != null ? matchExperimentId : "");
                     demandVideo.setVideoId(videoItem.getLong("videoId"));
                     demandVideo.setConfigCode(videoItem.getString("configCode") != null ? videoItem.getString("configCode") : "");
                     demandVideo.setScore(videoItem.getDouble("score"));

+ 198 - 0
api-module/src/main/java/com/tzld/piaoquan/api/model/po/contentplatform/ContentPlatformDemandVideo.java

@@ -5,22 +5,58 @@ public class ContentPlatformDemandVideo {
 
     private String dt;
 
+    private String onlineAction;
+
     private String channelName;
 
     private String crowdSegment;
 
+    private String demandId;
+
+    private String crowdPackage;
+
+    private String conversionTarget;
+
+    private String partner;
+
+    private String account;
+
+    private String sceneValue;
+
+    private String demandStrategy;
+
+    private String driveDimensionTime;
+
     private String dimension;
 
+    private String demandFilterSortStrategy;
+
+    private String demandType;
+
+    private String demandContentId;
+
+    private String demandContentTitle;
+
+    private String demandContentTopic;
+
     private String pointType;
 
     private String standardElement;
 
     private String categoryName;
 
+    private Integer crowdCount;
+
+    private Integer videoCount;
+
     private Long visitUv;
 
+    private Double uvRatio;
+
     private Double totalRov;
 
+    private String matchExperimentId;
+
     private Long videoId;
 
     private String configCode;
@@ -61,6 +97,14 @@ public class ContentPlatformDemandVideo {
         this.dt = dt;
     }
 
+    public String getOnlineAction() {
+        return onlineAction;
+    }
+
+    public void setOnlineAction(String onlineAction) {
+        this.onlineAction = onlineAction;
+    }
+
     public String getChannelName() {
         return channelName;
     }
@@ -77,6 +121,70 @@ public class ContentPlatformDemandVideo {
         this.crowdSegment = crowdSegment;
     }
 
+    public String getDemandId() {
+        return demandId;
+    }
+
+    public void setDemandId(String demandId) {
+        this.demandId = demandId;
+    }
+
+    public String getCrowdPackage() {
+        return crowdPackage;
+    }
+
+    public void setCrowdPackage(String crowdPackage) {
+        this.crowdPackage = crowdPackage;
+    }
+
+    public String getConversionTarget() {
+        return conversionTarget;
+    }
+
+    public void setConversionTarget(String conversionTarget) {
+        this.conversionTarget = conversionTarget;
+    }
+
+    public String getPartner() {
+        return partner;
+    }
+
+    public void setPartner(String partner) {
+        this.partner = partner;
+    }
+
+    public String getAccount() {
+        return account;
+    }
+
+    public void setAccount(String account) {
+        this.account = account;
+    }
+
+    public String getSceneValue() {
+        return sceneValue;
+    }
+
+    public void setSceneValue(String sceneValue) {
+        this.sceneValue = sceneValue;
+    }
+
+    public String getDemandStrategy() {
+        return demandStrategy;
+    }
+
+    public void setDemandStrategy(String demandStrategy) {
+        this.demandStrategy = demandStrategy;
+    }
+
+    public String getDriveDimensionTime() {
+        return driveDimensionTime;
+    }
+
+    public void setDriveDimensionTime(String driveDimensionTime) {
+        this.driveDimensionTime = driveDimensionTime;
+    }
+
     public String getDimension() {
         return dimension;
     }
@@ -85,6 +193,46 @@ public class ContentPlatformDemandVideo {
         this.dimension = dimension;
     }
 
+    public String getDemandFilterSortStrategy() {
+        return demandFilterSortStrategy;
+    }
+
+    public void setDemandFilterSortStrategy(String demandFilterSortStrategy) {
+        this.demandFilterSortStrategy = demandFilterSortStrategy;
+    }
+
+    public String getDemandType() {
+        return demandType;
+    }
+
+    public void setDemandType(String demandType) {
+        this.demandType = demandType;
+    }
+
+    public String getDemandContentId() {
+        return demandContentId;
+    }
+
+    public void setDemandContentId(String demandContentId) {
+        this.demandContentId = demandContentId;
+    }
+
+    public String getDemandContentTitle() {
+        return demandContentTitle;
+    }
+
+    public void setDemandContentTitle(String demandContentTitle) {
+        this.demandContentTitle = demandContentTitle;
+    }
+
+    public String getDemandContentTopic() {
+        return demandContentTopic;
+    }
+
+    public void setDemandContentTopic(String demandContentTopic) {
+        this.demandContentTopic = demandContentTopic;
+    }
+
     public String getPointType() {
         return pointType;
     }
@@ -109,6 +257,22 @@ public class ContentPlatformDemandVideo {
         this.categoryName = categoryName;
     }
 
+    public Integer getCrowdCount() {
+        return crowdCount;
+    }
+
+    public void setCrowdCount(Integer crowdCount) {
+        this.crowdCount = crowdCount;
+    }
+
+    public Integer getVideoCount() {
+        return videoCount;
+    }
+
+    public void setVideoCount(Integer videoCount) {
+        this.videoCount = videoCount;
+    }
+
     public Long getVisitUv() {
         return visitUv;
     }
@@ -117,6 +281,14 @@ public class ContentPlatformDemandVideo {
         this.visitUv = visitUv;
     }
 
+    public Double getUvRatio() {
+        return uvRatio;
+    }
+
+    public void setUvRatio(Double uvRatio) {
+        this.uvRatio = uvRatio;
+    }
+
     public Double getTotalRov() {
         return totalRov;
     }
@@ -125,6 +297,14 @@ public class ContentPlatformDemandVideo {
         this.totalRov = totalRov;
     }
 
+    public String getMatchExperimentId() {
+        return matchExperimentId;
+    }
+
+    public void setMatchExperimentId(String matchExperimentId) {
+        this.matchExperimentId = matchExperimentId;
+    }
+
     public Long getVideoId() {
         return videoId;
     }
@@ -229,14 +409,32 @@ public class ContentPlatformDemandVideo {
         sb.append("Hash = ").append(hashCode());
         sb.append(", id=").append(id);
         sb.append(", dt=").append(dt);
+        sb.append(", onlineAction=").append(onlineAction);
         sb.append(", channelName=").append(channelName);
         sb.append(", crowdSegment=").append(crowdSegment);
+        sb.append(", demandId=").append(demandId);
+        sb.append(", crowdPackage=").append(crowdPackage);
+        sb.append(", conversionTarget=").append(conversionTarget);
+        sb.append(", partner=").append(partner);
+        sb.append(", account=").append(account);
+        sb.append(", sceneValue=").append(sceneValue);
+        sb.append(", demandStrategy=").append(demandStrategy);
+        sb.append(", driveDimensionTime=").append(driveDimensionTime);
         sb.append(", dimension=").append(dimension);
+        sb.append(", demandFilterSortStrategy=").append(demandFilterSortStrategy);
+        sb.append(", demandType=").append(demandType);
+        sb.append(", demandContentId=").append(demandContentId);
+        sb.append(", demandContentTitle=").append(demandContentTitle);
+        sb.append(", demandContentTopic=").append(demandContentTopic);
         sb.append(", pointType=").append(pointType);
         sb.append(", standardElement=").append(standardElement);
         sb.append(", categoryName=").append(categoryName);
+        sb.append(", crowdCount=").append(crowdCount);
+        sb.append(", videoCount=").append(videoCount);
         sb.append(", visitUv=").append(visitUv);
+        sb.append(", uvRatio=").append(uvRatio);
         sb.append(", totalRov=").append(totalRov);
+        sb.append(", matchExperimentId=").append(matchExperimentId);
         sb.append(", videoId=").append(videoId);
         sb.append(", configCode=").append(configCode);
         sb.append(", score=").append(score);

Разница между файлами не показана из-за своего большого размера
+ 1062 - 82
api-module/src/main/java/com/tzld/piaoquan/api/model/po/contentplatform/ContentPlatformDemandVideoExample.java


+ 296 - 11
api-module/src/main/resources/mapper/contentplatform/ContentPlatformDemandVideoMapper.xml

@@ -4,14 +4,32 @@
   <resultMap id="BaseResultMap" type="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformDemandVideo">
     <id column="id" jdbcType="BIGINT" property="id" />
     <result column="dt" jdbcType="VARCHAR" property="dt" />
+    <result column="online_action" jdbcType="VARCHAR" property="onlineAction" />
     <result column="channel_name" jdbcType="VARCHAR" property="channelName" />
     <result column="crowd_segment" jdbcType="VARCHAR" property="crowdSegment" />
+    <result column="demand_id" jdbcType="VARCHAR" property="demandId" />
+    <result column="crowd_package" jdbcType="VARCHAR" property="crowdPackage" />
+    <result column="conversion_target" jdbcType="VARCHAR" property="conversionTarget" />
+    <result column="partner" jdbcType="VARCHAR" property="partner" />
+    <result column="account" jdbcType="VARCHAR" property="account" />
+    <result column="scene_value" jdbcType="VARCHAR" property="sceneValue" />
+    <result column="demand_strategy" jdbcType="VARCHAR" property="demandStrategy" />
+    <result column="drive_dimension_time" jdbcType="VARCHAR" property="driveDimensionTime" />
     <result column="dimension" jdbcType="VARCHAR" property="dimension" />
+    <result column="demand_filter_sort_strategy" jdbcType="VARCHAR" property="demandFilterSortStrategy" />
+    <result column="demand_type" jdbcType="VARCHAR" property="demandType" />
+    <result column="demand_content_id" jdbcType="VARCHAR" property="demandContentId" />
+    <result column="demand_content_title" jdbcType="VARCHAR" property="demandContentTitle" />
+    <result column="demand_content_topic" jdbcType="VARCHAR" property="demandContentTopic" />
     <result column="point_type" jdbcType="VARCHAR" property="pointType" />
     <result column="standard_element" jdbcType="VARCHAR" property="standardElement" />
     <result column="category_name" jdbcType="VARCHAR" property="categoryName" />
+    <result column="crowd_count" jdbcType="INTEGER" property="crowdCount" />
+    <result column="video_count" jdbcType="INTEGER" property="videoCount" />
     <result column="visit_uv" jdbcType="BIGINT" property="visitUv" />
+    <result column="uv_ratio" jdbcType="DOUBLE" property="uvRatio" />
     <result column="total_rov" jdbcType="DOUBLE" property="totalRov" />
+    <result column="match_experiment_id" jdbcType="VARCHAR" property="matchExperimentId" />
     <result column="video_id" jdbcType="BIGINT" property="videoId" />
     <result column="config_code" jdbcType="VARCHAR" property="configCode" />
     <result column="score" jdbcType="DOUBLE" property="score" />
@@ -84,9 +102,12 @@
     </where>
   </sql>
   <sql id="Base_Column_List">
-    id, dt, channel_name, crowd_segment, dimension, point_type, standard_element, category_name, 
-    visit_uv, total_rov, video_id, config_code, score, sim, rov, match_text, title, cover, 
-    video, `status`, create_timestamp, update_timestamp
+    id, dt, online_action, channel_name, crowd_segment, demand_id, crowd_package, conversion_target, 
+    partner, account, scene_value, demand_strategy, drive_dimension_time, dimension, 
+    demand_filter_sort_strategy, demand_type, demand_content_id, demand_content_title, 
+    demand_content_topic, point_type, standard_element, category_name, crowd_count, video_count, 
+    visit_uv, uv_ratio, total_rov, match_experiment_id, video_id, config_code, score, 
+    sim, rov, match_text, title, cover, video, `status`, create_timestamp, update_timestamp
   </sql>
   <select id="selectByExample" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformDemandVideoExample" resultMap="BaseResultMap">
     select
@@ -122,18 +143,30 @@
     </if>
   </delete>
   <insert id="insert" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformDemandVideo">
-    insert into content_platform_demand_video (id, dt, channel_name, 
-      crowd_segment, dimension, point_type, 
-      standard_element, category_name, visit_uv, 
-      total_rov, video_id, config_code, 
+    insert into content_platform_demand_video (id, dt, online_action, 
+      channel_name, crowd_segment, demand_id, 
+      crowd_package, conversion_target, partner, 
+      account, scene_value, demand_strategy, 
+      drive_dimension_time, dimension, demand_filter_sort_strategy, 
+      demand_type, demand_content_id, demand_content_title, 
+      demand_content_topic, point_type, standard_element, 
+      category_name, crowd_count, video_count, 
+      visit_uv, uv_ratio, total_rov, 
+      match_experiment_id, video_id, config_code, 
       score, sim, rov, match_text, 
       title, cover, video, 
       `status`, create_timestamp, update_timestamp
       )
-    values (#{id,jdbcType=BIGINT}, #{dt,jdbcType=VARCHAR}, #{channelName,jdbcType=VARCHAR}, 
-      #{crowdSegment,jdbcType=VARCHAR}, #{dimension,jdbcType=VARCHAR}, #{pointType,jdbcType=VARCHAR}, 
-      #{standardElement,jdbcType=VARCHAR}, #{categoryName,jdbcType=VARCHAR}, #{visitUv,jdbcType=BIGINT}, 
-      #{totalRov,jdbcType=DOUBLE}, #{videoId,jdbcType=BIGINT}, #{configCode,jdbcType=VARCHAR}, 
+    values (#{id,jdbcType=BIGINT}, #{dt,jdbcType=VARCHAR}, #{onlineAction,jdbcType=VARCHAR}, 
+      #{channelName,jdbcType=VARCHAR}, #{crowdSegment,jdbcType=VARCHAR}, #{demandId,jdbcType=VARCHAR}, 
+      #{crowdPackage,jdbcType=VARCHAR}, #{conversionTarget,jdbcType=VARCHAR}, #{partner,jdbcType=VARCHAR}, 
+      #{account,jdbcType=VARCHAR}, #{sceneValue,jdbcType=VARCHAR}, #{demandStrategy,jdbcType=VARCHAR}, 
+      #{driveDimensionTime,jdbcType=VARCHAR}, #{dimension,jdbcType=VARCHAR}, #{demandFilterSortStrategy,jdbcType=VARCHAR}, 
+      #{demandType,jdbcType=VARCHAR}, #{demandContentId,jdbcType=VARCHAR}, #{demandContentTitle,jdbcType=VARCHAR}, 
+      #{demandContentTopic,jdbcType=VARCHAR}, #{pointType,jdbcType=VARCHAR}, #{standardElement,jdbcType=VARCHAR}, 
+      #{categoryName,jdbcType=VARCHAR}, #{crowdCount,jdbcType=INTEGER}, #{videoCount,jdbcType=INTEGER}, 
+      #{visitUv,jdbcType=BIGINT}, #{uvRatio,jdbcType=DOUBLE}, #{totalRov,jdbcType=DOUBLE}, 
+      #{matchExperimentId,jdbcType=VARCHAR}, #{videoId,jdbcType=BIGINT}, #{configCode,jdbcType=VARCHAR}, 
       #{score,jdbcType=DOUBLE}, #{sim,jdbcType=DOUBLE}, #{rov,jdbcType=DOUBLE}, #{matchText,jdbcType=VARCHAR}, 
       #{title,jdbcType=VARCHAR}, #{cover,jdbcType=VARCHAR}, #{video,jdbcType=VARCHAR}, 
       #{status,jdbcType=INTEGER}, #{createTimestamp,jdbcType=BIGINT}, #{updateTimestamp,jdbcType=BIGINT}
@@ -148,15 +181,57 @@
       <if test="dt != null">
         dt,
       </if>
+      <if test="onlineAction != null">
+        online_action,
+      </if>
       <if test="channelName != null">
         channel_name,
       </if>
       <if test="crowdSegment != null">
         crowd_segment,
       </if>
+      <if test="demandId != null">
+        demand_id,
+      </if>
+      <if test="crowdPackage != null">
+        crowd_package,
+      </if>
+      <if test="conversionTarget != null">
+        conversion_target,
+      </if>
+      <if test="partner != null">
+        partner,
+      </if>
+      <if test="account != null">
+        account,
+      </if>
+      <if test="sceneValue != null">
+        scene_value,
+      </if>
+      <if test="demandStrategy != null">
+        demand_strategy,
+      </if>
+      <if test="driveDimensionTime != null">
+        drive_dimension_time,
+      </if>
       <if test="dimension != null">
         dimension,
       </if>
+      <if test="demandFilterSortStrategy != null">
+        demand_filter_sort_strategy,
+      </if>
+      <if test="demandType != null">
+        demand_type,
+      </if>
+      <if test="demandContentId != null">
+        demand_content_id,
+      </if>
+      <if test="demandContentTitle != null">
+        demand_content_title,
+      </if>
+      <if test="demandContentTopic != null">
+        demand_content_topic,
+      </if>
       <if test="pointType != null">
         point_type,
       </if>
@@ -166,12 +241,24 @@
       <if test="categoryName != null">
         category_name,
       </if>
+      <if test="crowdCount != null">
+        crowd_count,
+      </if>
+      <if test="videoCount != null">
+        video_count,
+      </if>
       <if test="visitUv != null">
         visit_uv,
       </if>
+      <if test="uvRatio != null">
+        uv_ratio,
+      </if>
       <if test="totalRov != null">
         total_rov,
       </if>
+      <if test="matchExperimentId != null">
+        match_experiment_id,
+      </if>
       <if test="videoId != null">
         video_id,
       </if>
@@ -216,15 +303,57 @@
       <if test="dt != null">
         #{dt,jdbcType=VARCHAR},
       </if>
+      <if test="onlineAction != null">
+        #{onlineAction,jdbcType=VARCHAR},
+      </if>
       <if test="channelName != null">
         #{channelName,jdbcType=VARCHAR},
       </if>
       <if test="crowdSegment != null">
         #{crowdSegment,jdbcType=VARCHAR},
       </if>
+      <if test="demandId != null">
+        #{demandId,jdbcType=VARCHAR},
+      </if>
+      <if test="crowdPackage != null">
+        #{crowdPackage,jdbcType=VARCHAR},
+      </if>
+      <if test="conversionTarget != null">
+        #{conversionTarget,jdbcType=VARCHAR},
+      </if>
+      <if test="partner != null">
+        #{partner,jdbcType=VARCHAR},
+      </if>
+      <if test="account != null">
+        #{account,jdbcType=VARCHAR},
+      </if>
+      <if test="sceneValue != null">
+        #{sceneValue,jdbcType=VARCHAR},
+      </if>
+      <if test="demandStrategy != null">
+        #{demandStrategy,jdbcType=VARCHAR},
+      </if>
+      <if test="driveDimensionTime != null">
+        #{driveDimensionTime,jdbcType=VARCHAR},
+      </if>
       <if test="dimension != null">
         #{dimension,jdbcType=VARCHAR},
       </if>
+      <if test="demandFilterSortStrategy != null">
+        #{demandFilterSortStrategy,jdbcType=VARCHAR},
+      </if>
+      <if test="demandType != null">
+        #{demandType,jdbcType=VARCHAR},
+      </if>
+      <if test="demandContentId != null">
+        #{demandContentId,jdbcType=VARCHAR},
+      </if>
+      <if test="demandContentTitle != null">
+        #{demandContentTitle,jdbcType=VARCHAR},
+      </if>
+      <if test="demandContentTopic != null">
+        #{demandContentTopic,jdbcType=VARCHAR},
+      </if>
       <if test="pointType != null">
         #{pointType,jdbcType=VARCHAR},
       </if>
@@ -234,12 +363,24 @@
       <if test="categoryName != null">
         #{categoryName,jdbcType=VARCHAR},
       </if>
+      <if test="crowdCount != null">
+        #{crowdCount,jdbcType=INTEGER},
+      </if>
+      <if test="videoCount != null">
+        #{videoCount,jdbcType=INTEGER},
+      </if>
       <if test="visitUv != null">
         #{visitUv,jdbcType=BIGINT},
       </if>
+      <if test="uvRatio != null">
+        #{uvRatio,jdbcType=DOUBLE},
+      </if>
       <if test="totalRov != null">
         #{totalRov,jdbcType=DOUBLE},
       </if>
+      <if test="matchExperimentId != null">
+        #{matchExperimentId,jdbcType=VARCHAR},
+      </if>
       <if test="videoId != null">
         #{videoId,jdbcType=BIGINT},
       </if>
@@ -293,15 +434,57 @@
       <if test="record.dt != null">
         dt = #{record.dt,jdbcType=VARCHAR},
       </if>
+      <if test="record.onlineAction != null">
+        online_action = #{record.onlineAction,jdbcType=VARCHAR},
+      </if>
       <if test="record.channelName != null">
         channel_name = #{record.channelName,jdbcType=VARCHAR},
       </if>
       <if test="record.crowdSegment != null">
         crowd_segment = #{record.crowdSegment,jdbcType=VARCHAR},
       </if>
+      <if test="record.demandId != null">
+        demand_id = #{record.demandId,jdbcType=VARCHAR},
+      </if>
+      <if test="record.crowdPackage != null">
+        crowd_package = #{record.crowdPackage,jdbcType=VARCHAR},
+      </if>
+      <if test="record.conversionTarget != null">
+        conversion_target = #{record.conversionTarget,jdbcType=VARCHAR},
+      </if>
+      <if test="record.partner != null">
+        partner = #{record.partner,jdbcType=VARCHAR},
+      </if>
+      <if test="record.account != null">
+        account = #{record.account,jdbcType=VARCHAR},
+      </if>
+      <if test="record.sceneValue != null">
+        scene_value = #{record.sceneValue,jdbcType=VARCHAR},
+      </if>
+      <if test="record.demandStrategy != null">
+        demand_strategy = #{record.demandStrategy,jdbcType=VARCHAR},
+      </if>
+      <if test="record.driveDimensionTime != null">
+        drive_dimension_time = #{record.driveDimensionTime,jdbcType=VARCHAR},
+      </if>
       <if test="record.dimension != null">
         dimension = #{record.dimension,jdbcType=VARCHAR},
       </if>
+      <if test="record.demandFilterSortStrategy != null">
+        demand_filter_sort_strategy = #{record.demandFilterSortStrategy,jdbcType=VARCHAR},
+      </if>
+      <if test="record.demandType != null">
+        demand_type = #{record.demandType,jdbcType=VARCHAR},
+      </if>
+      <if test="record.demandContentId != null">
+        demand_content_id = #{record.demandContentId,jdbcType=VARCHAR},
+      </if>
+      <if test="record.demandContentTitle != null">
+        demand_content_title = #{record.demandContentTitle,jdbcType=VARCHAR},
+      </if>
+      <if test="record.demandContentTopic != null">
+        demand_content_topic = #{record.demandContentTopic,jdbcType=VARCHAR},
+      </if>
       <if test="record.pointType != null">
         point_type = #{record.pointType,jdbcType=VARCHAR},
       </if>
@@ -311,12 +494,24 @@
       <if test="record.categoryName != null">
         category_name = #{record.categoryName,jdbcType=VARCHAR},
       </if>
+      <if test="record.crowdCount != null">
+        crowd_count = #{record.crowdCount,jdbcType=INTEGER},
+      </if>
+      <if test="record.videoCount != null">
+        video_count = #{record.videoCount,jdbcType=INTEGER},
+      </if>
       <if test="record.visitUv != null">
         visit_uv = #{record.visitUv,jdbcType=BIGINT},
       </if>
+      <if test="record.uvRatio != null">
+        uv_ratio = #{record.uvRatio,jdbcType=DOUBLE},
+      </if>
       <if test="record.totalRov != null">
         total_rov = #{record.totalRov,jdbcType=DOUBLE},
       </if>
+      <if test="record.matchExperimentId != null">
+        match_experiment_id = #{record.matchExperimentId,jdbcType=VARCHAR},
+      </if>
       <if test="record.videoId != null">
         video_id = #{record.videoId,jdbcType=BIGINT},
       </if>
@@ -362,14 +557,32 @@
     update content_platform_demand_video
     set id = #{record.id,jdbcType=BIGINT},
       dt = #{record.dt,jdbcType=VARCHAR},
+      online_action = #{record.onlineAction,jdbcType=VARCHAR},
       channel_name = #{record.channelName,jdbcType=VARCHAR},
       crowd_segment = #{record.crowdSegment,jdbcType=VARCHAR},
+      demand_id = #{record.demandId,jdbcType=VARCHAR},
+      crowd_package = #{record.crowdPackage,jdbcType=VARCHAR},
+      conversion_target = #{record.conversionTarget,jdbcType=VARCHAR},
+      partner = #{record.partner,jdbcType=VARCHAR},
+      account = #{record.account,jdbcType=VARCHAR},
+      scene_value = #{record.sceneValue,jdbcType=VARCHAR},
+      demand_strategy = #{record.demandStrategy,jdbcType=VARCHAR},
+      drive_dimension_time = #{record.driveDimensionTime,jdbcType=VARCHAR},
       dimension = #{record.dimension,jdbcType=VARCHAR},
+      demand_filter_sort_strategy = #{record.demandFilterSortStrategy,jdbcType=VARCHAR},
+      demand_type = #{record.demandType,jdbcType=VARCHAR},
+      demand_content_id = #{record.demandContentId,jdbcType=VARCHAR},
+      demand_content_title = #{record.demandContentTitle,jdbcType=VARCHAR},
+      demand_content_topic = #{record.demandContentTopic,jdbcType=VARCHAR},
       point_type = #{record.pointType,jdbcType=VARCHAR},
       standard_element = #{record.standardElement,jdbcType=VARCHAR},
       category_name = #{record.categoryName,jdbcType=VARCHAR},
+      crowd_count = #{record.crowdCount,jdbcType=INTEGER},
+      video_count = #{record.videoCount,jdbcType=INTEGER},
       visit_uv = #{record.visitUv,jdbcType=BIGINT},
+      uv_ratio = #{record.uvRatio,jdbcType=DOUBLE},
       total_rov = #{record.totalRov,jdbcType=DOUBLE},
+      match_experiment_id = #{record.matchExperimentId,jdbcType=VARCHAR},
       video_id = #{record.videoId,jdbcType=BIGINT},
       config_code = #{record.configCode,jdbcType=VARCHAR},
       score = #{record.score,jdbcType=DOUBLE},
@@ -392,15 +605,57 @@
       <if test="dt != null">
         dt = #{dt,jdbcType=VARCHAR},
       </if>
+      <if test="onlineAction != null">
+        online_action = #{onlineAction,jdbcType=VARCHAR},
+      </if>
       <if test="channelName != null">
         channel_name = #{channelName,jdbcType=VARCHAR},
       </if>
       <if test="crowdSegment != null">
         crowd_segment = #{crowdSegment,jdbcType=VARCHAR},
       </if>
+      <if test="demandId != null">
+        demand_id = #{demandId,jdbcType=VARCHAR},
+      </if>
+      <if test="crowdPackage != null">
+        crowd_package = #{crowdPackage,jdbcType=VARCHAR},
+      </if>
+      <if test="conversionTarget != null">
+        conversion_target = #{conversionTarget,jdbcType=VARCHAR},
+      </if>
+      <if test="partner != null">
+        partner = #{partner,jdbcType=VARCHAR},
+      </if>
+      <if test="account != null">
+        account = #{account,jdbcType=VARCHAR},
+      </if>
+      <if test="sceneValue != null">
+        scene_value = #{sceneValue,jdbcType=VARCHAR},
+      </if>
+      <if test="demandStrategy != null">
+        demand_strategy = #{demandStrategy,jdbcType=VARCHAR},
+      </if>
+      <if test="driveDimensionTime != null">
+        drive_dimension_time = #{driveDimensionTime,jdbcType=VARCHAR},
+      </if>
       <if test="dimension != null">
         dimension = #{dimension,jdbcType=VARCHAR},
       </if>
+      <if test="demandFilterSortStrategy != null">
+        demand_filter_sort_strategy = #{demandFilterSortStrategy,jdbcType=VARCHAR},
+      </if>
+      <if test="demandType != null">
+        demand_type = #{demandType,jdbcType=VARCHAR},
+      </if>
+      <if test="demandContentId != null">
+        demand_content_id = #{demandContentId,jdbcType=VARCHAR},
+      </if>
+      <if test="demandContentTitle != null">
+        demand_content_title = #{demandContentTitle,jdbcType=VARCHAR},
+      </if>
+      <if test="demandContentTopic != null">
+        demand_content_topic = #{demandContentTopic,jdbcType=VARCHAR},
+      </if>
       <if test="pointType != null">
         point_type = #{pointType,jdbcType=VARCHAR},
       </if>
@@ -410,12 +665,24 @@
       <if test="categoryName != null">
         category_name = #{categoryName,jdbcType=VARCHAR},
       </if>
+      <if test="crowdCount != null">
+        crowd_count = #{crowdCount,jdbcType=INTEGER},
+      </if>
+      <if test="videoCount != null">
+        video_count = #{videoCount,jdbcType=INTEGER},
+      </if>
       <if test="visitUv != null">
         visit_uv = #{visitUv,jdbcType=BIGINT},
       </if>
+      <if test="uvRatio != null">
+        uv_ratio = #{uvRatio,jdbcType=DOUBLE},
+      </if>
       <if test="totalRov != null">
         total_rov = #{totalRov,jdbcType=DOUBLE},
       </if>
+      <if test="matchExperimentId != null">
+        match_experiment_id = #{matchExperimentId,jdbcType=VARCHAR},
+      </if>
       <if test="videoId != null">
         video_id = #{videoId,jdbcType=BIGINT},
       </if>
@@ -458,14 +725,32 @@
   <update id="updateByPrimaryKey" parameterType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformDemandVideo">
     update content_platform_demand_video
     set dt = #{dt,jdbcType=VARCHAR},
+      online_action = #{onlineAction,jdbcType=VARCHAR},
       channel_name = #{channelName,jdbcType=VARCHAR},
       crowd_segment = #{crowdSegment,jdbcType=VARCHAR},
+      demand_id = #{demandId,jdbcType=VARCHAR},
+      crowd_package = #{crowdPackage,jdbcType=VARCHAR},
+      conversion_target = #{conversionTarget,jdbcType=VARCHAR},
+      partner = #{partner,jdbcType=VARCHAR},
+      account = #{account,jdbcType=VARCHAR},
+      scene_value = #{sceneValue,jdbcType=VARCHAR},
+      demand_strategy = #{demandStrategy,jdbcType=VARCHAR},
+      drive_dimension_time = #{driveDimensionTime,jdbcType=VARCHAR},
       dimension = #{dimension,jdbcType=VARCHAR},
+      demand_filter_sort_strategy = #{demandFilterSortStrategy,jdbcType=VARCHAR},
+      demand_type = #{demandType,jdbcType=VARCHAR},
+      demand_content_id = #{demandContentId,jdbcType=VARCHAR},
+      demand_content_title = #{demandContentTitle,jdbcType=VARCHAR},
+      demand_content_topic = #{demandContentTopic,jdbcType=VARCHAR},
       point_type = #{pointType,jdbcType=VARCHAR},
       standard_element = #{standardElement,jdbcType=VARCHAR},
       category_name = #{categoryName,jdbcType=VARCHAR},
+      crowd_count = #{crowdCount,jdbcType=INTEGER},
+      video_count = #{videoCount,jdbcType=INTEGER},
       visit_uv = #{visitUv,jdbcType=BIGINT},
+      uv_ratio = #{uvRatio,jdbcType=DOUBLE},
       total_rov = #{totalRov,jdbcType=DOUBLE},
+      match_experiment_id = #{matchExperimentId,jdbcType=VARCHAR},
       video_id = #{videoId,jdbcType=BIGINT},
       config_code = #{configCode,jdbcType=VARCHAR},
       score = #{score,jdbcType=DOUBLE},

+ 15 - 3
api-module/src/main/resources/mapper/contentplatform/ext/ContentPlatformDemandVideoMapperExt.xml

@@ -5,12 +5,20 @@
     <insert id="batchInsert" parameterType="java.util.List">
         INSERT INTO content_platform_demand_video
         (dt, channel_name, crowd_segment, dimension, point_type, standard_element,
-         category_name, visit_uv, total_rov, video_id, config_code, score, sim, rov,
+         category_name, demand_id, crowd_package, conversion_target, partner, account, scene_value,
+         demand_strategy, drive_dimension_time, demand_filter_sort_strategy, demand_type,
+         demand_content_id, demand_content_title, demand_content_topic,
+         crowd_count, video_count, visit_uv, uv_ratio, total_rov, online_action, match_experiment_id,
+         video_id, config_code, score, sim, rov,
          match_text, title, cover, video, status, create_timestamp, update_timestamp)
         VALUES
         <foreach collection="list" item="item" separator=",">
             (#{item.dt}, #{item.channelName}, #{item.crowdSegment}, #{item.dimension}, #{item.pointType}, #{item.standardElement},
-             #{item.categoryName}, #{item.visitUv}, #{item.totalRov}, #{item.videoId}, #{item.configCode}, #{item.score}, #{item.sim}, #{item.rov},
+             #{item.categoryName}, #{item.demandId}, #{item.crowdPackage}, #{item.conversionTarget}, #{item.partner}, #{item.account}, #{item.sceneValue},
+             #{item.demandStrategy}, #{item.driveDimensionTime}, #{item.demandFilterSortStrategy}, #{item.demandType},
+             #{item.demandContentId}, #{item.demandContentTitle}, #{item.demandContentTopic},
+             #{item.crowdCount}, #{item.videoCount}, #{item.visitUv}, #{item.uvRatio}, #{item.totalRov}, #{item.onlineAction}, #{item.matchExperimentId},
+             #{item.videoId}, #{item.configCode}, #{item.score}, #{item.sim}, #{item.rov},
              #{item.matchText}, #{item.title}, #{item.cover}, #{item.video}, #{item.status}, #{item.createTimestamp}, #{item.updateTimestamp})
         </foreach>
     </insert>
@@ -21,7 +29,11 @@
 
     <select id="selectByCondition" resultType="com.tzld.piaoquan.api.model.po.contentplatform.ContentPlatformDemandVideo">
         SELECT id, dt, channel_name, crowd_segment, dimension, point_type, standard_element,
-               category_name, visit_uv, total_rov, video_id, config_code, score, sim, rov,
+               category_name, demand_id, crowd_package, conversion_target, partner, account, scene_value,
+               demand_strategy, drive_dimension_time, demand_filter_sort_strategy, demand_type,
+               demand_content_id, demand_content_title, demand_content_topic,
+               crowd_count, video_count, visit_uv, uv_ratio, total_rov, online_action, match_experiment_id,
+               video_id, config_code, score, sim, rov,
                match_text, title, cover, video, status, create_timestamp, update_timestamp
         FROM content_platform_demand_video
         WHERE dt = #{dt} AND status = 1

Некоторые файлы не были показаны из-за большого количества измененных файлов