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

📄 accountinfobizimpl.java

📁 基于Struts+Hibernate+Spring+Ajax技术开发一个简单的影院在线订票系统
💻 JAVA
字号:
package com.accp.biz.impl;


import java.util.List;

import com.accp.biz.AccountinfoBiz;
import com.accp.dao.AccountinfoDao;
import com.accp.entity.Accountinfo;

public class AccountinfoBizImpl implements AccountinfoBiz {
	private AccountinfoDao accountinfoDao;

	public AccountinfoDao getAccountinfoDao() {
		return accountinfoDao;
	}

	public void setAccountinfoDao(AccountinfoDao accountinfoDao) {
		this.accountinfoDao = accountinfoDao;
	}

	@Override
	public Accountinfo getAccountinfo(Accountinfo accountinfo) {
		// TODO Auto-generated method stub
		Accountinfo info = null;
		List list = accountinfoDao.getAccountinfo(accountinfo);
		try {
			if(list.size() != 0) {
				info = (Accountinfo)list.get(0);
			}
		} catch (RuntimeException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return info;
	}
	
}

⌨️ 快捷键说明

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