Browse Source

KERNEL-1197 直接使用BaseFormula,修改写错的debug为error。

pull/1/head
Mars.Ma 5 years ago
parent
commit
ee1b716cab
  1. 4
      src/main/java/com/fr/plugin/present/fun/StarPresent.java

4
src/main/java/com/fr/plugin/present/fun/StarPresent.java

@ -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;

Loading…
Cancel
Save