Commit c638a07c authored by 赵建伟's avatar 赵建伟

update codes

parent b32d8a32
......@@ -207,7 +207,7 @@
</filters>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>com.gmei.data.ctr.main.TestCtrPfrCrtMain</mainClass>
<mainClass>com.gmei.data.ctr.main.TestCtrPfrRctMain</mainClass>
</transformer>
</transformers>
<createDependencyReducedPom>false</createDependencyReducedPom>
......
......@@ -72,6 +72,7 @@ public class CtrPfrRctMysqlSink extends RichSinkFunction<CtrPfrRctBean> {
}
private void insertAndDel(CtrPfrRctBean ctrPfrRctBean) {
if(null != ctrPfrRctBean){
Statement statement = null;
Date date = new Date();
String timeStr = DateUtil.getTimeStr(date);
......@@ -309,6 +310,7 @@ public class CtrPfrRctMysqlSink extends RichSinkFunction<CtrPfrRctBean> {
}
}
}
}
private LinkedList<PfrRecentInfo> getNewQueue(LinkedList<PfrRecentInfo> oldQueue, String pfrStr, String timeStr, Integer queueSize ){
LinkedList<PfrRecentInfo> newQueue = new LinkedList<>();
......
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