update clearCache

This commit is contained in:
thinkgem
2025-10-10 16:43:50 +08:00
parent e4388c0603
commit d8787ca3e9

View File

@@ -144,7 +144,7 @@ public class PostServiceSupport extends CrudService<PostDao, Post>
/**
* 根据岗位清理缓存
*/
protected void clearCache(Post post){
public void clearCache(Post post){
// 清除该岗位下所有的用户缓存
EmpUser where = new EmpUser();
where.setCodes(new String[]{ post.getPostCode() });