Commit 496b9874 by manxiaoqiang

test pom

parent 8109e0b5
...@@ -33,8 +33,8 @@ public class UserServiceImpl implements UserService { ...@@ -33,8 +33,8 @@ public class UserServiceImpl implements UserService {
private AuthRepository authRepository; private AuthRepository authRepository;
@Autowired @Autowired
private CodeRepository codeRepository; private CodeRepository codeRepository;
// @Autowired @Autowired
// BussinussManService bussinussManService; BussinussManService bussinussManService;
@Autowired @Autowired
private SalesManService salesManService; private SalesManService salesManService;
...@@ -61,10 +61,10 @@ public class UserServiceImpl implements UserService { ...@@ -61,10 +61,10 @@ public class UserServiceImpl implements UserService {
User save = userRepository.save(resource); User save = userRepository.save(resource);
if(resource.getRole().equals(RoleEnum.SOUTH_BUSSINUSS.getKey())){ if(resource.getRole().equals(RoleEnum.SOUTH_BUSSINUSS.getKey())){
// bussinussManService.create(login.getEmail(), save.getEmail(), save.getName(),"华北"); bussinussManService.create(login.getEmail(), save.getEmail(), save.getName(),"华北");
salesManService.create(login.getEmail(), save.getEmail(), save.getName()); salesManService.create(login.getEmail(), save.getEmail(), save.getName());
} else if(resource.getRole().equals(RoleEnum.NORTH_BUSSINUSS.getKey())){ } else if(resource.getRole().equals(RoleEnum.NORTH_BUSSINUSS.getKey())){
// bussinussManService.create(login.getEmail(), save.getEmail(), save.getName(),"华南"); bussinussManService.create(login.getEmail(), save.getEmail(), save.getName(),"华南");
salesManService.create(login.getEmail(), save.getEmail(), save.getName()); salesManService.create(login.getEmail(), save.getEmail(), save.getName());
} }
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
<context:component-scan base-package="tkio" /> <context:component-scan base-package="tkio" />
<context:component-scan base-package="track" /> <context:component-scan base-package="track" />
<context:component-scan base-package="common" /> <context:component-scan base-package="common" />
<context:component-scan base-package="office" />
<context:component-scan base-package="dmp" /> <context:component-scan base-package="dmp" />
<context:component-scan base-package="security" /> <context:component-scan base-package="security" />
......
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