Commit 751cdca6 authored by 王志伟's avatar 王志伟

统计运维想要数据

parent 3498d4c8
...@@ -97,13 +97,23 @@ object app_list { ...@@ -97,13 +97,23 @@ object app_list {
) )
app_list.show() app_list.show()
GmeiConfig.writeToJDBCTable("jdbc:mysql://172.16.40.158:4000/jerry_prod?user=root&password=3SYz54LS9#^9sBvC&rewriteBatchedStatements=true",app_list, table="app_list_yunying",SaveMode.Append)
val result1 = app_list
result1.show()
println("开始写入")
GmeiConfig.writeToJDBCTable("jdbc:mysql://172.16.40.158:4000/jerry_prod?user=root&password=3SYz54LS9#^9sBvC&rewriteBatchedStatements=true",result1, table="app_list_yunying",SaveMode.Append)
println("写入完成") println("写入完成")
} }
......
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