在流口水中使用方言是错误的

时间:2018-09-03 07:57:03

标签: drools mvel

以下代码

rule "-1"
salience "-1"
when
    $resultList: resultList($paramsStrings:getParam().getParamsStrings())
then
    if($resultList.isExecute()) return;
    $Z20180903134927927_af3fc346_0aec_4492_9e15_0c3ce4_1="(";
    $map=["AutoWhere_Desc":(Object)($Z20180903134927927_af3fc346_0aec_4492_9e15_0c3ce4_1)]
    $resultList.addResultItem((HashMap)$map);
end

rule "-1000000"
salience -1000000
when
    $resultList: resultList($paramsStrings:getParam().getParamsStrings())
then
    $resultList.isSucceed();
end

引发此错误

  

错误:如果($ resultList.isExecute())返回,则无法分析表达式;       $ Z20180903134927927_af3fc346_0aec_4492_9e15_0c3ce4_1 =“(”; $ map = [“ AutoWhere_Desc” :( Object)($ Z20180903134927927_af3fc346_0aec_4492_9e15_0c3ce4_1)] $ resultList.addResultItem((HashMap)$   [错误:无法使用严格模式解析方法:org.drools.core.spi.KnowledgeHelper。$ map()]   [附近:{... 15_0c3ce4_1 =(“((”); $ map = [“ AutoWhere_Desc” :( Object ....}]                                    ^   [行:197,列:0]:[规则名称='-1']

     

变量:$ Z20180903134927927_af3fc346_0aec_4492_9e15_0c3ce4_1分配“(”   但是$ Z20180903134927927_af3fc346_0aec_4492_9e15_0c3ce4_1 =“ 123”;可以

0 个答案:

没有答案