|
@@ -17,7 +17,7 @@ public class ActionGetResult extends BaseAction {
|
|
|
protected ActionResult<Wo> execute(EffectivePerson effectivePerson, String flag) throws Exception {
|
|
protected ActionResult<Wo> execute(EffectivePerson effectivePerson, String flag) throws Exception {
|
|
|
logger.debug(effectivePerson, "flag:{}.", flag);
|
|
logger.debug(effectivePerson, "flag:{}.", flag);
|
|
|
ActionResult<Wo> result = new ActionResult<>();
|
|
ActionResult<Wo> result = new ActionResult<>();
|
|
|
- CacheKey cacheKey = new CacheKey(this.getClass(), flag);
|
|
|
|
|
|
|
+ CacheKey cacheKey = new CacheKey(flag);
|
|
|
Optional<?> optional = CacheManager.get(this.cache, cacheKey);
|
|
Optional<?> optional = CacheManager.get(this.cache, cacheKey);
|
|
|
if (!optional.isPresent()) {
|
|
if (!optional.isPresent()) {
|
|
|
throw new ExceptionResultNotFound(flag);
|
|
throw new ExceptionResultNotFound(flag);
|