|
|
@ -144,7 +144,7 @@ public class IndexCalculateController { |
|
|
|
long start = System.currentTimeMillis(); |
|
|
|
Boolean aBoolean = indexCalculateService.indexCalculate(formDTO); |
|
|
|
if (aBoolean) { |
|
|
|
log.error("客户Id:{},全部指标计算完成,结果:{},总耗时:{}秒", formDTO.getCustomerId(), aBoolean, (System.currentTimeMillis() - start) / 1000); |
|
|
|
log.error("客户Id:{},monthId:{},全部指标计算完成,结果:{},总耗时:{}秒", formDTO.getCustomerId(), formDTO.getMonthId(), aBoolean, (System.currentTimeMillis() - start) / 1000); |
|
|
|
} |
|
|
|
|
|
|
|
redisUtils.delete(RedisKeys.getCustomerStatsCalFlag(formDTO.getCustomerId())); |
|
|
@ -200,7 +200,7 @@ public class IndexCalculateController { |
|
|
|
long start = System.currentTimeMillis(); |
|
|
|
try { |
|
|
|
Boolean aBoolean = indexCalculateService.indexCalculate(formDTO); |
|
|
|
HttpClientManager.getInstance().sendAlarmMsg(EnvEnum.getCurrentEnv().getName() + "客户Id:" + formDTO.getCustomerId() + ",calculateAll全部指标计算完成,是否成功:" + aBoolean + ",总耗时:" + (System.currentTimeMillis() - start) / 1000 + "秒"); |
|
|
|
HttpClientManager.getInstance().sendAlarmMsg(EnvEnum.getCurrentEnv().getName() + "客户Id:" + formDTO.getCustomerId() + ";monthId:" + formDTO.getMonthId() + ",calculateAll全部指标计算完成,是否成功:" + aBoolean + ",总耗时:" + (System.currentTimeMillis() - start) / 1000 + "秒"); |
|
|
|
if (aBoolean) { |
|
|
|
return new Result<Boolean>().ok(true); |
|
|
|
} |
|
|
|