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

修改工作人员缓存删除

parent 5ddcbde5
......@@ -277,14 +277,11 @@ public class WorkmanServiceImpl extends AbstractCRUDCacheServiceImpl<WorkmanDao,
*/
@Override
public void removeCache(String key) {
super.removeCache(key);
WorkmanEntity cache = this.getCache(key);
if (ObjectUtils.isEmpty(cache)) return;
String extKey = this.getExtKey(cache);
if (ObjectUtils.isEmpty(extKey)) return;
super.removeCache(extKey);
super.removeCache(key);
}
}
\ No newline at end of file
......@@ -3,7 +3,7 @@ POST {{baseUrl}}/workman/doLogin
Content-Type: application/json
{
"loginName":"xuzhi",
"loginName":"chenhui",
"loginPwd":"123",
"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