3.6 规则常用语法
字符串连接:设置 'customerInfo' 的当前rusult 为”A” + ”B”;
字符串的包含:如果 'customerInfo' 的cust name 包含 "SHIXIN"
List的size:如果 'customerInfo' 的 history loan 中的元素数量 小于等于 0
List的循环遍历:
预定义
指定 'history_loan' 为 一个application_info 来自( in ) 'customerInfo' 的 history loan list ;
时间的比较:
如果
'customerInfo'的 birth day 等于或早于 2012-06-11
本文介绍了规则引擎中常用的语法,包括字符串连接、字符串包含判断、列表大小判断、列表元素遍历及时间比较等操作。通过具体示例展示了如何使用这些语法进行数据处理。

1万+

被折叠的 条评论
为什么被折叠?



