|
|
@ -1,6 +1,6 @@ |
|
|
|
package com.fr.plugin.present.fun; |
|
|
|
package com.fr.plugin.present.fun; |
|
|
|
|
|
|
|
|
|
|
|
import com.fanruan.api.base.BaseFormula; |
|
|
|
import com.fr.base.BaseFormula; |
|
|
|
import com.fr.base.present.AbstractPresent; |
|
|
|
import com.fr.base.present.AbstractPresent; |
|
|
|
import com.fanruan.api.util.GeneralKit; |
|
|
|
import com.fanruan.api.util.GeneralKit; |
|
|
|
import com.fr.intelli.record.Focus; |
|
|
|
import com.fr.intelli.record.Focus; |
|
|
@ -41,7 +41,7 @@ public class StarPresent extends AbstractPresent { |
|
|
|
try { |
|
|
|
try { |
|
|
|
result = calculator.evalValue(BaseFormula.createFormulaBuilder().build(condition)); |
|
|
|
result = calculator.evalValue(BaseFormula.createFormulaBuilder().build(condition)); |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
LogKit.debug(e.getMessage(), e); |
|
|
|
LogKit.error(e.getMessage(), e); |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
result = condition; |
|
|
|
result = condition; |
|
|
|