SystemNoticeDaoImpl.java
1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/**
* @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);
}
}