Commit fb30110b by zhouhaibao

fix(store): 解决导入Excel数据小数精度限制问题

- 将小数精度限制从2位调整为4位
- 修复因精度不足导致的数据导入错误
- 更新错误提示信息为更准确的描述
1 parent eaa1dd00
......@@ -899,7 +899,7 @@ public class StoreExcelImportService {
errors.add(new ImportErrorInfo(rowNum, fieldName + "超出范围", errors));
return ratio;
}
if (ratio.scale() > 2) {
if (ratio.scale() > 4) {
errors.add(new ImportErrorInfo(rowNum, fieldName + "精度超出范围", errors));
return ratio;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!