18b58580c357db83e49796beeb80adc619e6bc60.svn-base
1.61 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/**
* Copyright © 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.thinkgem.jeesite.modules.reg.service.bus;
import java.util.List;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.reg.entity.bus.RegBusRights;
import com.thinkgem.jeesite.modules.reg.dao.bus.RegBusRightsDao;
/**
* 确权信息维护Service
* @author xuyg
* @version 2016-04-23
*/
@Service
@Transactional(readOnly = true)
public class RegBusRightsService extends CrudService<RegBusRightsDao, RegBusRights> {
public RegBusRights get(String id) {
return super.get(id);
}
public RegBusRights getByBdcdyh(String bdcdyh) {
return dao.getByBdcdyh(bdcdyh);
}
public List<RegBusRights> findList(RegBusRights regBusRights) {
return super.findList(regBusRights);
}
public Page<RegBusRights> findPage(Page<RegBusRights> page, RegBusRights regBusRights) {
return super.findPage(page, regBusRights);
}
@Transactional(readOnly = false)
public void save(RegBusRights regBusRights) {
super.save(regBusRights);
}
@Transactional(readOnly = false)
public void updateRegBusRights(RegBusRights regBusRights) {
dao.updateRegBusRights(regBusRights);
}
@Transactional(readOnly = false)
public void deleteRegBusRights(String bdcdyh) {
dao.deleteRegBusRights(bdcdyh);
}
@Transactional(readOnly = false)
public void delete(RegBusRights regBusRights) {
super.delete(regBusRights);
}
}