| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- <?xml version="1.0" encoding="UTF-8" ?>
- <!DOCTYPE mapper
- PUBLIC "-//ibatis.apache.org//DTD Mapper 3.0//EN"
- "http://ibatis.apache.org/dtd/ibatis-3-mapper.dtd">
-
- <mapper namespace="WBYWYSL">
- <select id="RSWBBJ_S" resultType="hashmap" parameterType="hashmap">
- SELECT RS_WB_BJ_LSH,
- YHID,
- SLLSH,
- ZTID,
- ZTLB,
- ZTMC,
- SBSX,
- SBRXM,
- SBRSJ,
- SBZY,
- SQSJ,
- SQZT,
- SHYJ,
- JGLQFS,
- SJRXM,
- SJRSJ,
- SJRDZ,
- YZBM,
- FWDX,
- SJLY,
- CJR,
- CJSJ,
- ZHXGR,
- ZHXGSJ,
- SLBH,
- TS_YXBZ,TCUSTPROVINCE, TCUSTCITY, TCUSTCOUNTY
- FROM RS_WB_BJ
- WHERE rs_wb_bj_lsh = #{RS_WB_BJ_LSH}
- </select>
-
- <delete id="SDZLMX_D" parameterType="hashmap">
- DELETE SDZLMX where SDZLID in(select a.SDZLID from SDZL a ,SDJL b where a.sdjlid=b.sdjlid and b.YWGLH=#{YWGLH})
- </delete>
-
- <select id="SLXX_S" resultType="hashmap" parameterType="hashmap">
- SELECT CAZ675 YWGLH
- FROM v_appcomm_slxx
- WHERE sllsh = #{SLLSH}
- </select>
- <!-- 网办附件明细 -->
- <select id="RSWBCLFJ_S" resultType="hashmap" parameterType="hashmap">
- SELECT RS_WB_CLFJ_LSH, RS_WB_BJ_LSH, ZLLBID, WJMC, TYCCID, TS_YXBZ, CJR
- FROM RS_WB_CLFJ
- WHERE rs_wb_bj_lsh = #{RS_WB_BJ_LSH} and TS_YXBZ='1'
- </select>
- <!-- SDZLMX 插入 -->
- <insert id="SDZLMX_I" parameterType="hashmap">
- insert into SDZLMX (
- SDZLMXID, SDZLID, YWJM, JBR, JBSJ, YXBZ, WDSX, WJLX, LY, TYCCID
- ) values (
- seq_sdzlmxid.nextval,(select SDZLID from SDZL where SDJLID=#{SDJLID} and ZLLBID=#{ZLLBID} and rownum=1),
- #{YWJM},#{JBR},to_char(SYSDATE, 'YYYYMMDDhhmiss'),'1','1',#{WJLX},'2',#{TYCCID}
- )
- </insert>
- <!-- 回写收单资料录入状态-->
- <update id="SDZL_U" parameterType="hashmap">
- update SDZL a set a.zllrzt='11' where exists(select 1 from SDZLmx b where b.SDZLID=a.sdzlid) and a.SDJLID=#{SDJLID}
- </update>
- <!-- 回写收单资料录入状态,资料明细不存在的-->
- <update id="SDZL_NOT EXISTS_U" parameterType="hashmap">
- update SDZL a set a.zllrzt='0' where not exists(select 1 from SDZLmx b where b.SDZLID=a.sdzlid) and a.SDJLID=#{SDJLID}
- </update>
- <!-- 回写网办受理流水号-->
- <update id="RSWBBJ_U" parameterType="hashmap">
- update RS_WB_BJ SET SLLSH = #{SLLSH},SLBH = #{SLBH},ZHXGSJ=to_char(SYSDATE,'YYYY-MM-DD hh24:mi:ss') WHERE rs_wb_bj_lsh = #{RS_WB_BJ_LSH}
- </update>
- <!-- 回写网办状态-->
- <update id="RSWBBJ_U2" parameterType="hashmap">
- update RS_WB_BJ SET SHYJ = #{SHYJ},SQZT = #{SQZT},ZHXGSJ=to_char(SYSDATE,'YYYY-MM-DD hh24:mi:ss') WHERE SLLSH = #{SLLSH}
- </update>
- <!-- 网办科员退回,流程实例表-->
- <update id="WFPROCESSINSTANCE_U" parameterType="hashmap">
- update wf_process_instance
- set STATUS = #{STATUS},COMPLETE_TIME = to_char(sysdate, 'yyyymmddhh24miss')
- where bae007 in (select ywlsh from v_appcomm_slxx where SLLSH = #{SLLSH})
- </update>
- <!-- 网办科员退回,流程环节表-->
- <update id="WFWORKITEM_U" parameterType="hashmap">
- update wf_work_item
- set STATE = #{STATE},
- IS_RETURN = #{IS_RETURN},
- MEMO = #{MEMO},
- COMPLETE_TIME = to_char(sysdate, 'yyyymmddhh24miss')
- where work_item_id = (select max(b.work_item_id)
- from v_appcomm_slxx a, wf_work_item b
- where a.ywlsh = b.bae007
- and b.ACTION_DEF_ID like '%_kysl'
- and a.SLLSH = #{SLLSH})
- </update>
- <!-- 网办科员不予受理-->
- <update id="RSSLXX_BLZT_U" parameterType="hashmap">
- update v_appcomm_slxx set BLZT=#{BLZT} where SLLSH=#{SLLSH}
- </update>
- <!-- 回写高层次人才业务信息表-->
- <update id="GCCRCSQ_U" parameterType="hashmap">
- update v_rs_zj_gccrc_sq
- set SLLSH = #{SLLSH},
- bz =
- (select a.bz
- from rs_zj_gccrc a, rs_slxx b
- where a.ztid = b.ztid
- and b.sllsh = #{SLLSH}
- and rownum = 1)
- where RS_WB_BJ_LSH = #{RS_WB_BJ_LSH}
- </update>
- <!-- 回写政府依公开业务信息表-->
- <update id="ZFXXYSQGK_U" parameterType="hashmap">
- update RS_WB_ZFXXYSQGK set SLLSH=#{SLLSH} where RS_WB_BJ_LSH=#{RS_WB_BJ_LSH}
- </update>
- <!-- 置空业务流水号-->
- <update id="YWLSH_U" parameterType="hashmap">
- update v_appcomm_slxx set ywlsh=null where SLLSH=#{SLLSH}
- </update>
- <select id="NEWAC01_S" resultType="hashmap" parameterType="hashmap">
- select a.AAC161, a.AAC058, a.AAC147, a.AAC003, c.XB AAC004, a.AAC006, c.SJHM AAC067, a.AAC024, a.AAC300, a.ZTID, a.AAC011
- from ac01 a ,rs_wb_bj b , RS_SLXX_JBXX c where a.ztid=b.ZTID and b.RS_WB_BJ_LSH=c.RS_WB_BJ_LSH and b.rs_wb_bj_lsh = #{RS_WB_BJ_LSH}
- </select>
- <!-- 回写政PSAM卡业务信息表-->
- <update id="RS_PSAM_YWXX_SQB_U" parameterType="hashmap">
- update rs_psam_ywxx_sqb set SLLSH=#{SLLSH},ZTID=#{ZTID} where RS_WB_BJ_LSH=#{RS_WB_BJ_LSH}
- </update>
- <select id="NEWAB01_S" resultType="hashmap" parameterType="hashmap">
- select c.DWMC AAB004, c.TYSHXYDM AAB998, c.DWLX AAB019, c.SSDQ AAB078, c.DWDZ AAE006, a.ZTID
- from ab01 a ,rs_wb_bj b , RS_SLXX_JBXX c where a.ztid=b.ZTID and b.RS_WB_BJ_LSH=c.RS_WB_BJ_LSH and b.rs_wb_bj_lsh = #{RS_WB_BJ_LSH}
- </select>
-
- <update id="RS_PSAM_YWXX_SQB_U2" parameterType="hashmap">
- update rs_psam_ywxx_sqb set PSAMBH ='' where RS_WB_BJ_LSH in(select RS_WB_BJ_LSH from RS_WB_BJ where sllsh=#{SLLSH})
- </update>
-
- <!-- 回写档案转递(机要寄档)业务信息表-->
- <update id="RS_RCFWGL_DAZC_U" parameterType="hashmap">
- update v_rs_rcfwgl_dazc set SLLSH=#{SLLSH} where RS_WB_BJ_LSH=#{RS_WB_BJ_LSH}
- </update>
-
- <!-- 回写党员材料转递业务信息表-->
- <update id="RS_RCFWGL_DYCLZD_U" parameterType="hashmap">
- update v_rs_rcfwgl_dyclzd set SLLSH=#{SLLSH} where RS_WB_BJ_LSH=#{RS_WB_BJ_LSH}
- </update>
-
- <!-- 回写欠薪快速处理业务信息表-->
- <update id="QXKSCL_U" parameterType="hashmap">
- update v_RS_JC_QXKSCL_SQ
- set SLLSH = #{SLLSH}
- where RS_WB_BJ_LSH = #{RS_WB_BJ_LSH}
- </update>
-
- </mapper>
|