Skip to content

Commit

Permalink
0003601: Can't save custom job on Postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
erilong committed Jun 13, 2018
1 parent 14d2013 commit 132be73
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -214,7 +214,7 @@ public int compare(IJob job1, IJob job2) {
@Override
public void saveJob(JobDefinition job) {
Object[] args = { job.getDescription(), job.getJobType().toString(),
job.getJobExpression(), job.isDefaultAutomaticStartup(), job.getDefaultSchedule(),
job.getJobExpression(), job.isDefaultAutomaticStartup() ? 1 : 0, job.getDefaultSchedule(),
job.getNodeGroupId(), job.getCreateBy(), job.getLastUpdateBy(), job.getJobName() };

if (sqlTemplate.update(getSql("updateJobSql"), args) <= 0) {
Expand Down

0 comments on commit 132be73

Please sign in to comment.