|
@@ -3,6 +3,7 @@
|
|
|
*/
|
|
|
package com.platomix.userprofile;
|
|
|
|
|
|
+import java.io.IOException;
|
|
|
import java.time.LocalDate;
|
|
|
import java.time.format.DateTimeFormatter;
|
|
|
import java.util.Arrays;
|
|
@@ -132,7 +133,7 @@ public class Application {
|
|
|
xxhTagManager.xxhFromEtlSp(permonth);
|
|
|
}
|
|
|
/**
|
|
|
- * 退订订ding todo
|
|
|
+ * 退订订ding
|
|
|
*/
|
|
|
//退订数据准备 先调用这个准备数据,然后取TensorFlow训练,并预测 ?月结果
|
|
|
if (sendTp.equals("z_cancel_data")) {
|
|
@@ -140,6 +141,22 @@ public class Application {
|
|
|
manager.tagCancelDataC4(permonth,-1,true);
|
|
|
manager.tagCancelDataC4V2(permonth);
|
|
|
}
|
|
|
+ /**
|
|
|
+ * 从135 向新的库拷贝
|
|
|
+ */
|
|
|
+ if (sendTp.equals("copy_table")) {
|
|
|
+ XxhTagManager tagHandler = applicationContext.getBean(XxhTagManager.class);
|
|
|
+
|
|
|
+ if (args != null && args.length > 0) {
|
|
|
+ String sql = args[1];
|
|
|
+ try {
|
|
|
+ tagHandler.createTables(sql);
|
|
|
+ } catch (IOException e) {
|
|
|
+ e.printStackTrace();
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
if(sendTp.equals("collect_all_tag")){
|
|
|
applicationContext.getBean("collectAllTagHandler", AbstractTagHandler.class).handle(permonth);
|
|
|
}
|