Skip to content

在标签后面使用 #param 前面没有空格或换行 导致sql识别出错 #494

Open
@gejun123456

Description

@gejun123456

select\n" +
" <include refid="Base_Column_List"/>\n" +
" from user\n" +
" where birth in \n" +
" <foreach item="item" index="index" collection="birthCollection"\n" +
" open="(" separator="," close=")">#{item,jdbcType=TIMESTAMP}

对于item 这个由于前面没有空格或换行,导致 in 报错

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions