5ef0eed5c339e8b5a21ccb01f07cf12110271784.svn-base 3.88 KB
/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.reg.service.updata;

import java.util.List;
import java.util.Map;

import org.apache.cxf.endpoint.Client;
import org.apache.cxf.frontend.ClientProxy;
import org.apache.cxf.jaxws.JaxWsProxyFactoryBean;
import org.apache.cxf.transport.http.HTTPConduit;
import org.apache.cxf.transports.http.configuration.HTTPClientPolicy;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.config.Global;
import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.common.utils.StringUtils;
import com.thinkgem.jeesite.modules.reg.dao.updata.RegBusSjhjtableDao;
import com.thinkgem.jeesite.modules.reg.entity.updata.RegBusSjhjtable;
import com.thinkgem.jeesite.modules.restws.webservice.IEventWebService;


/**
 * 数据汇交Service
 * @author xuyg
 * @version 2016-08-10
 */
@Service
@Transactional(readOnly = true)
public class RegBusSjhjtableService extends CrudService<RegBusSjhjtableDao, RegBusSjhjtable> {
    @Autowired
    public RegBusSjhjtableDao regBusSjhjtableDao;
	public RegBusSjhjtable get(String id) {
		return super.get(id);
	}
	
	public List<RegBusSjhjtable> findList(RegBusSjhjtable regBusSjhjtable) {
		return super.findList(regBusSjhjtable);
	}
	
	public Page<RegBusSjhjtable> findPage(Page<RegBusSjhjtable> page, RegBusSjhjtable regBusSjhjtable) {
		return super.findPage(page, regBusSjhjtable);
	}
	
	@Transactional(readOnly = false)
	public void save(RegBusSjhjtable regBusSjhjtable) {
		super.save(regBusSjhjtable);
	}
	
	@Transactional(readOnly = false)
	public void delete(RegBusSjhjtable regBusSjhjtable) {
		super.delete(regBusSjhjtable);
	}
	/**
	* @Title: findMaxBizmsgid 
	* @Description: 查询当前数据库里最大的宗地代码
	* @param @return    设定文件 
	* @return String    返回类型 
	* @throws
	 */
	public String findMaxBizmsgid(){
		if("oracle".equals(Global.getDbName())){
			return dao.findMaxBizmsgidofOracle();
		}else{
			return dao.findMaxBizmsgid();
		}
	}
	//上报日志接入查询
	public String findAllnum(Map map){
		return dao.allnum(map);
	}
	public String findScnum(Map map){
		return dao.scnum(map);
	}
	public String findZynum(Map map){
		return dao.zynum(map);
	}
	public String findBgnum(Map map){
		return dao.bgnum(map);
	}
	public String findZxnum(Map map){
		return dao.zxnum(map);
	}
	public String findGznum(Map map){
		return dao.gznum(map);
	}
	public String findYynum(Map map){
		return dao.yynum(map);
	}
	public String findYgnum(Map map){
		return dao.ygnum(map);
	}
	public String findCfnum(Map map){
		return dao.cfnum(map);
	}
	public String findDyaqnum(Map map){
		return dao.dyaqnum(map);
	}
	public String findDyiqnum(Map map){
		return dao.dyiqnum(map);
	}
	public String findTypeCount(Map map){
		return dao.businessTypeCount(map);
	}
	
	public String findAllnum1(Map map){
		return dao.allnum1(map);
	}
	public String findScnum1(Map map){
		return dao.scnum1(map);
	}
	public String findZynum1(Map map){
		return dao.zynum1(map);
	}
	public String findBgnum1(Map map){
		return dao.bgnum1(map);
	}
	public String findZxnum1(Map map){
		return dao.zxnum1(map);
	}
	public String findGznum1(Map map){
		return dao.gznum1(map);
	}
	public String findYynum1(Map map){
		return dao.yynum1(map);
	}
	public String findYgnum1(Map map){
		return dao.ygnum1(map);
	}
	public String findCfnum1(Map map){
		return dao.cfnum1(map);
	}
	public String findDyaqnum1(Map map){
		return dao.dyaqnum1(map);
	}
	public String findDyiqnum1(Map map){
		return dao.dyiqnum1(map);
	}
	
	/**
	 * 数据上报获取随机数
	 * @param regBusSlsq
	 */
	public String Frandom(String qxdm) {
		return dao.Frandom(qxdm);
	}
	
}