xt6102serviceimpl.java
来自「一个完整的物流系统」· Java 代码 · 共 44 行
JAVA
44 行
package jp.com.cost.xt.service.impl;
import java.util.List;
import jp.com.cost.dao.AccountDao;
import jp.com.cost.pojo.Account;
import jp.com.cost.xt.service.XT6102Service;
import jp.com.cost.xt.web.form.XT6102Form;
public class XT6102ServiceImpl implements XT6102Service {
private AccountDao accountDao;
/**
* @return the accountDao
*/
public AccountDao getAccountDao() {
return accountDao;
}
/**
* @param accountDao the accountDao to set
*/
public void setAccountDao(AccountDao accountDao) {
this.accountDao = accountDao;
}
public boolean addAccount(XT6102Form form) {
// TODO Auto-generated method stub
boolean bln = false;
bln = accountDao.addAccount(form);
return bln;
}
public Account searchAccountID(XT6102Form form) {
// TODO Auto-generated method stub
Account account = accountDao.findAccountID(form);
return account;
}
public List searchAid(String aid) {
// TODO Auto-generated method stub
List list = accountDao.findAid(aid);
return list;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?