fix default sql in the comment to be consistent with the implementation (#12324)
This commit is contained in:
parent
631babe1e2
commit
3e28b586bb
@ -73,7 +73,7 @@ public interface ConfigInfoMapper extends Mapper {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Query configuration information based on group. <br/>The default sql: SELECT
|
* Query configuration information based on group. <br/>The default sql: SELECT
|
||||||
* id,data_id,group_id,tenant_id,app_name,content FROM config_info WHERE tenant_id LIKE ? AND app_name=?
|
* id,data_id,group_id,tenant_id,app_name,content FROM config_info WHERE tenant_id LIKE ? AND app_name=? LIMIT startRow, pageSize
|
||||||
*
|
*
|
||||||
* @param context The context of startRow, pageSize
|
* @param context The context of startRow, pageSize
|
||||||
* @return The sql of querying configration information based on group.
|
* @return The sql of querying configration information based on group.
|
||||||
@ -114,7 +114,7 @@ public interface ConfigInfoMapper extends Mapper {
|
|||||||
/**
|
/**
|
||||||
* Query all configuration information by page. The default sql: SELECT data_id,group_id,app_name FROM ( SELECT id
|
* Query all configuration information by page. The default sql: SELECT data_id,group_id,app_name FROM ( SELECT id
|
||||||
* FROM config_info WHERE tenant_id LIKE ? ORDER BY id LIMIT startRow, pageSize ) g, config_info t WHERE g.id = t.id
|
* FROM config_info WHERE tenant_id LIKE ? ORDER BY id LIMIT startRow, pageSize ) g, config_info t WHERE g.id = t.id
|
||||||
* "
|
*
|
||||||
*
|
*
|
||||||
* @param context The context of startRow, pageSize
|
* @param context The context of startRow, pageSize
|
||||||
* @return The sql of querying all configuration information.
|
* @return The sql of querying all configuration information.
|
||||||
@ -131,9 +131,9 @@ public interface ConfigInfoMapper extends Mapper {
|
|||||||
MapperResult findAllConfigInfoBaseFetchRows(MapperContext context);
|
MapperResult findAllConfigInfoBaseFetchRows(MapperContext context);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Query all config info. The default sql: SELECT
|
* Query all config info. The default sql: "SELECT
|
||||||
* id,data_id,group_id,tenant_id,app_name,content,md5,gmt_modified,type,encrypted_data_key FROM config_info WHERE id
|
* id,data_id,group_id,tenant_id,app_name,"+ (needContent ? "content," : "") + "md5,gmt_modified,type,encrypted_data_key FROM config_info WHERE id
|
||||||
* > ? ORDER BY id ASC LIMIT startRow,pageSize
|
* > ? ORDER BY id ASC LIMIT startRow,pageSize"
|
||||||
*
|
*
|
||||||
* @param context The context of startRow, pageSize
|
* @param context The context of startRow, pageSize
|
||||||
* @return The sql of querying all config info.
|
* @return The sql of querying all config info.
|
||||||
@ -141,8 +141,8 @@ public interface ConfigInfoMapper extends Mapper {
|
|||||||
MapperResult findAllConfigInfoFragment(MapperContext context);
|
MapperResult findAllConfigInfoFragment(MapperContext context);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Query change config. <br/>The default sql: SELECT data_id, group_id, tenant_id, app_name, content,
|
* Query change config. <br/>The default sql: SELECT id, data_id, group_id, tenant_id, app_name, md5,
|
||||||
* gmt_modified,encrypted_data_key FROM config_info WHERE gmt_modified >=? AND gmt_modified <= ?
|
* gmt_modified,encrypted_data_key FROM config_info WHERE gmt_modified >=? AND id > ? ORDER BY id LIMIT pageSize
|
||||||
*
|
*
|
||||||
* @param context sql paramMap
|
* @param context sql paramMap
|
||||||
* @return The sql of querying change config.
|
* @return The sql of querying change config.
|
||||||
@ -207,7 +207,7 @@ public interface ConfigInfoMapper extends Mapper {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* According to the time period and configuration conditions to query the eligible configuration. The default sql:
|
* According to the time period and configuration conditions to query the eligible configuration. The default sql:
|
||||||
* SELECT id,data_id,group_id,tenant_id,app_name,content,type,md5,gmt_modified FROM config_info WHERE ...
|
* SELECT id,data_id,group_id,tenant_id,app_name,type,md5,gmt_modified FROM config_info WHERE ...
|
||||||
*
|
*
|
||||||
* @param context The map of params, the key is the parameter name(dataId, groupId, tenantId, appName, startTime,
|
* @param context The map of params, the key is the parameter name(dataId, groupId, tenantId, appName, startTime,
|
||||||
* endTime, content, startTime, endTime), the value is the key's value.
|
* endTime, content, startTime, endTime), the value is the key's value.
|
||||||
@ -365,7 +365,7 @@ public interface ConfigInfoMapper extends Mapper {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Query configuration information based on group. The default sql: SELECT id,data_id,group_id,content FROM
|
* Query configuration information based on group. The default sql: SELECT id,data_id,group_id,content FROM
|
||||||
* config_info WHERE group_id=? AND tenant_id=?
|
* config_info WHERE group_id=? AND tenant_id=? LIMIT startRow, pageSize
|
||||||
*
|
*
|
||||||
* @param context The context of startRow, pageSize
|
* @param context The context of startRow, pageSize
|
||||||
* @return Query configuration information based on group.
|
* @return Query configuration information based on group.
|
||||||
|
Loading…
Reference in New Issue
Block a user