提交 b4a841e4 authored 作者: 杨启发's avatar 杨启发

Merge branch 'refs/heads/v18.5_pound_list_ocr_20240701' into test

......@@ -2893,7 +2893,7 @@ public class OrderChildServiceImpl implements OrderChildService {
String autoName = itemInfo.getKey().getAutoName();
String autoContent = itemInfo.getValue().getAutoContent();
originalResultMap.put(autoName,autoContent);
if (NumberUtils.isCreatable(autoContent) && new BigDecimal(autoContent).compareTo(new BigDecimal(100))<0) {
if (NumberUtils.isCreatable(autoContent) && new BigDecimal(autoContent).compareTo(new BigDecimal(100))<0 && new BigDecimal(autoContent).scale()<=2) {
if ("毛重".equals(autoName)) {
vo.setGrossWeight(new BigDecimal(autoContent));
}else if ("皮重".equals(autoName)) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论