kongdeqiang
2022-09-19 a9862e81851bbe037edc6bb1c7f562c1e55c0d7f
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
package com.boying.service;
 
import com.boying.common.BaseDao;
import com.boying.common.BaseService;
import com.boying.dao.WhiteListDao;
import com.boying.entity.WhiteList;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
 
import javax.annotation.Resource;
 
@Service
@Transactional(readOnly = true)
public class WhiteListService extends BaseService {
 
    @Autowired
    private WhiteListDao whiteListDao;
 
    @Override
    @Resource(name="whiteListDao")
    protected void setBaseDao(BaseDao baseDao) {
        this.baseDao = baseDao;
    }
 
    public Page<WhiteList> findPage2(Pageable pageable, String carNo) {
        return whiteListDao.findPage2(pageable,carNo);
    }
}