接口 ConfigInfoGrayMapper

所有超级接口:
Mapper
所有已知实现类:
ConfigInfoGrayMapperByDerby, ConfigInfoGrayMapperByMySql

public interface ConfigInfoGrayMapper extends Mapper
The config gray info mapper.
作者:
rong
  • 方法详细资料

    • updateConfigInfo4GrayCas

      default MapperResult updateConfigInfo4GrayCas(MapperContext context)
      Update gray configuration information. The default sql: UPDATE config_info_gray SET content=?, md5 = ?, src_ip=?,src_user=?,gmt_modified=?,app_name=?,gray_rule=? WHERE data_id=? AND group_id=? AND tenant_id=? AND gray_name=? AND (md5=? or md5 is null or md5='')
      参数:
      context - sql paramMap
      返回:
      The sql of updating gray configuration information.
    • findChangeConfig

      default MapperResult findChangeConfig(MapperContext context)
      Query change config.
      The default sql: SELECT data_id, group_id, tenant_id, app_name, content, gmt_modified,encrypted_data_key FROM config_info WHERE gmt_modified >=? AND gmt_modified <= ?
      参数:
      context - sql paramMap
      返回:
      The sql of querying change config.
    • findAllConfigInfoGrayForDumpAllFetchRows

      MapperResult findAllConfigInfoGrayForDumpAllFetchRows(MapperContext context)
      Query all gray config info for dump task. The default sql: SELECT t.id,data_id,group_id,tenant_id,gray_name,app_name,content,md5,gmt_modified FROM ( SELECT id FROM config_info_gray ORDER BY id LIMIT startRow,pageSize ) g, config_info_gray t WHERE g.id = t.id
      参数:
      context - The start index.
      返回:
      The sql of querying all gray config info for dump task.
    • getTableName

      default String getTableName()
      获取返回表名.
      指定者:
      getTableName 在接口中 Mapper
      返回:
      表名