update:
bug修改,float转double精度丢失
This commit is contained in:
父節點
b407f99872
當前提交
74b42527c6
@ -1257,7 +1257,9 @@ public class AsynRunTaskService extends BaseService {
|
||||
CreateItem createItem = new CreateItem();
|
||||
createItem.setItemCode(e.getIdenCardNum());
|
||||
createItem.setQuantity(e.getQuantity().intValue());
|
||||
createItem.setWeight(e.getWeight().doubleValue());
|
||||
//防止float转doule精度丢失
|
||||
BigDecimal b=new BigDecimal(String.valueOf(e.getWeight()));
|
||||
createItem.setWeight(b.doubleValue());
|
||||
createItems.add(createItem);
|
||||
});
|
||||
//apmsCreateSheet.setStoveCode(code);
|
||||
|
Loading…
Reference in New Issue
Block a user