Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

表单插件-表中ExtendValues字段数据,通过<str:queryString> sql查询语句在<stl:sqlContents>实体类如何显示出来? #3745

Open
wangzhe1909 opened this issue Mar 14, 2024 · 2 comments

Comments

@wangzhe1909
Copy link

表单插件-表中ExtendValues(字段值内容:{“name”:”张三“,"age":28} ) 字段数据,
通过str:queryString sql查询语句在stl:sqlContents实体类如何显示出来(显示name字段)?

stl:sqlContents
str:queryString
select * from tablename where 1=1
</str:queryString>
<stl:sqlContent type='ExtendValues'> </stl:sqlContent>
</stl:sqlContents>
只能显示ExtendValues json值,想要直接显示name等字段。

@starlying
Copy link
Contributor

可以通过Like语句试试

@WaitFYting
Copy link

WaitFYting commented Apr 21, 2024

可以试试这个
<stl:content type="自定义字段名称"></stl:content>
或者
{Content.自定义字段名称}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants