balmung 发表于 2021-10-21 11:57:30

【求助】jeecgboot启动后每10秒执行一次查询

Opening JDBC Connection
Opening JDBC Connection
==>Preparing: select RES.* from ACT_RU_JOB RES LEFT OUTER JOIN ACT_RU_EXECUTION PI ON PI.ID_ = RES.PROCESS_INSTANCE_ID_ where (RES.RETRIES_ > 0) and (RES.DUEDATE_ is null or RES.DUEDATE_ <= ?) and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ <= ?) and TYPE_ = 'timer' and ( (RES.EXECUTION_ID_ is null) or (PI.SUSPENSION_STATE_ = 1) ) LIMIT ? OFFSET ?
==>Preparing: select RES.* from ACT_RU_JOB RES LEFT OUTER JOIN ACT_RU_EXECUTION PI ON PI.ID_ = RES.PROCESS_INSTANCE_ID_ where RES.RETRIES_ > 0 and ( (RES.DUEDATE_ is not null and RES.DUEDATE_ <= ? and RES.LOCK_EXP_TIME_ is null) or (RES.LOCK_EXP_TIME_ is not null and RES.LOCK_EXP_TIME_ <= ?) ) and TYPE_ = 'message' and ( (RES.EXECUTION_ID_ is null) or (PI.SUSPENSION_STATE_ = 1) ) LIMIT ? OFFSET ?
==> Parameters: 2021-10-21 11:55:54.889(Timestamp), 2021-10-21 11:55:54.889(Timestamp), 1(Integer), 0(Integer)
==> Parameters: 2021-10-21 11:55:54.889(Timestamp), 2021-10-21 11:55:54.889(Timestamp), 1(Integer), 0(Integer)
<==      Total: 0
<==      Total: 0
Closing JDBC Connection ]
Closing JDBC Connection ]
请教一下,项目在启动后每10秒查询一次的sql是有什么目的嘛?
我这看ACT_RU_JOB表都是空的,也和前台没有关系,不知道如何断点,希望各位指教下。
页: [1]
查看完整版本: 【求助】jeecgboot启动后每10秒执行一次查询