Commit 0cb4d494 authored by 赵啸非's avatar 赵啸非

修改工作人员缓存删除

parent 5ddcbde5
...@@ -277,14 +277,11 @@ public class WorkmanServiceImpl extends AbstractCRUDCacheServiceImpl<WorkmanDao, ...@@ -277,14 +277,11 @@ public class WorkmanServiceImpl extends AbstractCRUDCacheServiceImpl<WorkmanDao,
*/ */
@Override @Override
public void removeCache(String key) { public void removeCache(String key) {
super.removeCache(key);
WorkmanEntity cache = this.getCache(key); WorkmanEntity cache = this.getCache(key);
if (ObjectUtils.isEmpty(cache)) return; if (ObjectUtils.isEmpty(cache)) return;
String extKey = this.getExtKey(cache); String extKey = this.getExtKey(cache);
if (ObjectUtils.isEmpty(extKey)) return; if (ObjectUtils.isEmpty(extKey)) return;
super.removeCache(extKey); super.removeCache(extKey);
super.removeCache(key);
} }
} }
\ No newline at end of file
...@@ -3,7 +3,7 @@ POST {{baseUrl}}/workman/doLogin ...@@ -3,7 +3,7 @@ POST {{baseUrl}}/workman/doLogin
Content-Type: application/json Content-Type: application/json
{ {
"loginName":"xuzhi", "loginName":"chenhui",
"loginPwd":"123", "loginPwd":"123",
"siteId": 1 "siteId": 1
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment