33d4f1180ed2fc599520df54b37e3e474301c75b.svn-base
1.68 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
62
63
64
/**
* 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.RegBusDyaq;
import com.thinkgem.jeesite.modules.reg.entity.bus.RegBusQlr;
import com.thinkgem.jeesite.modules.reg.entity.bus.RegBusYwr;
import com.thinkgem.jeesite.modules.reg.dao.bus.RegBusYwrDao;
/**
* 新义务人信息维护Service
* @author xuyg
* @version 2016-04-14
*/
@Service
@Transactional(readOnly = true)
public class RegBusYwrService extends CrudService<RegBusYwrDao, RegBusYwr> {
public RegBusYwr get(String id) {
return super.get(id);
}
public List<RegBusYwr> findList(RegBusYwr regBusYwr) {
return super.findList(regBusYwr);
}
public Page<RegBusYwr> findPage(Page<RegBusYwr> page, RegBusYwr regBusYwr) {
return super.findPage(page, regBusYwr);
}
public List<RegBusYwr> findListSxh(RegBusYwr regBusYwr) {
return super.findListSxh(regBusYwr);
}
@Transactional(readOnly = false)
public void save(RegBusYwr regBusYwr) {
super.save(regBusYwr);
}
@Transactional(readOnly = false)
public void delete(RegBusYwr regBusYwr) {
super.delete(regBusYwr);
}
@Transactional(readOnly = false)
public void deleteywr(RegBusYwr regBusYwr) {
dao.deleteywr(regBusYwr);
}
@Transactional(readOnly = false)
public void insert(RegBusYwr regBusYwr) {
regBusYwr.preInsert();
dao.insert(regBusYwr);
}
}