Skip to content

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

Description

@JNTM1992

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions