提交 abf58f8c 编写于 作者: journey2018's avatar journey2018

Merge remote-tracking branch 'remotes/upstream/branch-1.0.2' into branch-1.0.2

...@@ -57,6 +57,8 @@ Easy Scheduler ...@@ -57,6 +57,8 @@ Easy Scheduler
### 帮助 ### 帮助
The fastest way to get response from our developers is to submit issues, or add our wechat : 510570367 The fastest way to get response from our developers is to submit issues, or add our wechat : 510570367
......
docs/zh_CN/images/global_parameter.png

101.3 KB | W: | H:

docs/zh_CN/images/global_parameter.png

113.4 KB | W: | H:

docs/zh_CN/images/global_parameter.png
docs/zh_CN/images/global_parameter.png
docs/zh_CN/images/global_parameter.png
docs/zh_CN/images/global_parameter.png
  • 2-up
  • Swipe
  • Onion skin
# 快速上手 # 快速上手
* 管理员用户登录 * 管理员用户登录
>地址:192.168.xx.xx:8888 用户名密码:admin/esheduler123 >地址:192.168.xx.xx:8888 用户名密码:admin/escheduler123
<p align="center"> <p align="center">
<img src="https://analysys.github.io/easyscheduler_docs_cn/images/login.jpg" width="60%" /> <img src="https://analysys.github.io/easyscheduler_docs_cn/images/login.jpg" width="60%" />
......
...@@ -230,6 +230,8 @@ public class QuartzExecutors { ...@@ -230,6 +230,8 @@ public class QuartzExecutors {
if(scheduler.checkExists(jobKey)){ if(scheduler.checkExists(jobKey)){
logger.info("try to delete job, job name: {}, job group name: {},", jobName, jobGroupName); logger.info("try to delete job, job name: {}, job group name: {},", jobName, jobGroupName);
return scheduler.deleteJob(jobKey); return scheduler.deleteJob(jobKey);
}else {
return true;
} }
} catch (SchedulerException e) { } catch (SchedulerException e) {
......
...@@ -189,6 +189,12 @@ public class SqlTask extends AbstractTask { ...@@ -189,6 +189,12 @@ public class SqlTask extends AbstractTask {
return new SqlBinds(sqlBuilder.toString(), sqlParamsMap); return new SqlBinds(sqlBuilder.toString(), sqlParamsMap);
} }
if (StringUtils.isNotEmpty(sqlParameters.getTitle())){
String title = ParameterUtils.convertParameterPlaceholders(sqlParameters.getTitle(), ParamUtils.convert(paramsMap));
logger.info(title);
sqlParameters.setTitle(title);
}
// special characters need to be escaped, ${} needs to be escaped // special characters need to be escaped, ${} needs to be escaped
String rgex = "'?\\$\\{(.*?)\\}'?"; String rgex = "'?\\$\\{(.*?)\\}'?";
setSqlParamsMap(sql,rgex,sqlParamsMap,paramsMap); setSqlParamsMap(sql,rgex,sqlParamsMap,paramsMap);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册