Skip to content

表单有模糊搜索字段时没有判断是否有值,导致生成的sql语句有无效的查询条件name like '%%' #122

@JNTM1992

Description

@JNTM1992

这是生成的示例sql:select count(*) as aggregate from order where name like '%%'
plugin/admin/app/controller/Crud.php 的 doSelect函数中没有对模糊查询的字段进行非空判断,建议加上非空判断

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions