UserGiftDetailDaoImpl.java
1.15 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
43
44
45
/**
* admin
* Yh.T
* 2016年7月6日 下午3:58:55
*
*/
package com.bjivt.dao.showtime.impl;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.session.SqlSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import com.bjivt.base.dao.impl.BaseDaoImpl;
import com.bjivt.dao.showtime.UserGiftDetailDao;
import com.bjivt.entity.vo.UserGiftDetail;
import com.bjivt.util.Pager;
/**
* @author ts
*
*/
@Component
public class UserGiftDetailDaoImpl extends BaseDaoImpl<UserGiftDetail, Integer> implements UserGiftDetailDao {
@Autowired(required = true)
protected SqlSession sqlSessionTemplate;
/* (non-Javadoc)
* @see com.bjivt.base.dao.BaseDao#findListByMap(java.util.Map)
*/
// public List<UserGiftDetail> findUserGiftListByMap(UserGiftDetail detail) {
//
// return sqlSessionTemplate.selectList("com.bjivt.entity.showtime.GiftDetail.findUserGiftListByMap", detail);
// }
@Override
public List<UserGiftDetail> findListByTime(UserGiftDetail gift, Pager page) {
return sqlSessionTemplate.selectList("com.bjivt.entity.vo.UserGiftDetail.findListByTime", gift);
}
}