接口 ConfigTagsRelationMapper

    • 方法详细资料

      • findConfigInfo4PageCountRows

        java.lang.String findConfigInfo4PageCountRows​(java.util.Map<java.lang.String,​java.lang.String> params,
                                                      int tagSize)
        Get the count of config info. The default sql: SELECT count(*) FROM config_info WHERE ...
        参数:
        params - The map of params, the key is the parameter name(dataId, groupId, tenantId, appName, startTime, endTime, content), the value is the key's value.
        tagSize - the tags name size.
        返回:
        The sql of get config info.
      • findConfigInfo4PageFetchRows

        java.lang.String findConfigInfo4PageFetchRows​(java.util.Map<java.lang.String,​java.lang.String> params,
                                                      int tagSize,
                                                      int startRow,
                                                      int pageSize)
        Find config info. The default sql: SELECT a.id,a.data_id,a.group_id,a.tenant_id,a.app_name,a.content FROM config_info a LEFT JOIN config_tags_relation b ON a.id=b.i ...
        参数:
        params - The keys and values are dataId and group.
        tagSize - the tags name size.
        startRow - The start index.
        pageSize - The size of page.
        返回:
        The sql of finding config info.
      • findConfigInfoLike4PageCountRows

        java.lang.String findConfigInfoLike4PageCountRows​(java.util.Map<java.lang.String,​java.lang.String> params,
                                                          int tagSize)
        Get the count of config information by config tags relation. The default sql: SELECT count(*) FROM config_info a LEFT JOIN config_tags_relation b ON a.id=b.id
        参数:
        params - the keys and values are dataId and group.
        tagSize - the tags name size.
        返回:
        The sql of getting the count of config information.
      • findConfigInfoLike4PageFetchRows

        java.lang.String findConfigInfoLike4PageFetchRows​(java.util.Map<java.lang.String,​java.lang.String> params,
                                                          int tagSize,
                                                          int startRow,
                                                          int pageSize)
        Query config info. The default sql: SELECT a.id,a.data_id,a.group_id,a.tenant_id,a.app_name,a.content FROM config_info a LEFT JOIN config_tags_relation b ON a.id=b.id
        参数:
        params - the keys and values are dataId and group.
        tagSize - the tags name size.
        startRow - The start index.
        pageSize - The size of page.
        返回:
        The sql of querying config info.