修改deptMapper.xml
parent
b7e2a4848a
commit
e578cc510f
|
@ -42,6 +42,7 @@ public class DepartmentServiceImpl implements DepartmentService {
|
|||
return departmentList;
|
||||
}
|
||||
List<Department> departmentList=departmentMapper.searchDeptList();
|
||||
redisService.setCacheList("deptList",departmentList);
|
||||
return departmentList;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue