• 首页
  • 产品中心
    • 数式Oinone四大产品

      低代码开发平台无代码开发平台集成开发平台AI大模型开发
    • 数式Oinone体系能力

      用户与组织权限管理文件管理消息中心国际化业务审计
    • 数式Oinone核心产品特性

      低无一体面向软件公司场景无限制应用级扩容可分可合
  • 服务中心
    • 客户服务

      预约演示方案咨询私有部署找人定制
    • 开发者

      问答下载
    • Oinone学院

      社区学习

    《精讲面向软件公司的低代码平台——以Oinone为例》

  • 合作伙伴
    渠道申请伙伴名录专家库
  • 关于数式
0571-88757863

Source Code Configuration:How to Configure Expressions Using Source Code


I. Custom Placeholder Definition Expressions

  1. Data permission definition expression: ${thisTeacherName}
  2. Query condition definition in the interface designer: $#{thisTeacherName} (needs to add a # symbol) The above configurations can be checked by viewing the originRsql in the queryWrapper to see if the placeholders are correctly replaced.

II. Visibility and Filter Condition Expression Definitions

Visibility and filtering can both be defined in field annotations and xml definitions.

  1. Visibility: invisible="$!{activeRecord.deadline}" / invisible = true
    @Field.String
    @Field(displayName = "View/Page", invisible = true)
    private String viewName;
  1. Filtering: domain = " code == ${activeRecord.id} " / domain = "code == '111' "
    @Field.one2many
    @Field(displayName = "Child Order List", summary = "Child Order List")
    @Field.Relation(relationFields = {"code"}, referenceFields = {"code"}, domain = "code != '1234'")
    private List<ChildOrder> orderList;
Edit this page
Last Updated:1/15/26, 4:02 AM
Prev
Message Customization:How to Push Custom Messages
Next
Environmental Protection:Oinone Environmental Protection (above v5.2.3)
默认页脚
Copyright © 2026 Mr.Hope