guoyujie
5 小时以前 d5bb894f9be2e0a3b62d475b60b44f2ab138528c
north-glass-erp/src/main/java/com/example/erp/service/userInfo/RoleService.java
@@ -4,7 +4,6 @@
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.example.erp.entity.userInfo.Role;
import com.example.erp.mapper.userInfo.RoleMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@@ -24,4 +23,9 @@
                        .ne("role","admin")
        );
    }
    public Boolean add(Role role) {
        return roleMapper.insert(role) > 0;
    }
}