|
@@ -280,8 +280,8 @@ public class WarehouseInOutInfoServiceImpl extends ServiceImpl<WarehouseInOutInf
|
|
else {
|
|
else {
|
|
outNetWeight = String.valueOf(warehouseInOutInfo.getNetWeight());
|
|
outNetWeight = String.valueOf(warehouseInOutInfo.getNetWeight());
|
|
}
|
|
}
|
|
|
|
+ //出库量大于入库量
|
|
if ((outNetWeight.compareTo(inNetWeight)) > 0) {
|
|
if ((outNetWeight.compareTo(inNetWeight)) > 0) {
|
|
- //出库量大于入库量
|
|
|
|
throw new YException(YExceptionEnum.INNETWEIGHT_NO_ERROR);
|
|
throw new YException(YExceptionEnum.INNETWEIGHT_NO_ERROR);
|
|
}
|
|
}
|
|
}
|
|
}
|