e6441e317063dda4e4f05a695287f5a85d70940b.svn-base
1.76 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
/**
* Copyright © 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
*/
package com.thinkgem.jeesite.modules.sumdata.service.datatable;
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.sumdata.entity.datatable.SRegBaseZsglb;
import com.thinkgem.jeesite.modules.sumdata.entity.datatable.SRegBusBdcqzsdjxx;
import com.thinkgem.jeesite.modules.sumdata.dao.datatable.SRegBaseZsglbDao;
/**
* s_reg_base_zsglbService
* @author xuyg
* @version 2017-03-07
*/
@Service
@Transactional(readOnly = true)
public class SRegBaseZsglbService extends CrudService<SRegBaseZsglbDao, SRegBaseZsglb> {
public SRegBaseZsglb get(String id) {
return super.get(id);
}
public SRegBaseZsglb getqxid(String id) {
return dao.getqxid(id);
}
public List<SRegBaseZsglb> findList(SRegBaseZsglb sRegBaseZsglb) {
return super.findList(sRegBaseZsglb);
}
public Page<SRegBaseZsglb> findPage(Page<SRegBaseZsglb> page, SRegBaseZsglb sRegBaseZsglb) {
return super.findPage(page, sRegBaseZsglb);
}
@Transactional(readOnly = false)
public void save(SRegBaseZsglb sRegBaseZsglb) {
super.save(sRegBaseZsglb);
}
@Transactional(readOnly = false)
public void delete(SRegBaseZsglb sRegBaseZsglb) {
super.delete(sRegBaseZsglb);
}
@Transactional(readOnly = false)
public void insert(SRegBaseZsglb sRegBaseZsglb) {
sRegBaseZsglb.preInsert();
dao.insert(sRegBaseZsglb);
}
@Transactional(readOnly = false)
public void update(SRegBaseZsglb sRegBaseZsglb) {
sRegBaseZsglb.preUpdate();
dao.update(sRegBaseZsglb);
}
}