java110 5 年 前
コミット
1e0b61397c
共有1 個のファイルを変更した3 個の追加1 個の削除を含む
  1. 3 1
      service-report/src/main/java/com/java110/report/dao/impl/ReportFeeServiceDaoImpl.java

+ 3 - 1
service-report/src/main/java/com/java110/report/dao/impl/ReportFeeServiceDaoImpl.java

@@ -55,6 +55,8 @@ public class ReportFeeServiceDaoImpl extends BaseServiceDao implements IReportFe
             return 0;
             return 0;
         }
         }
 
 
-        return Double.parseDouble(businessReportFeeMonthStatisticsInfos.get(0).get("receivedAmount").toString());
+        Object receivedAmount = businessReportFeeMonthStatisticsInfos.get(0).get("receivedAmount");
+
+        return Double.parseDouble(receivedAmount == null ? "0" : receivedAmount.toString());
     }
     }
 }
 }