xufenglei
2017-12-04 b28a5002a58d8d0b37082da12e5b218f0951de47
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package com.moral.service.impl;
 
import java.util.List;
 
import javax.annotation.Resource;
 
import org.springframework.stereotype.Service;
 
import com.moral.entity.OperateUser;
import com.moral.entity.OperateUserExample;
import com.moral.mapper.OperateUserMapper;
import com.moral.service.OperateUserService;
 
@Service
public class OperateUserServiceImpl implements OperateUserService {
 
    @Resource
    private OperateUserMapper operateUserMapper;
 
    @Override
    public List<OperateUser> getUserList(String mobile) {
        OperateUserExample example = new OperateUserExample();
        example.or().andMobileEqualTo(mobile);
        return operateUserMapper.selectByExample(example);
    }
 
}