接口 HistoryConfigInfoMapper

    • 方法详细资料

      • removeConfigHistory

        java.lang.String removeConfigHistory()
        Delete data before startTime. The default sql: DELETE FROM his_config_info WHERE gmt_modified < ? LIMIT ?
        返回:
        The sql of deleting data before startTime.
      • findConfigHistoryCountByTime

        java.lang.String findConfigHistoryCountByTime()
        Get the number of configurations before the specified time. The default sql: SELECT count(*) FROM his_config_info WHERE gmt_modified < ?
        返回:
        The sql of getting the number of configurations before the specified time.
      • findDeletedConfig

        java.lang.String findDeletedConfig()
        Query deleted config. The default sql: SELECT DISTINCT data_id, group_id, tenant_id FROM his_config_info WHERE op_type = 'D' AND gmt_modified >=? AND gmt_modified <= ?
        返回:
        The sql of querying deleted config.
      • findConfigHistoryFetchRows

        java.lang.String findConfigHistoryFetchRows()
        List configuration history change record. The default sql: SELECT nid,data_id,group_id,tenant_id,app_name,src_ip,src_user,op_type,gmt_create,gmt_modified FROM his_config_info WHERE data_id = ? AND group_id = ? AND tenant_id = ? ORDER BY nid DESC
        返回:
        The sql of listing configuration history change record.
      • detailPreviousConfigHistory

        java.lang.String detailPreviousConfigHistory()
        Get previous config detail. The default sql: SELECT nid,data_id,group_id,tenant_id,app_name,content,md5,src_user,src_ip,op_type,gmt_create,gmt_modified FROM his_config_info WHERE nid = (SELECT max(nid) FROM his_config_info WHERE id = ?)
        返回:
        The sql of getting previous config detail.