<?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.TaxSmzAppMapper">
    <insert id="insertSmzBsySxsfzBdjl" parameterClass="com.hst.common.bo.SmzBsySxsfzBdjl">
        <selectKey keyProperty="rxsfzBdxh" resultClass="string" type="pre">
            select $databaseUsername$.SEQ_RXSFZ_BDXH.nextval rxsfzBdxh from dual
        </selectKey>
        INSERT INTO $databaseUsername$.SMZ_BSY_RXSFZ_BDJL
        (RXSFZ_BDXH,XM,SFZHM,XB,MZ,CSRQ,ZZ,
        QFJG,YXQ_Q,YXQ_Z,SFZZM_PIC,SFZFM_PIC,HEAD_PIC,
        BDRQ,XSBL,BDJG,QHHM,SJLY_DM,CJRQ,CJR_DM )
        VALUES
        (#rxsfzBdxh#,#xm#,#sfzhm#,#xb#,#mz#,to_date(#csrq#,'YYYY-MM-DD'),#zz#,
        #qfjg#,to_date(#yxq_q#,'YYYY-MM-DD'),to_date(#yxq_z#,'YYYY-MM-DD'),#sfzzmPic:CLOB#,#sfzfmPic:CLOB#,#headPic:CLOB#,
        SYSDATE,#xsbl#,#bdjg#,#qhhm#,#sjlyDm#,sysdate,#cjrDm#)
    </insert>


    <parameterMap class="java.util.Map" id="pWebjkSmz9101RysfzbdPar">
        <parameter property="sfzhm" javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
        <parameter property="rxsfzBdxh" javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
        <parameter property="nj" 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"/>
    </parameterMap>

    <procedure id="pWebjkSmz9101Rysfzbd" parameterMap="pWebjkSmz9101RysfzbdPar">
        {call P_WEBJK_SMZ9101_RYSFZBD(?,?,?,?,?)}
    </procedure>

    <parameterMap class="java.util.Map" id="pWebjkSmz9103GetBdxxPar">
        <parameter property="sfzhm" javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
        <parameter property="rxsfzBdxh" javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
        <parameter property="nj" 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"/>
    </parameterMap>

    <procedure id="pWebjkSmz9103GetBdxx" parameterMap="pWebjkSmz9103GetBdxxPar">
        {call P_WEBJK_SMZ9103_GETBDXX(?,?,?,?,?)}
    </procedure>

    <parameterMap class="java.util.Map" id="pWebjkSmz9201JhxtHzQhhmPar">
        <parameter property="rxsfzBdxh" javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
        <parameter property="qhhm" 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="pWebjkSmz9201JhxtHzQhhm" parameterMap="pWebjkSmz9201JhxtHzQhhmPar">
        {call P_WEBJK_SMZ9201_JHXTHZQHHM(?,?,?,?)}
    </procedure>

    <parameterMap class="java.util.Map" id="pWebjkSmz9104GetSfzbdxxPar">
        <parameter property="sfzhm" javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
        <parameter property="nj" 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"/>
    </parameterMap>

    <procedure id="pWebjkSmz9104GetSfzbdxx" parameterMap="pWebjkSmz9104GetSfzbdxxPar">
        {call P_WEBJK_SMZ9104_GETSFZBDXX(?,?,?,?)}
    </procedure>

    <parameterMap class="java.util.Map" id="pWebjkSmz9041BsydjPar">
        <parameter property="nsrsbh" javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
        <parameter property="xm" javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
        <parameter property="xb" javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
        <parameter property="sjhm" javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
        <parameter property="sfzh" javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
        <parameter property="bsySfbz" javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
        <parameter property="njdjXh" 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"/>
    </parameterMap>

    <procedure id="pWebjkSmz9041Bsydj" parameterMap="pWebjkSmz9041BsydjPar">
        {call P_WEBJK_SMZ9041_BSYDJ(?,?,?,?,?,?,?,?,?)}
    </procedure>

    <parameterMap class="java.util.Map" id="pWebjkSmz9402BsyDelPar">
        <parameter property="nsrsbh" javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
        <parameter property="sfzh" javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
        <parameter property="njdjXh" 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="pWebjkSmz9402BsyDel" parameterMap="pWebjkSmz9402BsyDelPar">
        {call P_WEBJK_SMZ9042_BSYDEL(?,?,?,?,?)}
    </procedure>

    <resultMap class="com.hst.taxService.domain.smz.JhxtGetBsyxxByqhhmReturnDomain" id="pWebjkSmz9202GetBsyxxByQhhmBsResMap">
        <result property="xm" column="xm"/>
        <result property="sfzhm" column="sfzhm"/>
        <result property="xb" column="xb"/>
        <result property="mz" column="mz"/>
        <result property="csrq" column="csrq"/>
        <result property="zz" column="zz"/>
        <result property="qfjg" column="qfjg"/>
        <result property="yxq_q" column="yxq_q"/>
        <result property="yxq_z" column="yxq_z"/>
        <result property="sfzzmPic" column="sfzzmPic"/>
        <result property="sfzfmPic" column="sfzfmPic"/>
        <result property="headPic" column="headPic"/>
        <result property="sjlyMc" column="sjlyMc"/>
        <result property="bsypjdj" column="bsypjdj"/>
        <result property="sjhm" column="sjhm"/>
        <result property="wxgzbz" column="wxgzbz"/>
    </resultMap>
    <parameterMap class="java.util.Map" id="pWebjkSmz9202GetBsyxxByQhhmMap">
        <parameter property="qhhm" 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"/>
        <parameter property="dataList" javaType="java.sql.ResultSet" jdbcType="ORACLECURSOR" mode="OUT" resultMap="pWebjkSmz9202GetBsyxxByQhhmBsResMap"/>
    </parameterMap>

    <procedure id="pWebjkSmz9202GetBsyxxByQhhm" parameterMap="pWebjkSmz9202GetBsyxxByQhhmMap">
        {call P_WEBJK_SMZ9202_GETBSYXXBYQHHM(?,?,?,?)}
    </procedure>


    <resultMap class="com.hst.taxService.domain.smz.JhxtGetBdNsrxxDomain" id="pWebjkSmz9203GetBdNsrxxResMap">
        <result property="nsrsbh" column="nsrsbh"/>
        <result property="nsrmc" column="nsrmc"/>
        <result property="tsyjbz" column="tsyjbz"/>
        <result property="tsyjnr" column="tsyjnr"/>
        <result property="fsrq" column="fsrq"/>
        <result property="fsr" column="fsr"/>
    </resultMap>
    <parameterMap class="java.util.Map" id="pWebjkSmz9203GetBdNsrxxMap">
        <parameter property="sfzhm" 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"/>
        <parameter property="dataList" javaType="java.sql.ResultSet" jdbcType="ORACLECURSOR" mode="OUT" resultMap="pWebjkSmz9203GetBdNsrxxResMap"/>
    </parameterMap>

    <procedure id="pWebjkSmz9203GetBdNsrxx" parameterMap="pWebjkSmz9203GetBdNsrxxMap">
        {call P_WEBJK_SMZ9203_GETBDNSRXX(?,?,?,?)}
    </procedure>


    <parameterMap class="java.util.Map" id="pWebjkSmz9204SaveYcxgzMap">
        <parameter property="xm" javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
        <parameter property="sfzhm" javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
        <parameter property="sjhm" javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
        <parameter property="gznr" javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
        <parameter property="nsrsbh" javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
        <parameter property="czyxm" javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
        <parameter property="czydm" 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="pWebjkSmz9204SaveYcxgz" parameterMap="pWebjkSmz9204SaveYcxgzMap">
        {call P_WEBJK_SMZ9204_SAVEYCXGZ(?,?,?,?,?,?,?,?,?)}
    </procedure>

    <parameterMap class="java.util.Map" id="pWebjkSmz9206AddBsydjMap">
        <parameter property="sfzhm" javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
        <parameter property="nsrsbh" javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
        <parameter property="sflbdm" 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="pWebjkSmz9206AddBsydj" parameterMap="pWebjkSmz9206AddBsydjMap">
        {call P_WEBJK_SMZ9206_SAVEBSYDJ(?,?,?,?,?)}
    </procedure>


    <resultMap class="com.hst.taxService.domain.smz.JhxtGetNsrxxBynsrsbhReturnDomain" id="pWebjkSmz9207GetNsrxxByNsrsbhResMap">
        <result property="nsrsbh" column="nsrsbh"/>
        <result property="nsrmc" column="nsrmc"/>
        <result property="nsrzt" column="nsrzt"/>
        <result property="swjgmc" column="swjgmc"/>
        <result property="frxm" column="frxm"/>
        <result property="frzjhm" column="frzjhm"/>
        <result property="cwfzr" column="cwfzr"/>
        <result property="cwfzrzjhm" column="cwfzrzjhm"/>
        <result property="glyxm" column="GLYXM"/>
    </resultMap>
    <parameterMap class="java.util.Map" id="pWebjkSmz9207GetNsrxxByNsrsbhMap">
        <parameter property="nsrsbh" 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"/>
        <parameter property="dataList" javaType="java.sql.ResultSet" jdbcType="ORACLECURSOR" mode="OUT" resultMap="pWebjkSmz9207GetNsrxxByNsrsbhResMap"/>
    </parameterMap>

    <procedure id="pWebjkSmz9207GetNsrxxByNsrsbh" parameterMap="pWebjkSmz9207GetNsrxxByNsrsbhMap">
        {call P_WEBJK_SMZ9207_GETNSRXX(?,?,?,?)}
    </procedure>

    <resultMap class="com.hst.taxService.domain.smz.JhxtGetXtcsDomain" id="pWebjkSmz9208GetXtcsResMap">
        <result property="csbm" column="csbm"/>
        <result property="csz" column="csz"/>
    </resultMap>
    <parameterMap class="java.util.Map" id="pWebjkSmz9208GetXtcsMap">
        <parameter property="swjgdm" 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"/>
        <parameter property="dataList" javaType="java.sql.ResultSet" jdbcType="ORACLECURSOR" mode="OUT" resultMap="pWebjkSmz9208GetXtcsResMap"/>
    </parameterMap>

    <procedure id="pWebjkSmz9208GetXtcs" parameterMap="pWebjkSmz9208GetXtcsMap">
        {call P_WEBJK_SMZ9208_GETXTCS(?,?,?,?)}
    </procedure>

    <resultMap class="com.hst.taxService.domain.smz.JhxtGetYyxxDomain" id="pWebjkSmz9209GetYyxxResMap">
        <result property="sjqh_xh" column="sjqh_xh"/>
        <result property="bsdt_djxh" column="bsdt_djxh"/>
        <result property="userid" column="userid"/>
        <result property="rq" column="rq"/>
        <result property="ywflbm" column="ywflbm"/>
        <result property="ywflmc" column="ywflmc"/>
        <result property="lbdm" column="lbdm"/>
        <result property="xm" column="xm"/>
        <result property="nsrsbh" column="nsrsbh"/>
        <result property="sfzhm" column="sfzhm"/>
        <result property="bz" column="bz"/>
        <result property="yxbz" column="yxbz"/>
        <result property="qhsj" column="qhsj"/>
        <result property="yyrq" column="yyrq"/>
        <result property="yysjq" column="yysjq"/>
        <result property="yysjz" column="yysjz"/>
        <result property="hqyzm" column="hqyzm"/>
        <result property="hqjzsj" column="hqjzsj"/>
        <result property="qhhm" column="qhhm"/>
        <result property="zfsj" column="zfsj"/>
        <result property="qhbz" column="qhbz"/>
        <result property="hqsj" column="hqsj"/>
        <result property="yyly" column="yyly"/>
        <result property="sjhm" column="sjhm"/>
    </resultMap>
    <parameterMap class="java.util.Map" id="pWebjkSmz9209GetYyxxMap">
        <parameter property="bsdt_djxh" javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
        <parameter property="rq_q" javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
        <parameter property="rq_z" 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"/>
        <parameter property="dataList" javaType="java.sql.ResultSet" jdbcType="ORACLECURSOR" mode="OUT" resultMap="pWebjkSmz9209GetYyxxResMap"/>
    </parameterMap>

    <procedure id="pWebjkSmz9209GetYyxx" parameterMap="pWebjkSmz9209GetYyxxMap">
        {call P_WEBJK_SMZ9209_GETYYXX(?,?,?,?,?,?)}
    </procedure>


    <parameterMap class="java.util.Map" id="pWebjkSmz9210XxtsMap">
        <parameter property="ckbm" javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
        <parameter property="czyxm" javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
        <parameter property="czydm" javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
        <parameter property="nsrsbh" javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
        <parameter property="nsrmc" javaType="java.lang.String" jdbcType="VARCHAR" mode="IN"/>
        <parameter property="xxnr" 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="pWebjkSmz9210Xxts" parameterMap="pWebjkSmz9210XxtsMap">
        {call P_WEBJK_SMZ9210_XXTS(?,?,?,?,?,?,?,?)}
    </procedure>

    <resultMap class="com.hst.taxService.domain.smz.JhxtGetSssxdmDomain" id="pWebjkSmz9213GetSssxDmResMap">
        <result property="gdslb" column="gdslb"/>
        <result property="sssx_dl_dm" column="sssx_dl_dm"/>
        <result property="sssx_dl_mc" column="sssx_dl_mc"/>
        <result property="sssx_dm" column="sssx_dm"/>
        <result property="sssx_mc" column="sssx_mc"/>
        <result property="sssx_mc" column="sssx_mc"/>
        <result property="cysxbz" column="cysxbz"/>
        <result property="pxxh" column="pxxh"/>
    </resultMap>
    <parameterMap class="java.util.Map" id="pWebjkSmz9213GetSssxDmMap">
        <parameter property="bsdt_djxh" 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"/>
        <parameter property="dataList" javaType="java.sql.ResultSet" jdbcType="ORACLECURSOR" mode="OUT" resultMap="pWebjkSmz9213GetSssxDmResMap"/>
    </parameterMap>

    <procedure id="pWebjkSmz9213GetSssxDm" parameterMap="pWebjkSmz9213GetSssxDmMap">
        {call P_WEBJK_SMZ9213_GETSSSXDM(?,?,?,?)}
    </procedure>


</sqlMap>