Browse Source

重新计算方法增加返回值

dev_shibei_match
wxz 5 years ago
parent
commit
b2d2567642
  1. 4
      epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/controller/IndexCalculateController.java

4
epmet-module/data-statistical/data-statistical-server/src/main/java/com/epmet/controller/IndexCalculateController.java

@ -78,7 +78,7 @@ public class IndexCalculateController {
* 处理暂停中的计算
*/
@PostMapping("process-pendding-cals")
public void processPenddingCalculate() {
public Result processPenddingCalculate() {
String keyPrefix = RedisKeys.getCustomerStatsCalKeyPrefix();
Set<String> calFlagKeys = redisUtils.keys(keyPrefix.concat("*"));
calFlagKeys.forEach(key -> {
@ -91,6 +91,8 @@ public class IndexCalculateController {
indexCalculate(form);
}
});
return new Result();
}
/**

Loading…
Cancel
Save