yj
2020-03-09 8c6123908fd6bc5a02938dd1e69750b277aa5c6a
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
28
package com.yeshi.fanli.service.impl;
 
import javax.annotation.Resource;
 
import org.springframework.stereotype.Service;
 
import com.yeshi.fanli.dao.mybatis.AdminUserMapper;
import com.yeshi.fanli.entity.common.AdminUser;
import com.yeshi.fanli.service.AdminUserService;
 
@Service
public class AdminUserServiceImpl implements AdminUserService {
 
    @Resource
    private AdminUserMapper adminUserMapper;
    
    
    public AdminUser login(String acction, String pwd) {
        return adminUserMapper.getByAccountAndPwd(acction, pwd);
    }
    
    
    @Override
    public AdminUser selectByPrimaryKey(Long id){
        return adminUserMapper.selectByPrimaryKey(id);
    }
    
}