Commit 8109e0b5 by manxiaoqiang

test pom

parent d85c12ce
......@@ -33,8 +33,8 @@ public class UserServiceImpl implements UserService {
private AuthRepository authRepository;
@Autowired
private CodeRepository codeRepository;
@Autowired
private 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());
}
......
......@@ -4,5 +4,6 @@ package office.service;
* Created by mxq on 2018/1/2.
*/
public interface BussinussManService {
void create(String loginEmail, String email, String name, String area);
}
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