我在drools API中遇到导致异常的问题,此代码以前正在运行且规则代码没有变化:java.lang.RuntimeException:无法绑定属性规则代码:
rule "Rule Name Imp"
agenda-group "Agenda 1"
salience 1000
when $tbl1 : TABLE_MAIN( COL1 == "ABC" )
not TABLE_MAIN(TABLE_MAINID == $tbl1.TABLE_MAINID,
DATECOLUMN > $tbl1.DATECOLUMN )
$cnl: TABLE2 (SS_COL == $tbl1.TABLE_MAINID,
DATECOLUMN == $tbl1.DATECOLUMN,
QTY == null )
then
$cnl.QTY = 0;
update($cnl);
end