ccj 2 gadi atpakaļ
vecāks
revīzija
9d06e1705d

+ 6 - 6
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/service/impl/WarehouseInOutInfoServiceImpl.java

@@ -979,7 +979,7 @@ public class WarehouseInOutInfoServiceImpl extends ServiceImpl<WarehouseInOutInf
                                     tranSettlementReport.setSettlementWeight(tranSettlementReport.getLoadingWeight() > tranSettlementReport.getUnloadingWeight() ? tranSettlementReport.getUnloadingWeight() : tranSettlementReport.getLoadingWeight());
                                     tranSettlementReport.setTransportDamage(tranSettlementReport.getSettlementWeight()*0.001);
                                 }
-                                if(tranSettlementReport.getLossWeight()<0){
+                                if(tranSettlementReport.getLossWeight()<=0){
                                     tranSettlementReport.setActualLoss(0d);
                                     tranSettlementReport.setDeductionAmount(0d);
                                 }
@@ -1117,7 +1117,7 @@ public class WarehouseInOutInfoServiceImpl extends ServiceImpl<WarehouseInOutInf
                                         tranSettlementReport.setSettlementWeight(tranSettlementReport.getLoadingWeight() > tranSettlementReport.getUnloadingWeight() ? tranSettlementReport.getUnloadingWeight() : tranSettlementReport.getLoadingWeight());
                                         tranSettlementReport.setTransportDamage(tranSettlementReport.getSettlementWeight()*0.001);
                                     }
-                                    if(tranSettlementReport.getLossWeight()<0){
+                                    if(tranSettlementReport.getLossWeight()<=0){
                                         tranSettlementReport.setActualLoss(0d);
                                         tranSettlementReport.setDeductionAmount(0d);
                                     }
@@ -1387,7 +1387,7 @@ public class WarehouseInOutInfoServiceImpl extends ServiceImpl<WarehouseInOutInf
                                         tranSettlementReport.setSettlementWeight(tranSettlementReport.getLoadingWeight() > tranSettlementReport.getUnloadingWeight() ? tranSettlementReport.getUnloadingWeight() : tranSettlementReport.getLoadingWeight());
                                         tranSettlementReport.setTransportDamage(tranSettlementReport.getSettlementWeight()*0.001);
                                     }
-                                    if(tranSettlementReport.getLossWeight()<0){
+                                    if(tranSettlementReport.getLossWeight()<=0){
                                         tranSettlementReport.setActualLoss(0d);
                                         tranSettlementReport.setDeductionAmount(0d);
                                     }
@@ -4157,7 +4157,7 @@ public class WarehouseInOutInfoServiceImpl extends ServiceImpl<WarehouseInOutInf
                                         tranSettlementReport.setSettlementWeight(tranSettlementReport.getLoadingWeight() > tranSettlementReport.getUnloadingWeight() ? tranSettlementReport.getUnloadingWeight() : tranSettlementReport.getLoadingWeight());
                                         tranSettlementReport.setTransportDamage(tranSettlementReport.getSettlementWeight()*0.001);
                                     }
-                                    if(tranSettlementReport.getLossWeight()<0){
+                                    if(tranSettlementReport.getLossWeight()<=0){
                                         tranSettlementReport.setActualLoss(0d);
                                         tranSettlementReport.setDeductionAmount(0d);
                                     }
@@ -4302,7 +4302,7 @@ public class WarehouseInOutInfoServiceImpl extends ServiceImpl<WarehouseInOutInf
                                         tranSettlementReport.setSettlementWeight(tranSettlementReport.getLoadingWeight() > tranSettlementReport.getUnloadingWeight() ? tranSettlementReport.getUnloadingWeight() : tranSettlementReport.getLoadingWeight());
                                         tranSettlementReport.setTransportDamage(tranSettlementReport.getSettlementWeight()*0.001);
                                     }
-                                    if(tranSettlementReport.getLossWeight()<0){
+                                    if(tranSettlementReport.getLossWeight()<=0){
                                         tranSettlementReport.setActualLoss(0d);
                                         tranSettlementReport.setDeductionAmount(0d);
                                     }
@@ -4655,7 +4655,7 @@ public class WarehouseInOutInfoServiceImpl extends ServiceImpl<WarehouseInOutInf
                                         tranSettlementReport.setSettlementWeight(tranSettlementReport.getLoadingWeight() > tranSettlementReport.getUnloadingWeight() ? tranSettlementReport.getUnloadingWeight() : tranSettlementReport.getLoadingWeight());
                                         tranSettlementReport.setTransportDamage(tranSettlementReport.getSettlementWeight()*0.001);
                                     }
-                                    if(tranSettlementReport.getLossWeight()<0){
+                                    if(tranSettlementReport.getLossWeight()<=0){
                                         tranSettlementReport.setActualLoss(0d);
                                         tranSettlementReport.setDeductionAmount(0d);
                                     }