📄 accountserviceimpl.java
字号:
/**
*
*/
package com.tarena.service;
import java.util.List;
import com.tarena.dao.IAccountDao;
/**
* @author dong xuyuan
*
*/
public class AccountServiceImpl implements IAccountService {
private IAccountDao accountDao;
public IAccountDao getAccount() {
return accountDao;
}
public void setAccountDao(IAccountDao account) {
this.accountDao = account;
}
public List queryAccounts(String username) {
return this.accountDao.queryAccounts(username);
}
public void registerAccount(String username, String password, String desc) {
this.accountDao.registerAccount(username, password, desc);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -