Commit 7b876782 by manxiaoqiang

客户表

parent 24a9694b
......@@ -79,8 +79,8 @@ public class TkioAccountServiceImpl implements TkioAccountService {
Map<String, Object> map = new HashMap();
String email = null;
if(null != sale){
email = salesManLeaderRepository.findLeaderByBussinessMan(sale);
User user1 = userRepository.findByEmail(email);
SalesManLeader one = salesManLeaderRepository.findOne(sale);
User user1 = userRepository.findByEmail(one.getEmail());
map.put("old", user1.getName());
}
List<User> list = userService.findbyRole(user.getRole());
......
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