【fix sonar】SysDictMapper文件

This commit is contained in:
梁琦涛
2023-03-08 17:55:12 +08:00
parent 939932d094
commit 52bfb3576b
@@ -28,10 +28,15 @@ public interface SysDictMapper extends BaseMapper<SysDict> {
/**
* 重复检查SQL
* @deprecated 不推荐
* @return
*/
@Deprecated
public Long duplicateCheckCountSql(DuplicateCheckVo duplicateCheckVo);
/**
* @deprecated 不推荐
*/
@Deprecated
public Long duplicateCheckCountSqlNoDataId(DuplicateCheckVo duplicateCheckVo);
@@ -52,13 +57,19 @@ public interface SysDictMapper extends BaseMapper<SysDict> {
* @return
*/
public List<DictModelMany> queryDictItemsByCodeList(@Param("dictCodeList") List<String> dictCodeList);
/**
* @deprecated 不推荐
*/
@Deprecated
public List<DictModel> queryTableDictItemsByCode(@Param("table") String table,@Param("text") String text,@Param("code") String code);
/**
* @deprecated 不推荐
*/
@Deprecated
public List<DictModel> queryTableDictItemsByCodeAndFilter(@Param("table") String table,@Param("text") String text,@Param("code") String code,@Param("filterSql") String filterSql);
/**
* @deprecated 不推荐
*/
@Deprecated
@Select("select ${key} as \"label\",${value} as \"value\" from ${table}")
public List<Map<String,String>> getDictByTableNgAlain(@Param("table") String table, @Param("key") String key, @Param("value") String value);
@@ -72,7 +83,9 @@ public interface SysDictMapper extends BaseMapper<SysDict> {
* @return
*/
List<DictModelMany> queryManyDictByKeys(@Param("dictCodeList") List<String> dictCodeList, @Param("keys") List<String> keys);
/**
* @deprecated 不推荐
*/
@Deprecated
public String queryTableDictTextByKey(@Param("table") String table,@Param("text") String text,@Param("code") String code,@Param("key") String key);
@@ -83,11 +96,14 @@ public interface SysDictMapper extends BaseMapper<SysDict> {
* @param text
* @param code
* @param keys
* @deprecated 不推荐
* @return
*/
@Deprecated
List<DictModel> queryTableDictTextByKeys(@Param("table") String table, @Param("text") String text, @Param("code") String code, @Param("keys") List<String> keys);
/**
* @deprecated 不推荐
*/
@Deprecated
public List<DictModel> queryTableDictByKeys(@Param("table") String table, @Param("text") String text, @Param("code") String code, @Param("keyArray") String[] keyArray);
@@ -109,6 +125,7 @@ public interface SysDictMapper extends BaseMapper<SysDict> {
* @param text
* @param code
* @param keyword
* @deprecated 不推荐
* @return
*/
@Deprecated
@@ -184,6 +201,7 @@ public interface SysDictMapper extends BaseMapper<SysDict> {
* 分页查询字典表数据
* @param page
* @param query
* @deprecated 不推荐
* @return
*/
@Deprecated
@@ -197,6 +215,7 @@ public interface SysDictMapper extends BaseMapper<SysDict> {
* @param text
* @param code
* @param filterSql
* @deprecated 不推荐
* @return
*/
@Deprecated
@@ -208,6 +227,7 @@ public interface SysDictMapper extends BaseMapper<SysDict> {
* @param text
* @param code
* @param filterSql
* @deprecated 不推荐
* @return
*/
@Deprecated