<?xml version="1.0" encoding="UTF-8"?>  
<!DOCTYPE sqlMap   
    PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN"   
    "http://ibatis.apache.org/dtd/sql-map-2.dtd">  
<sqlMap namespace="com.hst.tmService.dao.BusTaxWsxtAppMapper">

	
    <resultMap class="com.hst.taxService.domain.WsxtkclbDomain" id="queryWsxtGetListResMap">
    	<result property="spkjXh" column="SPKJ_XH"/>
    	<result property="spkjMc" column="SPKJ_MC"/>
    	<result property="newbz" column="NEW_BZ"/>
    	<result property="fbrq" column="FBRQ"/>
    	<result property="keyWord" column="KEYWORD"/>
    	<result property="llcs" column="LLCS"/>
    	<result property="xzcs" column="XZCS"/>
    </resultMap>
    <parameterMap class="java.util.Map" id="queryWsxtGetListMap">
    	<parameter property="swjgDm"  javaType="java.lang.String"   jdbcType="VARCHAR" mode="IN"/>
    	<parameter property="kcflbm"     javaType="java.lang.String"   jdbcType="VARCHAR" mode="IN"/>
    	<parameter property="index"   javaType="java.lang.Integer"  jdbcType="BIGINT" mode="IN" />
	    <parameter property="size"    javaType="java.lang.Integer"  jdbcType="BIGINT" mode="IN" />
	    <parameter property="count"   javaType="java.lang.Integer"  jdbcType="BIGINT" mode="OUT" />
	    <parameter property="wsxtGetList" javaType="java.sql.ResultSet" jdbcType="ORACLECURSOR" mode="OUT" resultMap="queryWsxtGetListResMap" />
    </parameterMap>
    
    <procedure id="queryWsxtGetList" parameterMap="queryWsxtGetListMap" >
    	{call P_WEBJK_WX221_WSXTGETLIST(?,?,?,?,?,?)}
    </procedure>
    
    <resultMap class="com.hst.taxService.domain.WsxtspmxDomain" id="queryWsxtGetMessResMap">
    	<result property="xh" column="XH"/>
    	<result property="kjmc" column="KJMC"/>
    	<result property="downUrl" column="downUrl"/>
    </resultMap>
    <parameterMap class="java.util.Map" id="queryWsxtGetMessMap">
    	<parameter property="spkjXh"   javaType="java.lang.String"   jdbcType="VARCHAR" mode="IN"/>
    	<parameter property="spkjMc"   javaType="java.lang.String"   jdbcType="VARCHAR"  mode="OUT" />
	    <parameter property="spkjZy"   javaType="java.lang.String"   jdbcType="VARCHAR" mode="OUT" />
	    <parameter property="newbz"    javaType="java.lang.String"   jdbcType="VARCHAR"  mode="OUT" />
	    <parameter property="fbrq"     javaType="java.lang.String"   jdbcType="VARCHAR" mode="OUT" />
	    <parameter property="keyword"  javaType="java.lang.String"   jdbcType="VARCHAR"  mode="OUT" />
	    <parameter property="llcs"     javaType="java.lang.String"   jdbcType="VARCHAR" mode="OUT" />
	    <parameter property="xzcs"     javaType="java.lang.String"   jdbcType="VARCHAR" mode="OUT" />
    	<parameter property="code"     javaType="java.lang.String"   jdbcType="VARCHAR"  mode="OUT" />
	    <parameter property="mess"     javaType="java.lang.String"   jdbcType="VARCHAR" mode="OUT" />
	  	<parameter property="wsxtGetMess"  javaType="java.sql.ResultSet" jdbcType="ORACLECURSOR" mode="OUT" resultMap="queryWsxtGetMessResMap" />
    </parameterMap>
    
    <procedure id="queryWsxtGetMess" parameterMap="queryWsxtGetMessMap" >
    	{call P_WEBJK_WX222_WSXTGETMESS(?,?,?,?,?,?,?,?,?,?,?)}
    </procedure>
    
   
    <parameterMap class="java.util.Map" id="queryWsxtPutDownLogMap">
    	<parameter property="spkjXh"    javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
    	<parameter property="xh"       javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
    	<parameter property="wxh"       javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
    	<parameter property="downTime" javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
	    <parameter property="code"      javaType="java.lang.String" jdbcType="VARCHAR" mode="OUT" />
	    <parameter property="mess"  javaType="java.lang.String" jdbcType="VARCHAR" mode="OUT" />
    </parameterMap>
    
    <procedure id="queryWsxtPutDownLog" parameterMap="queryWsxtPutDownLogMap" >
    	{call P_WEBJK_WX223_WSXTPUTDOWNLOG(?,?,?,?,?,?)}
    </procedure>
	
	<select id="queryWsxtGetJsnr" parameterClass="java.util.Map" resultClass="com.hst.taxService.domain.WsxtjsnrDomain">
		SELECT  wxjsnr nr  FROM NSFW_WSSX_WXJS where rownum=1
	</select>
	
</sqlMap>