Commit 9fb0bfe0 authored by 赵建伟's avatar 赵建伟

update codes

parent 921af55b
......@@ -72,6 +72,7 @@ public class CtrEstimatePfrMysqlSink extends RichSinkFunction<DeviceCurrentEstim
private void insertAndDel(DeviceCurrentEstimatePfrTmp deviceCurrentEstimatePfrTmp) {
Statement statement = null;
Date date = new Date();
if(null != deviceCurrentEstimatePfrTmp){
try{
statement = connection.createStatement();
statement.executeUpdate(
......@@ -122,4 +123,5 @@ public class CtrEstimatePfrMysqlSink extends RichSinkFunction<DeviceCurrentEstim
e.printStackTrace();
}
}
}
}
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