|
@@ -11,6 +11,7 @@ import com.winhc.dataworks.flow.touch.bean.*;
|
|
|
import com.winhc.dataworks.flow.touch.configuration.DataWorksAccessProperties;
|
|
|
import com.winhc.dataworks.flow.touch.configuration.SchemaInit;
|
|
|
import com.winhc.dataworks.flow.touch.service.OdpsService;
|
|
|
+import com.winhc.dataworks.flow.touch.service.SendJobStatus;
|
|
|
import com.winhc.dataworks.flow.touch.service.TouchService;
|
|
|
import com.winhc.dataworks.flow.touch.utils.DateUtils;
|
|
|
import com.winhc.dataworks.flow.touch.utils.DingUtils;
|
|
@@ -141,6 +142,11 @@ public class Main {
|
|
|
String odpsCmdPath = commandLine.getOptionValue("odps");
|
|
|
dd.send(msg);
|
|
|
bean.start(bizDate, jobs, odpsCmdPath);
|
|
|
+ // 指定job结束后发送通知
|
|
|
+ if (fileName.endsWith("step03.yaml")) {
|
|
|
+ SendJobStatus sendJobStatus = context.getBean(SendJobStatus.class);
|
|
|
+ sendJobStatus.sendJobStatus();
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
} catch (ParseException e) {
|