accountserviceimpl.java

来自「滑动窗口仿真程序」· Java 代码 · 共 36 行

JAVA
36
字号
/**
 * 
 */
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 + =
减小字号Ctrl + -
显示快捷键?