规则引擎Ilog Jrules开发基础教程【连载6】-- 开发篇4

来源:互联网 发布:pp助手mac版下载 编辑:程序博客网 时间:2024/04/30 18:28

3.6规则常用语法

字符串连接:设置'customerInfo'的当前rusult”A” + ”B”;

字符串的包含:如果'customerInfo'cust name包含"SHIXIN"

Listsize如果'customerInfo' history loan中的元素数量小于等于0

List的循环遍历:

预定义

   指定'history_loan'一个application_info来自(in)'customerInfo'  history loan list ;

时间的比较:

如果

    'customerInfo' birth day 等于或早于 2012-06-11
原创粉丝点击