Commit ef048732 authored by yanzg's avatar yanzg

修改实例化关系

parent 97481ee5
......@@ -27,7 +27,7 @@ public class MessageLogDaoImpl extends BaseDaoImpl implements MessageLogDao, Ini
" INDEX `IndexLastTime` (`lastTime`), " +
" UNIQUE INDEX `IndexQueueMessageId` (`queue`,`messageId`) " +
") ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='消息任务表'";
private static final String REMOVE_TABLE_SQL = "DELETE queue_log WHERE IndexLastTime<NOW()";
private static final String REMOVE_TABLE_SQL = "DELETE FROM queue_log WHERE lastTime<NOW()";
private static final String CALC_TABLE_SQL = "optimize table queue_log";
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment