sql数据集 in查询
查询示例
- 定义sql:
select * from test_rp where id in (${ids}) - 参数设置默认值:
- 访问:
- 修改参数访问:
http://localhost:8080/jeecg-boot/jmreport/view/562808627579588608?ids='3','4'&token=xxx
如果in查询的字段类型是数字,不需要带单引号,遵循sql规则
select * from test_rp where id in (${ids})http://localhost:8080/jeecg-boot/jmreport/view/562808627579588608?ids='3','4'&token=xxx如果in查询的字段类型是数字,不需要带单引号,遵循sql规则