工业级运维app手机api
xufenglei
2017-10-24 1c6fb0320ba354ec40faaad9dcc52e758f5c838f
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
package com.moral.monitor.service.impl;
 
import java.util.List;
 
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
import com.moral.monitor.dao.AccountEntityMapper;
import com.moral.monitor.entity.AccountEntity;
import com.moral.monitor.entity.AccountEntityExample;
import com.moral.monitor.service.ScreenService;
 
@Service
public class ScreenServiceImpl implements ScreenService {
 
    @Autowired
    private AccountEntityMapper accountDao;
 
    public List<AccountEntity> getAccountLists(String account, String password) {
        AccountEntityExample example = new AccountEntityExample();
        example.or().andAccountEqualTo(account).andPasswordEqualTo(password);
        return accountDao.selectByExample(example);
    }
 
}