10f7eee93eb230b9251a6a3e7bcedb458a513009.svn-base 1.45 KB
/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.zhj.service;

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.zhj.entity.ZhjSenddata;
import com.thinkgem.jeesite.modules.zhj.dao.ZhjSenddataDao;

/**
 * 智慧局数据推送数据提取Service
 * @author 智慧局数据推送数据提取
 * @version 2020-06-16
 */
@Service
@Transactional(readOnly = true)
public class ZhjSenddataService extends CrudService<ZhjSenddataDao, ZhjSenddata> {

	public ZhjSenddata get(String id) {
		return super.get(id);
	}
	
	public List<ZhjSenddata> findList(ZhjSenddata zhjSenddata) {
		return super.findList(zhjSenddata);
	}
	
	public Page<ZhjSenddata> findPage(Page<ZhjSenddata> page, ZhjSenddata zhjSenddata) {
		return super.findPage(page, zhjSenddata);
	}
	
	@Transactional(readOnly = false)
	public void save(ZhjSenddata zhjSenddata) {
		super.save(zhjSenddata);
	}
	
	@Transactional(readOnly = false)
	public void delete(ZhjSenddata zhjSenddata) {
		super.delete(zhjSenddata);
	}
	
	
	public List<ZhjSenddata> getSendData(String limit) {
		return dao.getSendData(limit);
	}
	

	public void updateSendZt(String batchid) {
		dao.updateSendZt(batchid);
	}
}