mirror of
https://github.com/jeecgboot/jeecg-boot.git
synced 2025-10-13 22:57:05 +00:00
字典排序问题合并
This commit is contained in:
10
.gitignore
vendored
Normal file
10
.gitignore
vendored
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
## ide
|
||||||
|
**/.idea
|
||||||
|
*.iml
|
||||||
|
|
||||||
|
## backend
|
||||||
|
**/target
|
||||||
|
**/logs
|
||||||
|
|
||||||
|
## front
|
||||||
|
**/*.lock
|
@@ -15,6 +15,6 @@ import java.util.List;
|
|||||||
* @since 2018-12-28
|
* @since 2018-12-28
|
||||||
*/
|
*/
|
||||||
public interface SysDictItemMapper extends BaseMapper<SysDictItem> {
|
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);
|
public List<SysDictItem> selectItemsByMainId(String mainId);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user