diff --git a/epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/screen/impl/IndexCalculateServiceImpl.java b/epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/screen/impl/IndexCalculateServiceImpl.java index 12bbbbad27..7283af07c3 100644 --- a/epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/service/screen/impl/IndexCalculateServiceImpl.java +++ b/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; } }