update - 优化扩展任务实例表的数据处理
This commit is contained in:
parent
22a8d55c77
commit
d67748b9f0
@ -41,9 +41,11 @@ public class OperationDataJobHandler extends IJobHandler {
|
||||
@XxlJob("executeDynamicSql")
|
||||
public ReturnT<String> execute(String s) throws Exception {
|
||||
if (StringUtils.hasText(s)) {
|
||||
XxlJobLogger.log("执行动态 sql");
|
||||
List<Map<String, Object>> maps = commonMapper.executeDynamicSQL(s);
|
||||
XxlJobLogger.log("result: {}", JSON.toJSONString(maps));
|
||||
} else {
|
||||
XxlJobLogger.log("仅修复 extAxTaskInst 表数据");
|
||||
repairData();
|
||||
}
|
||||
return ReturnT.SUCCESS;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user