cloudtogo/pageplug

查询SQL报错Binding parameters is not supported for simple statement

beiweixiaohuo opened this issue · 1 comments

🙋🏻‍♂️描述下你的问题
查询SQL报错Binding parameters is not supported for simple statement
传参应该是正常的,图一是正常查询,图二是传参查询执行异常。
在其他项目这样的查询语句没啥问题呀,如图三

🧑🏻‍💻贴图
图一
image

图二
image

图三
image

🥳复现流程

🤔想实现的效果
正常查询

🔗PagePlug环境版本
1⃣️ 本地化部署

select * from sm_store where storeName like {{ '%' + SearchInput.text + '%'}} order by "id"
这种写法可以