@Override
    @Async
    public void onApplicationEvent(ContextRefreshedEvent event) {
        // Successfully set up startup
        String currentVersion = ConfigUtils.getLocalVersion();
        ConfigJson configJson = ConfigUtils.getConfig();
        if (StringUtils.isNotBlank(currentVersion) && !StringUtils.equals(currentVersion,
            configJson.getLatestStartupSuccessVersion())) {
            configJson.setLatestStartupSuccessVersion(currentVersion);
            ConfigUtils.setConfig(configJson);
        }
        Dbutils.init();
    }
Execute tasks after startup is completed

@author Jiaju Zhuang
chat2db-server/chat2db-server-web-start/src/main/java/ai/chat2db/server/web/start/config/config/AsyncContextRefreshedListener.java