public boolean createJob(BusinessJobConfig jobConfig) {
        if (null == jobConfig) {
            log.info("参数jobConfig 不能为空！");
            return false;
        } else if (!StringUtils.isBlank(jobConfig.getServiceName()) && !StringUtils.isBlank(jobConfig.getMethodName()) && !StringUtils.isBlank(jobConfig.getCronExpression())) {
            if (null == jobConfig.getParams()) {
                jobConfig.setParams(new HashMap());
            }
            if (this.jobManager.createJob(jobConfig)) {
                log.info("创建任务成功 -> 服务名称：" + jobConfig.getServiceName() + " 方法名称：" + jobConfig.getMethodName() + " 表达式：" + jobConfig.getCronExpression() + " id：" + jobConfig.getId());
                return true;
            } else {
                log.info("创建任务失败 -> 任务已存在," + jobConfig.getServiceName() + " 方法名称：" + jobConfig.getMethodName() + " id：" + jobConfig.getId());
                return false;
            }
        } else {
            log.info("创建任务失败，由于服务名称、方法名称或表达式为空。服务名称：" + jobConfig.getServiceName() + " 方法名称：" + jobConfig.getMethodName() + " 表达式：" + jobConfig.getCronExpression() + " id：" + jobConfig.getId());
            return false;
        }
    }
@Test
    public void should_create_job() throws Exception {
        BusinessJobConfig jobConfig = new BusinessJobConfig();
        jobConfig.setServiceName("testApp");
        jobConfig.setMethodName("run");
        jobConfig.setId("testApp");
        jobConfig.setCronExpression("0/5 * * * * ?");
        jobConfig.setStatus("1");
        jobConfig.setRunAsAdmin(false);

        Map<String, Object> params = new HashMap<>();
        params.put("jobName", "testApp");
        params.put("messageId", "testApp");
        jobConfig.setParams(params);
        jobService.createJob(jobConfig);
        for (int i = 0; i < 10; i++) {
            Thread.sleep(10000);
        }
    }