|
@@ -128,7 +128,7 @@ public class DataModelController {
|
|
if (Blank.isEmpty(parameter, mathString, dataValue)) {
|
|
if (Blank.isEmpty(parameter, mathString, dataValue)) {
|
|
return Result.no(ResultEnum.REQUEST_WRONGPARAMS.getRespCode(), ResultEnum.REQUEST_WRONGPARAMS.getRespMsg());
|
|
return Result.no(ResultEnum.REQUEST_WRONGPARAMS.getRespCode(), ResultEnum.REQUEST_WRONGPARAMS.getRespMsg());
|
|
}
|
|
}
|
|
- return Result.ok(MathUtil.quadricOperation(parameter, mathString, new BigDecimal(dataValue)));
|
|
|
|
|
|
+ return Result.ok(MathUtil.quadricOperation(parameter, mathString, new BigDecimal(dataValue.toString())));
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|