Commit 496b9874 by manxiaoqiang

test pom

parent 8109e0b5
......@@ -33,8 +33,8 @@ public class UserServiceImpl implements UserService {
private AuthRepository authRepository;
@Autowired
private CodeRepository codeRepository;
// @Autowired
// BussinussManService bussinussManService;
@Autowired
BussinussManService bussinussManService;
@Autowired
private SalesManService salesManService;
......@@ -61,10 +61,10 @@ public class UserServiceImpl implements UserService {
User save = userRepository.save(resource);
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());
} 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());
}
......
......@@ -21,6 +21,7 @@
<context:component-scan base-package="tkio" />
<context:component-scan base-package="track" />
<context:component-scan base-package="common" />
<context:component-scan base-package="office" />
<context:component-scan base-package="dmp" />
<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