dec0841e63db5d2b774540e95be1ea636bd9c93a.svn-base 1.3 KB
/**
 * Copyright &copy; 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.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.sumdata.entity.datatable.SRegBusSjchild;
import com.thinkgem.jeesite.modules.sumdata.dao.datatable.SRegBusSjchildDao;

/**
 * s_reg_bus_sjmainService
 * @author xuyg
 * @version 2017-03-08
 */
@Service
@Transactional(readOnly = true)
public class SRegBusSjchildService extends CrudService<SRegBusSjchildDao, SRegBusSjchild> {

	@Autowired
	private SRegBusSjchildDao sRegBusSjchildDao;
	
	public SRegBusSjchild get(String id) {
		SRegBusSjchild sRegBusSjchild = super.get(id);
		return sRegBusSjchild;
	}
	
	public SRegBusSjchild getqxid(String id) {
		SRegBusSjchild sRegBusSjchild = dao.getqxid(id);
		return sRegBusSjchild;
	}
	
	public List<SRegBusSjchild> findList(SRegBusSjchild SRegBusSjchild) {
		return dao.findList(SRegBusSjchild);
	}
	
	@Transactional(readOnly = false)
	public void save(SRegBusSjchild SRegBusSjchild) {
		super.save(SRegBusSjchild);
	}
}