worksreportserviceimpl.java
来自「一个采用J2EE技术实现的企业协同工作台」· Java 代码 · 共 43 行
JAVA
43 行
package common.work.service;
import common.work.bean.Fileaa;
import common.work.dao.FileaaDAO;
public class WorksreportServiceImpl implements WorksreportService {
private FileaaDAO fileaaDao;
public FileaaDAO getFileaaDao() {
return fileaaDao;
}
public void setFileaaDao(FileaaDAO fileaaDao) {
this.fileaaDao = fileaaDao;
}
public Fileaa getById(Integer fileid) {
// TODO Auto-generated method stub
return fileaaDao.findById(fileid);
}
public Fileaa getByname(String name) {
// TODO Auto-generated method stub
return fileaaDao.findByfilename(name);
}
public void update(Fileaa file) {
// TODO Auto-generated method stub
fileaaDao.Update(file);
}
public void Save(Fileaa file){
fileaaDao.save(file);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?