Merge branch 'master' into feature_user-session-timeout
# Conflicts: # sql/ruoyi-vue-pro.sql
This commit is contained in:
@@ -35,7 +35,7 @@ public class SysDeptDO extends BaseDO {
|
||||
/**
|
||||
* 显示顺序
|
||||
*/
|
||||
private String sort;
|
||||
private Integer sort;
|
||||
/**
|
||||
* 负责人
|
||||
*/
|
||||
|
||||
@@ -34,7 +34,7 @@ public class SysPostDO extends BaseDO {
|
||||
/**
|
||||
* 岗位排序
|
||||
*/
|
||||
private String sort;
|
||||
private Integer sort;
|
||||
/**
|
||||
* 状态
|
||||
*
|
||||
|
||||
@@ -49,7 +49,7 @@ public class SysMenuDO extends BaseDO {
|
||||
/**
|
||||
* 显示顺序
|
||||
*/
|
||||
private String sort;
|
||||
private Integer sort;
|
||||
/**
|
||||
* 父菜单ID
|
||||
*/
|
||||
|
||||
@@ -15,13 +15,13 @@ import java.util.List;
|
||||
@Mapper
|
||||
public interface SysDictDataMapper extends BaseMapperX<SysDictDataDO> {
|
||||
|
||||
default SysDictDataDO selectByDictTypeAndLabel(String dictType, String label) {
|
||||
default SysDictDataDO selectByDictTypeAndValue(String dictType, String value) {
|
||||
return selectOne(new QueryWrapper<SysDictDataDO>().eq("dict_type", dictType)
|
||||
.eq("label", label));
|
||||
.eq("value", value));
|
||||
}
|
||||
|
||||
default int selectCountByDictType(String dictType) {
|
||||
return selectCount(new QueryWrapper<SysDictDataDO>().eq("dict_type", dictType));
|
||||
return selectCount("dict_type", dictType);
|
||||
}
|
||||
|
||||
default PageResult<SysDictDataDO> selectPage(SysDictDataPageReqVO reqVO) {
|
||||
|
||||
Reference in New Issue
Block a user