Commit 39cc872e by shiwenbo

兼容处理

parent c0cc59f5
......@@ -120,7 +120,7 @@ public class DinasOrganizationServiceImpl implements DinasOrganizationService {
}
private KObject getCurrentLoginStaff(){
if(((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest() == null) {
if(RequestContextHolder.getRequestAttributes() == null) {
return null;
}
String currentStaff = (String) ((ServletRequestAttributes) RequestContextHolder.getRequestAttributes())
......
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