|
@@ -1937,7 +1937,7 @@ public class FabricLossServiceImpl extends ServiceImpl<FabricLossMapper, FabricL
|
|
|
|
|
|
costInvoiceDetailList = new ArrayList<>();
|
|
|
for (FabricPoOrderIn itemIn : allInList){
|
|
|
- if (itemIn.getIPrice() == null || itemIn.getIPrice().toString().equals("NaN")){
|
|
|
+ if (itemIn.getIPrice() == null || itemIn.getIPrice().toString().equals("NaN") || itemIn.getIPrice().toString().equals("-Infinity")){
|
|
|
itemIn.setIPrice(0.0);
|
|
|
}
|
|
|
if (DoubleOperation.mul(itemIn.getIQuantity(),itemIn.getIPrice(), 2)!=0) {
|