Skip to content

使用Mysql数据库时,配置管理画面,安装格式查询报SQL错误 #12861

@zhao-qiwei

Description

@zhao-qiwei

Describe the bug
使用Mysql数据库时,配置管理画面,按照格式查询报SQL错误

Desktop (please complete the following information):

  • Version dev, 2.4.3
  • Module [nacos/plugin/datasource]

Additional context
【nacos/plugin/datasource/src/main/java/com/alibaba/nacos/plugin/datasource/impl/mysql/ConfigInfoMapperByMySql.java】文件的【public MapperResult findConfigInfoLike4PageFetchRows(MapperContext context) {】方法的第252行:

        if (!ArrayUtils.isEmpty(types)) {
            where.in("type", types); // 这里应该是:where.and().in("type", types);
        }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions