Przeglądaj źródła

优化有代码

java110 5 lat temu
rodzic
commit
e944c4e12e

+ 1 - 0
java110-db/src/main/resources/mapper/report/ReportFeeMonthStatisticsServiceDaoImplMapper.xml

@@ -1092,6 +1092,7 @@
         where t.owe_amount > 0
         where t.owe_amount > 0
         and t.status_cd = '0'
         and t.status_cd = '0'
         and t.community_id = #{communityId}
         and t.community_id = #{communityId}
+        limit 100
     </select>
     </select>
 
 
 
 

+ 1 - 2
service-report/src/main/java/com/java110/report/smo/impl/GeneratorFeeMonthStatisticsInnerServiceSMOImpl.java

@@ -73,7 +73,6 @@ public class GeneratorFeeMonthStatisticsInnerServiceSMOImpl implements IGenerato
         dealCarFee(reportFeeMonthStatisticsPo);
         dealCarFee(reportFeeMonthStatisticsPo);
 
 
         //处理缴费结束的情况
         //处理缴费结束的情况
-
         dealFinishFee(communityId);
         dealFinishFee(communityId);
     }
     }
 
 
@@ -100,7 +99,7 @@ public class GeneratorFeeMonthStatisticsInnerServiceSMOImpl implements IGenerato
                 reportFeeMonthStatisticsPo.setUpdateTime(DateUtil.getNow(DateUtil.DATE_FORMATE_STRING_A));
                 reportFeeMonthStatisticsPo.setUpdateTime(DateUtil.getNow(DateUtil.DATE_FORMATE_STRING_A));
                 reportFeeMonthStatisticsServiceDaoImpl.updateReportFeeMonthStatisticsInfo(BeanConvertUtil.beanCovertMap(reportFeeMonthStatisticsPo));
                 reportFeeMonthStatisticsServiceDaoImpl.updateReportFeeMonthStatisticsInfo(BeanConvertUtil.beanCovertMap(reportFeeMonthStatisticsPo));
             } catch (Exception e) {
             } catch (Exception e) {
-                logger.error("处理 缴费结束报表失败");
+                logger.error("处理 缴费结束报表失败", e);
             }
             }
         }
         }
     }
     }