From b2c8062131ceb9bf2061594dd54cdfc20da3a05e Mon Sep 17 00:00:00 2001 From: water <2778335106@qq.com> Date: 星期五, 20 五月 2022 17:09:28 +0800 Subject: [PATCH] style 修改一个错误的参数注释 public R<Void> remove(@ApiParam("岗位ID串") @PathVariable Long[] roleIds) { return toAjax(roleService.deleteRoleByIds(roleIds)); } --- ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDictDataMapper.java | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDictDataMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDictDataMapper.java index 14424e1..0d506bc 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDictDataMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysDictDataMapper.java @@ -1,6 +1,7 @@ package com.ruoyi.system.mapper; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; +import com.ruoyi.common.constant.UserConstants; import com.ruoyi.common.core.domain.entity.SysDictData; import com.ruoyi.common.core.mapper.BaseMapperPlus; @@ -15,9 +16,9 @@ default List<SysDictData> selectDictDataByType(String dictType) { return selectList( - new LambdaQueryWrapper<SysDictData>() - .eq(SysDictData::getStatus, "0") - .eq(SysDictData::getDictType, dictType) - .orderByAsc(SysDictData::getDictSort)); + new LambdaQueryWrapper<SysDictData>() + .eq(SysDictData::getStatus, UserConstants.DICT_NORMAL) + .eq(SysDictData::getDictType, dictType) + .orderByAsc(SysDictData::getDictSort)); } } -- Gitblit v1.9.3