|
|
|
@ -2,12 +2,13 @@ package com.epmet.service.evaluationindex.indexcal.impl; |
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSON; |
|
|
|
import com.epmet.commons.dynamic.datasource.annotation.DataSource; |
|
|
|
import com.epmet.commons.tools.enums.EnvEnum; |
|
|
|
import com.epmet.commons.tools.exception.RenException; |
|
|
|
import com.epmet.commons.tools.utils.DateUtils; |
|
|
|
import com.epmet.commons.tools.utils.HttpClientManager; |
|
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
|
import com.epmet.constant.DataSourceConstant; |
|
|
|
import com.epmet.dao.evaluationindex.screen.ScreenCustomerAgencyDao; |
|
|
|
import com.epmet.dto.extract.form.ExtractIndexFormDTO; |
|
|
|
import com.epmet.dto.indexcal.CalculateCommonFormDTO; |
|
|
|
import com.epmet.dto.indexcal.CustomerSubInfoDTO; |
|
|
|
import com.epmet.dto.indexcal.IndexStatisticsFormDTO; |
|
|
|
@ -235,9 +236,11 @@ public class IndexCalculateServiceImpl implements IndexCalculateService { |
|
|
|
CalculateCommonFormDTO extractFormDTO = new CalculateCommonFormDTO(); |
|
|
|
extractFormDTO.setCustomerId(customerId); |
|
|
|
extractFormDTO.setMonthId(monthId); |
|
|
|
this.indexCalculate(extractFormDTO); |
|
|
|
long start = System.currentTimeMillis(); |
|
|
|
boolean calFlag=this.indexCalculate(extractFormDTO); |
|
|
|
HttpClientManager.getInstance().sendAlarmMsg(EnvEnum.getCurrentEnv().getName() + "客户Id:" + formDTO.getCustomerId() + ";monthId:" + formDTO.getMonthId() + ",calculateAll全部指标计算完成,是否成功:" + calFlag + ",总耗时:" + (System.currentTimeMillis() - start) / 1000 + "秒"); |
|
|
|
}); |
|
|
|
}); |
|
|
|
return null; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
|