|
|
@ -85,8 +85,8 @@ public class IcNatServiceImpl extends BaseServiceImpl<IcNatDao, IcNatEntity> imp |
|
|
|
private IcNatRelationDao icNatRelationDao; |
|
|
|
@Autowired |
|
|
|
private IcResiUserDao icResiUserDao; |
|
|
|
@Autowired |
|
|
|
private UserService userService; |
|
|
|
//@Autowired
|
|
|
|
//private UserService userService;
|
|
|
|
|
|
|
|
/** |
|
|
|
* @Author sun |
|
|
@ -310,7 +310,7 @@ public class IcNatServiceImpl extends BaseServiceImpl<IcNatDao, IcNatEntity> imp |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@Async("executorService") |
|
|
|
@Async |
|
|
|
@Override |
|
|
|
public void execAsyncExcelImport(Path filePath, String importTaskId) { |
|
|
|
String userId = null; |
|
|
@ -320,7 +320,7 @@ public class IcNatServiceImpl extends BaseServiceImpl<IcNatDao, IcNatEntity> imp |
|
|
|
String app = EpmetRequestHolder.getHeader(AppClientConstant.APP); |
|
|
|
String client = EpmetRequestHolder.getHeader(AppClientConstant.CLIENT); |
|
|
|
|
|
|
|
LoginUserDetailsResultDTO loginUserDetails = userService.getLoginUserDetails(app, client, userId); |
|
|
|
LoginUserDetailsResultDTO loginUserDetails = SpringContextUtils.getBean(UserService.class).getLoginUserDetails(app, client, userId); |
|
|
|
|
|
|
|
String agencyId = loginUserDetails.getAgencyId(); |
|
|
|
|
|
|
|