| | |
| | | * @since 2018-12-28 |
| | | */ |
| | | public interface SysDictMapper extends BaseMapper<SysDict> { |
| | | |
| | | |
| | | /** |
| | | * 重复检查SQL |
| | | * @param duplicateCheckVo |
| | |
| | | * @return |
| | | */ |
| | | public List<DictModel> queryAllDepartBackDictModel(); |
| | | |
| | | |
| | | /** |
| | | * 查询所有用户 作为字典信息 username -->value,realname -->text |
| | | * @return |
| | | */ |
| | | public List<DictModel> queryAllUserBackDictModel(); |
| | | |
| | | |
| | | // /** |
| | | // * 通过关键字查询出字典表 |
| | | // * @param table |
| | |
| | | */ |
| | | @Deprecated |
| | | List<DictModel> queryTableDictByKeysAndFilterSql(@Param("table") String table, @Param("text") String text, @Param("code") String code, @Param("filterSql") String filterSql, @Param("codeValues") List<String> codeValues); |
| | | |
| | | /** |
| | | * 使用子Sql查询字典数据 |
| | | * @param table |
| | | * @param text |
| | | * @param subSql |
| | | * @return |
| | | */ |
| | | String queryTableDictTextBySubSql(@Param("table") String table, @Param("text") String text, @Param("subSql") String subSql); |
| | | |
| | | /** |
| | | * 单表批量查询 |
| | | * @param queryTable |
| | | * @param columns |
| | | * @param paramName |
| | | * @param paramValues |
| | | * @return |
| | | */ |
| | | List<Map> queryTableFieldByParams(@Param("table") String queryTable, @Param("columns") String columns, @Param("paramName") String paramName, @Param("paramValues") String[] paramValues); |
| | | |
| | | List<DictModel> queryDictItemValueByCodeAndText(@Param("code")String code,@Param("itemText")String itemText); |
| | | |
| | | } |