Commit 15fe67a5 authored by 王志伟's avatar 王志伟

更改评估指标日期

parent 6b190aaa
...@@ -342,6 +342,7 @@ object Repeated_content_recommendation_moreday { ...@@ -342,6 +342,7 @@ object Repeated_content_recommendation_moreday {
val repeated_rate= fenmu / fenzi.toDouble val repeated_rate= fenmu / fenzi.toDouble
val result=List((yesterday,repeated_rate)) val result=List((yesterday,repeated_rate))
println(result)
val df_result = sc.createDataFrame(result) val df_result = sc.createDataFrame(result)
GmeiConfig.writeToJDBCTable(df_result, table = "Repeated_content_recommendation_moreday", SaveMode.Append) GmeiConfig.writeToJDBCTable(df_result, table = "Repeated_content_recommendation_moreday", SaveMode.Append)
...@@ -351,10 +352,7 @@ object Repeated_content_recommendation_moreday { ...@@ -351,10 +352,7 @@ object Repeated_content_recommendation_moreday {
// GmeiConfig.writeToJDBCTable(df, table = "Repeated_evaluation_indicator_moreday", SaveMode.Append) // GmeiConfig.writeToJDBCTable(df, table = "Repeated_evaluation_indicator_moreday", SaveMode.Append)
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment