【fix sonar】ISysDictService文件

This commit is contained in:
梁琦涛
2023-03-08 17:52:16 +08:00
parent c8b575db30
commit cf342fac0d
@@ -39,9 +39,14 @@ public interface ISysDictService extends IService<SysDict> {
public Map<String,List<DictModel>> queryAllDictItems(); public Map<String,List<DictModel>> queryAllDictItems();
/**
* @deprecated 不推荐
*/
@Deprecated @Deprecated
List<DictModel> queryTableDictItemsByCode(String table, String text, String code); List<DictModel> queryTableDictItemsByCode(String table, String text, String code);
/**
* @deprecated 不推荐
*/
@Deprecated @Deprecated
public List<DictModel> queryTableDictItemsByCodeAndFilter(String table, String text, String code, String filterSql); public List<DictModel> queryTableDictItemsByCodeAndFilter(String table, String text, String code, String filterSql);
@@ -54,7 +59,9 @@ public interface ISysDictService extends IService<SysDict> {
* @return * @return
*/ */
Map<String, List<DictModel>> queryManyDictByKeys(List<String> dictCodeList, List<String> keys); Map<String, List<DictModel>> queryManyDictByKeys(List<String> dictCodeList, List<String> keys);
/**
* @deprecated 不推荐
*/
@Deprecated @Deprecated
String queryTableDictTextByKey(String table, String text, String code, String key); String queryTableDictTextByKey(String table, String text, String code, String key);
@@ -68,10 +75,14 @@ public interface ISysDictService extends IService<SysDict> {
* @return * @return
*/ */
List<DictModel> queryTableDictTextByKeys(String table, String text, String code, List<String> keys); List<DictModel> queryTableDictTextByKeys(String table, String text, String code, List<String> keys);
/**
* @deprecated 不推荐
*/
@Deprecated @Deprecated
List<String> queryTableDictByKeys(String table, String text, String code, String keys); List<String> queryTableDictByKeys(String table, String text, String code, String keys);
/**
* @deprecated 不推荐
*/
@Deprecated @Deprecated
List<String> queryTableDictByKeys(String table, String text, String code, String keys,boolean delNotExist); List<String> queryTableDictByKeys(String table, String text, String code, String keys,boolean delNotExist);
@@ -87,25 +98,26 @@ public interface ISysDictService extends IService<SysDict> {
* 添加一对多 * 添加一对多
*/ */
public Integer saveMain(SysDict sysDict, List<SysDictItem> sysDictItemList); public Integer saveMain(SysDict sysDict, List<SysDictItem> sysDictItemList);
/** /**
* 查询所有部门 作为字典信息 id -->value,departName -->text * 查询所有部门 作为字典信息 id -->value,departName -->text
* @return * @return
*/ */
public List<DictModel> queryAllDepartBackDictModel(); public List<DictModel> queryAllDepartBackDictModel();
/** /**
* 查询所有用户 作为字典信息 username -->value,realname -->text * 查询所有用户 作为字典信息 username -->value,realname -->text
* @return * @return
*/ */
public List<DictModel> queryAllUserBackDictModel(); public List<DictModel> queryAllUserBackDictModel();
/** /**
* 通过关键字查询字典表 * 通过关键字查询字典表
* @param table * @param table
* @param text * @param text
* @param code * @param code
* @param keyword * @param keyword
* @deprecated 不推荐
* @return * @return
*/ */
@Deprecated @Deprecated
@@ -130,7 +142,7 @@ public interface ISysDictService extends IService<SysDict> {
* @param keyword * @param keyword
* @return * @return
*/ */
public List<DictModel> queryAllTableDictItems(String table, String text, String code, String condition, String keyword); List<DictModel> queryAllTableDictItems(String table, String text, String code, String condition, String keyword);
/** /**
* 根据表名、显示字段名、存储字段名 查询树 * 根据表名、显示字段名、存储字段名 查询树
@@ -140,6 +152,7 @@ public interface ISysDictService extends IService<SysDict> {
* @param pidField * @param pidField
* @param pid * @param pid
* @param hasChildField * @param hasChildField
* @deprecated 不推荐
* @return * @return
*/ */
@Deprecated @Deprecated
@@ -179,6 +192,7 @@ public interface ISysDictService extends IService<SysDict> {
* @param query * @param query
* @param pageSize * @param pageSize
* @param pageNo * @param pageNo
* @deprecated 不推荐
* @return * @return
*/ */
@Deprecated @Deprecated