update - 优化扩展任务实例表的数据处理

This commit is contained in:
wangli 2024-04-28 15:31:18 +08:00
parent 22a8d55c77
commit d67748b9f0

View File

@ -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;