You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<!DOCTYPE mapper
|
|
|
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
|
<mapper namespace="com.docus.bgts.mapper.dboracle.MzSyncMapper">
|
|
|
|
<select id="listMzSync" resultMap="mzSyncAnddeI">
|
|
|
|
SELECT *
|
|
|
|
FROM
|
|
|
|
(SELECT "NAVICAT_TABLE".*, ROWNUM "NAVICAT_ROWNUM"
|
|
|
|
FROM
|
|
|
|
(SELECT
|
|
|
|
a.DOCUMENT_TITLE as file_title,
|
|
|
|
a.UNIQUE_ID as serialnum,
|
|
|
|
a.VISITING_SERIAL_NUMBER as jzh,
|
|
|
|
ROWID "NAVICAT_ROWID"
|
|
|
|
FROM "CDR"."CIS_EMR_DOCUMENT" a
|
|
|
|
where VISITING_SERIAL_NUMBER in
|
|
|
|
<foreach collection="jzhs" item="jzh" close=")" open="(" separator=",">
|
|
|
|
#{jzh}
|
|
|
|
</foreach>
|
|
|
|
) "NAVICAT_TABLE"
|
|
|
|
)
|
|
|
|
</select>
|
|
|
|
<resultMap id="mzSyncAnddeI" type="com.docus.bgts.entity.MzSync">
|
|
|
|
<result property="jzh" column="jzh"></result>
|
|
|
|
<collection property="mzSyncDetails" ofType="com.docus.bgts.entity.MzSyncDetails">
|
|
|
|
<result property="serialnum" column="serialnum"></result>
|
|
|
|
<result property="fileTitle" column="file_title"></result>
|
|
|
|
</collection>
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
</mapper>
|