Browse Source

日志打印错误

dev_shibei_match
jianjun 4 years ago
parent
commit
a7c508b16a
  1. 4
      epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/indexcal/impl/IndexCalculateServiceImpl.java

4
epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/evaluationindex/indexcal/impl/IndexCalculateServiceImpl.java

@ -135,7 +135,7 @@ public class IndexCalculateServiceImpl implements IndexCalculateService {
start = System.currentTimeMillis(); start = System.currentTimeMillis();
try { try {
flag = gridCorreLationService.calculateGridCorreLation(formDTO); flag = gridCorreLationService.calculateGridCorreLation(formDTO);
log.info("客户Id:{}【网格相关】计算完毕,总耗时:{}秒,result:{},result:{}", customerId, (System.currentTimeMillis() - start) / 1000, flag); log.info("客户Id:{}【网格相关】计算完毕,总耗时:{}秒,result:{}", customerId, (System.currentTimeMillis() - start) / 1000, flag);
} catch (Exception e) { } catch (Exception e) {
log.error("indexCalculate calculateGridCorreLation exception", e); log.error("indexCalculate calculateGridCorreLation exception", e);
} }
@ -143,7 +143,7 @@ public class IndexCalculateServiceImpl implements IndexCalculateService {
start = System.currentTimeMillis(); start = System.currentTimeMillis();
try { try {
flag = indexCalculateCommunityService.calCommunityAll(formDTO); flag = indexCalculateCommunityService.calCommunityAll(formDTO);
log.info("客户Id:{}【社区相关】计算完毕,总耗时:{}秒,result:{},result:{}", customerId, (System.currentTimeMillis() - start) / 1000, flag); log.info("客户Id:{}【社区相关】计算完毕,总耗时:{}秒,result:{}", customerId, (System.currentTimeMillis() - start) / 1000, flag);
} catch (Exception e) { } catch (Exception e) {
log.error("indexCalculate calCommunityAll exception", e); log.error("indexCalculate calCommunityAll exception", e);
} }

Loading…
Cancel
Save