| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!-- 核三框架升级自动生成mapper文件 -->
- <!-- SDZLMX表牵涉到的sql文件 -->
- <!DOCTYPE mapper
- PUBLIC "-//ibatis.apache.org//DTD Mapper 3.0//EN"
- "http://ibatis.apache.org/dtd/ibatis-3-mapper.dtd">
- <mapper namespace="SDZLMX_CNT">
- <!-- SDZLMX 取需要转换的记录,WJNR不为空的(未办结的) -->
- <select id="SDZLMX_WJNR_WBJ_S" resultType="cn.sinobest.shoudan.entity.Sdzlmx" >
- select SDZLMXID,WJNR,YWJM,WJLX from SDZL a ,sdzlmx b where a.SDZLID=b.SDZLID and tyccid is null and WJNR is not null and YXBZ ='1'
- and a.SDJLID in(select CAZ675 from rs_slxx a ,wf_process_instance b where a.ywlsh=b.bae007 and b.status='2') and rownum < 101
- </select>
- <!-- SDZLMX 取需要转换的记录,WJNR不为空的 -->
- <select id="SDZLMX_WJNR_S" resultType="cn.sinobest.shoudan.entity.Sdzlmx" >
- select SDZLMXID,WJNR,YWJM,WJLX from sdzlmx where WJNR is not null and TYCCID is null and YXBZ ='1' and rownum < 101
- </select>
- <!-- SDZLMX 取需要转换的记录,WJLJ不为空的 -->
- <select id="SDZLMX_WJLJ_S" resultType="cn.sinobest.shoudan.entity.Sdzlmx" >
- select SDZLMXID,WJLJ,YWJM,WJLX from sdzlmx where WJNR is null and TYCCID is null and WJLJ is not null and YXBZ ='1' and rownum < 101
- </select>
-
- <!-- SDZLMX 回写统一存储ID -->
- <update id="SDZLMX_U" parameterType="cn.sinobest.shoudan.entity.Sdzlmx">
- update SDZLMX
- set TYCCID=#{tyccid}
- where SDZLMXID=#{sdzlmxid}
- </update>
-
- <!-- RS_SLXX_RXCJ 照片采集取需要转换的记录 -->
- <select id="RS_SLXX_RXCJ_S" resultType="hashmap" >
- select RS_SLXX_RXCJ_LSH, SLLSH,RXZP from V_RS_SLXX_RXCJ where TYCCID is null and rownum < 101
- </select>
-
- <!-- RS_SLXX_RXCJ 照片采集回写统一存储ID -->
- <update id="RS_SLXX_RXCJ_U" parameterType="hashmap">
- update V_RS_SLXX_RXCJ
- set TYCCID=#{TYCCID}
- where RS_SLXX_RXCJ_LSH=#{RS_SLXX_RXCJ_LSH}
- </update>
- </mapper>
|