修改引用的注解

parent c585aa1f
......@@ -682,7 +682,7 @@ public class ApiFlowServiceImpl implements ApiFlowService {
public RunRecordingVo loadScheduleLog(String param) {
ValidationUtil.dataNotBank(param, "请求参数不允许为空!");
JSONObject jsonObject = JSON.parseObject(param);
String runId = jsonObject.getString("runId0");
String runId = jsonObject.getString("runId");
ValidationUtil.dataNotBank(runId, "运行实例不允许为空!");
String flowName = jsonObject.getString("flowName");
ValidationUtil.dataNotBank(flowName, "工作流名称不允许为空!");
......
package com.byit.job.utils;
import com.sun.istack.internal.Nullable;
import com.byit.annotation.annotationselector.NotNull;
import org.apache.commons.lang3.StringUtils;
import java.time.*;
......@@ -21,7 +21,7 @@ public class DateUtil {
* @param formatStr 转换格式
* @return 标准的时间格式
*/
public static String dateFormat(Date date,@Nullable String formatStr){
public static String dateFormat(Date date,@NotNull String formatStr){
LocalDateTime localDateTime = dateToLocalDateTime(date);
String dateFormat;
if(StringUtils.isNotBlank(formatStr)){
......@@ -193,7 +193,7 @@ public class DateUtil {
}
public static void main(String[] args) {
System.out.println(DateUtil.dateLessDayStr(new Date(), "yyyyMMddHHmmss", 1));
}
// public static void main(String[] args) {
// System.out.println(DateUtil.dateLessDayStr(new Date(), "yyyyMMddHHmmss", 1));
// }
}
......@@ -77,7 +77,7 @@ public class ScriptAddFlow {
scriptParamAndPlaceholderDto.setPlaceholder(map);
pluginNode2.setScriptParam(scriptParamAndPlaceholderDto);
pluginNode2.setRunCommand("python");
pluginNode2.setRunCommand("python ${biz_file}");
pluginNodeConfig2.setFailedRetryCount(2);
pluginNodeConfig2.setFailedRetryInterval(TimeUnit.MINUTES.toSeconds(2));
pluginNodeConfig2.setNodeCron("0 0/7 * * * ? *");
......
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