SystemNoticeDaoImpl.java 1.12 KB
/**  
* @Title: SystemNoticeDaoImpl.java
* @Package com.bjivt.dao.showtime.impl
* @Description: TODO(用一句话描述该文件做什么)
* @author Yh.T
* @date 2016年9月27日 上午11:15:19
* @version  
*/ 
package com.bjivt.dao.showtime.impl;

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

import org.springframework.stereotype.Component;

import com.bjivt.base.dao.impl.BaseDaoImpl;
import com.bjivt.dao.showtime.SystemNoticeDao;
import com.bjivt.entity.showtime.SystemNotice;

/**   
 * 项目名称:admin   
 *
 * 类描述:系统公告数据DAO层
 * 类名称:com.bjivt.dao.showtime.impl.SystemNoticeDaoImpl     
 * Yh.T
 * 创建时间:2016年9月27日 上午11:15:19   
 * 修改备注:   
 * @version   
 */
@Component
public class SystemNoticeDaoImpl extends BaseDaoImpl<SystemNotice, Integer> implements SystemNoticeDao {

	@Override
	public List<SystemNotice> getNoticeAsAction(int action) {
		Map<String, Object> map = new HashMap<String, Object>();
		map.put("action", action);
		return this.getSqlSession().selectList("com.bjivt.entity.showtime.SystemNotice.getNoticeAsAction", map);
	}


}