⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fileemployeeinfosearchreq.java

📁 为公司做的质量考核接口源码,用spring,hibernate,XML实现,对XML接口编程很有帮助
💻 JAVA
字号:
package business.FileEmployeeInfo;

import java.util.List;

import business.dispose.TcuBaseDataDispose;

import com.jr81.source.internet.TcuDataPackage;

import dao.FileEmployeeInfoDao;

public class FileEmployeeInfoSearchReq extends TcuBaseDataDispose{

	private FileEmployeeInfoDao dao;
	
	protected boolean DataDispose(TcuDataPackage in_data_package,
			TcuDataPackage out_stream) {
		try {
			packName="FileEmployeeInfoSearchRep";
			int PageSize=1;
			int PageIndex=0;
			String fileId=headpack.GetParam("fileId");
			if(fileId==null) {
				ReturnData(packName, -1, "fileId null",out_stream);
			}
			List list=dao.findByPage(fileId,PageIndex,PageSize);
			lc.fromList(list);
			if(list!=null){
				p[0]=String.valueOf(list.size());
			}else {
				p[0]="0";
			}
			ReturnData(packName, 1, "",p, lc,out_stream);
			
			return true;
		}catch(Exception e) {
			e.printStackTrace();
			ReturnData(packName, -1, e.getMessage(),out_stream);
			return false;
		}
			
	
	}

	public FileEmployeeInfoDao getDao() {
		return dao;
	}

	public void setDao(FileEmployeeInfoDao dao) {
		this.dao = dao;
	}

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -