去除mock校验
This commit is contained in:
parent
3e8ac01049
commit
0f38b6cbaa
|
|
@ -368,12 +368,6 @@ public class SalaryFormulaServiceImpl extends Service implements SalaryFormulaSe
|
|||
log.error("express execute fail ", e);
|
||||
throw new SalaryRunTimeException("公式测试运行出错,请检查公式配置!", e);
|
||||
}
|
||||
if (run != null && StringUtils.isNotBlank(String.valueOf(run)) && returnTypeEnum == ReturnTypeEnum.NUMBER) {
|
||||
//返回结果不是数字
|
||||
if (!NumberUtils.isCreatable(String.valueOf(run))) {
|
||||
throw new SalaryRunTimeException("返回结果不是数值");
|
||||
}
|
||||
}
|
||||
return run;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue