📄 accountserviceimpl.java
字号:
/**
* Created by szmx.
* User: hliu
* Date: 2006-4-6
* Time: 18:04:03
*/
package com.szmx.tlms.finance.service.impl;
import com.szmx.tlms.finance.dao.AccountDAO;
import com.szmx.tlms.finance.model.Account;
import com.szmx.tlms.finance.service.AccountService;
import com.szmx.framework.base.model.Pagination;
import com.szmx.framework.base.service.impl.BaseServiceImpl;
import java.util.List;
import java.util.Map;
/**
*
*/
public class AccountServiceImpl extends BaseServiceImpl implements AccountService {
/**
*@see AccountService#getAccounts(com.szmx.framework.base.model.Pagination, java.util.Map)
*/
public Pagination getAccounts(final Pagination paginationObj, final Map paraMap) {
return ((AccountDAO)baseDao).getAccounts(paginationObj, paraMap);
}
/**
*@see AccountService#getAccount(String, String)
*/
public Account getAccount(final String param, final String value) {
return ((AccountDAO)baseDao).getAccount(param, value);
}
/**
*@see AccountService#getAccountsBySAPCode(com.szmx.tlms.finance.model.Account)
*/
public List getAccountsBySAPCode(final Account account) {
return ((AccountDAO)baseDao).getAccountsBySAPCode(account);
}
/**
*@see AccountService#save(com.szmx.tlms.finance.model.Account)
*/
public void save(Account account) {
((AccountDAO)baseDao).saveAccount(account);
}
/**
*@see AccountService#getAccount(Long)
*/
public Account getAccount(Long id) {
return ((AccountDAO)baseDao).getAccount(id);
}
/**
*@see AccountService#removeAll(String[])
*/
public void removeAll(String[] id) {
for (int i = 0; i < id.length; i++) {
((AccountDAO)baseDao).removeAccount(new Long(Long.parseLong(id[i])));
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -