| | |
| | | fseJob.setValue("status", 1); |
| | | sysJobService.resumeJob(fse.getString("time_task_uuid")); |
| | | } |
| | | if (StringUtils.isEmpty(fse.getString("time_task_uuid"))) { |
| | | sysJobService.insertJob(fseJob); |
| | | fse.setValue("time_task_uuid", fseJob.getUUID()); |
| | | } |
| | | fseJob.setValue("is_conceal", 1); |
| | | fseJob.setValue("uuid", fse.getString("time_task_uuid")); |
| | | sysJobService.updateJob(fseJob); |
| | |
| | | |
| | | /** |
| | | * 批量修改预警时间 |
| | | * |
| | | * @param fse |
| | | * @return |
| | | * @throws SchedulerException |
| | |
| | | Map<String, String> fieldReference = new HashMap<>(); //组合相关字段的参照,tableName1fieldName-->referenceName |
| | | StringBuilder concatField = new StringBuilder(); //组合相关字段,tableName1.fieldName tableName1fieldName |
| | | earlyWarningServer.parseWarningContent(warnCondition, concatField, tableNameAndAlias, fieldAndAlias, fieldReference); |
| | | |
| | | //生成主子表关联SQL |
| | | String relationSQL = earlyWarningServer.createTableRelation(tableNameAndAlias, mainTableName); |
| | | |
| | |
| | | |
| | | /** |
| | | * 获取消息接收人 |
| | | * |
| | | * @param parent_uuid |
| | | * @return |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 预警反馈-列表 |
| | | * |
| | | * @param fse |
| | | * @return |
| | | */ |