| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- <?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="DAGL_COMM">
- <!-- 档案管理-档案资料-查询 -->
- <select id="DA_DAZL_XG_Q" resultType="hashmap" parameterType="hashmap">
- select ZLID,ZJHM, XM, LB, BH, YS,BZ, YWLSH, DWBH, DWMC, JBSJ from DA_DAZL
- where ZLID = #{ZLID}
- </select>
- <!-- 档案管理-档案事件-新增 -->
- <insert id="DA_DASJ_I" parameterType="hashmap">
- insert into DA_DASJ
- (ZLID, ID, SJLX, BZ, JBR, JBSJ)
- values
- (#{ZLID},#{ID}, #{SJLX}, #{BZ}, #{JBR}, to_number(to_char(sysdate,'YYYYMMDDHH24MISS')))
- </insert>
- <!-- 档案管理-档案事件明细-新增 -->
- <insert id="DA_DASJMX_I" parameterType="hashmap">
- insert into DA_DASJMX
- (DM, DMXZ, ID, MID, DMJZ)
- values
- (#{DM}, #{DMXZ}, #{ID}, SEQ_DA_DASJMX_MID.Nextval, #{DMJZ})
- </insert>
-
- <update id="DA_DALB_XXH_U" parameterType="hashmap">
- update DA_DALB_XXH
- set XXH = #{XXH}
- where ORGCODE = #{ORGCODE}
- and DALB = #{DALB}
- and XXH = #{W_XXH}
- </update>
- <!-- 档案管理-档案资料-修改 -->
- <update id="DA_DAZL_U" parameterType="hashmap">
- update DA_DAZL set YS= #{YS},BZ= #{BZ} where ZLID = #{ZLID}
- </update>
-
- <!-- 档案管理-档案汇总-汇总 -->
- <update id="DA_DAZL_HZ_U" parameterType="hashmap">
- update DA_DAZL set YS= #{YS},BZ= #{BZ} where ZLID = #{ZLID}
- </update>
- <select id="WF_PROCESS_INSTANCE_Q1" resultType="hashmap" parameterType="hashmap">
- select PROCESS_DEF_ID,STATUS from WF_PROCESS_INSTANCE
- where BAE007 = #{BAE007}
- </select>
- <select id="WF_WORK_ITEM_Q2" resultType="hashmap" parameterType="hashmap">
- select BAE006,OPERID,COMPLETE_TIME from WF_WORK_ITEM a
- where a.WORK_ITEM_ID = (select max(WORK_ITEM_ID) from WF_WORK_ITEM b
- where b.BAE007 = #{BAE007})
- </select>
-
- <!-- 档案管理-机构代码-查询 -->
- <select id="DA_JGDM_QZH_Q" resultType="hashmap" parameterType="hashmap">
- select XTJGDM,JGDM,JGMC,QZH,DALX
- from da_jgdm
- where XTJGDM = #{XTJGDM}
- </select>
-
- <!-- 档案管理-档案资料-查询 -->
- <select id="DA_DAZL_Q_BY_TXM" resultType="hashmap" parameterType="hashmap">
- select *
- from v_dagl_dahz_dhzdadjxx
- where TXM = #{TXM}
- </select>
-
- <!-- 档案管理-档案汇总流程-查询 -->
- <select id="DA_DAHZLC_Q_BY_YJPH" resultType="hashmap" parameterType="hashmap">
- select *
- from da_dahzlc
- where YJPH = #{YJPH}
- and spbz = '1'
- </select>
-
- <!-- 档案管理-档案资料-查询 -->
- <select id="DA_DAZL_Q_BY_HZPH" resultType="hashmap" parameterType="hashmap">
- select *
- from da_dazl
- where HZPH = #{HZPH}
- </select>
-
- <!-- 档案管理-收单资料明细-查询 -->
- <select id="DA_SDZLMX_Q_BY_YWGLH" resultType="hashmap" parameterType="hashmap">
- select *
- from v_dagl_dayj_sdzlmx
- where YWGLH = #{YWGLH}
- </select>
-
- <!-- 档案管理-档案资料-查询 -->
- <select id="DA_DALB_Q_BY_HZFL" resultType="hashmap" parameterType="hashmap">
- select *
- from da_dalb
- where HZFL = #{HZFL}
- </select>
- </mapper>
|