Browse Source

优化代码打印日志

dev_shibei_match
jianjun 5 years ago
parent
commit
3edb4d72b7
  1. 4
      epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/screen/impl/IndexCalculateServiceImpl.java

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

@ -80,15 +80,15 @@ public class IndexCalculateServiceImpl implements IndexCalculateService {
} catch (Exception e) {
log.error("indexCalculate calAll exception", e);
}
});
indexCodeFieldReRedis.deleteIndexCodeFromRedis();
return true;
} catch (Exception e) {
log.error("indexCalculate exception,param:{}", JSON.toJSONString(formDTO));
} finally {
//清除缓存
indexCodeFieldReRedis.deleteIndexCodeFromRedis();
}
return true;
return false;
}
}

Loading…
Cancel
Save