Skip to content

Commit

Permalink
字典排序问题合并
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangdaiscott committed Jan 13, 2020
1 parent ed83135 commit 365810d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## ide
**/.idea
*.iml

## backend
**/target
**/logs

## front
**/*.lock
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
* @since 2018-12-28
*/
public interface SysDictItemMapper extends BaseMapper<SysDictItem> {
@Select("SELECT * FROM SYS_DICT_ITEM WHERE DICT_ID = #{mainId}")
@Select("SELECT * FROM sys_dict_item WHERE DICT_ID = #{mainId} order by sort_order asc, item_value asc")
public List<SysDictItem> selectItemsByMainId(String mainId);
}

0 comments on commit 365810d

Please sign in to comment.