package com.gaowj.business.test.demo1;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.gaowj.business.Demo1OpeBusiness;
public class Demo1OpeBusinessImpl2 implements Demo1OpeBusiness {
	
	private Demo1DAO demo1DAO;
	
	public Demo1DAO getDemo1DAO() {
		return demo1DAO;
	}



	public void setDemo1DAO(Demo1DAO demo1DAO) {
		this.demo1DAO = demo1DAO;
	}



	@Override
	public List<Map<String,Object>> sayHello(String param) {
		Map<String,Object> m = new HashMap<String,Object>();
		List<Map<String,Object>> l = demo1DAO.listPersonal(m);
		//System.out.println(l);
		System.out.println(param);
		System.out.println("IMPL2");
		return l;
	}
	
	@Override
	public void delete(String id) {
		// TODO Auto-generated method stub
		//demo1DAO.delete(id);
		System.out.println("执行具体负责删除业务逻辑。。。");
		for(int i=0;i<30000;i++){
			
		}
	}

	@Override
	public void insert(Map<String, Object> entity) {
		// TODO Auto-generated method stub
		//demo1DAO.insert(entity);
	}

	@Override
	public void update(Map<String, Object> entity) {
		// TODO Auto-generated method stub
		//demo1DAO.modify(entity);
	}

}
