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.
52 lines
1.6 KiB
XML
52 lines
1.6 KiB
XML
<?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.ann.demo.dao.OraclePacsMappper">
|
|
|
|
|
|
<insert id="save" parameterType="com.ann.demo.entity.filing.OraclePACS">
|
|
insert into oraclePACS
|
|
<trim prefix="(" suffix=")" suffixOverrides="," >
|
|
<if test="jzh != null" >
|
|
jzh,
|
|
</if>
|
|
<if test="zyh != null" >
|
|
zyh ,
|
|
</if>
|
|
<if test="fentryName != null" >
|
|
fentryName,
|
|
</if>
|
|
<if test="pdfFileNo != null" >
|
|
pdfFileNo,
|
|
</if>
|
|
<if test="affirmTime != null" >
|
|
affirmTime,
|
|
</if>
|
|
</trim>
|
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
<if test="jzh != null" >
|
|
#{jzh},
|
|
</if>
|
|
<if test="zyh != null" >
|
|
#{zyh},
|
|
</if>
|
|
<if test="fentryName != null" >
|
|
#{fentryName},
|
|
</if>
|
|
<if test="pdfFileNo != null" >
|
|
#{pdfFileNo},
|
|
</if>
|
|
<if test="affirmTime != null" >
|
|
#{affirmTime},
|
|
</if>
|
|
</trim>
|
|
</insert>
|
|
<delete id="del" parameterType="java.lang.String">
|
|
delete from oraclePACS
|
|
where pdfFileNo=#{pdfFileNo}
|
|
</delete>
|
|
<select id="getOracleHByFrecId" resultType="com.ann.demo.entity.filing.OraclePACS"
|
|
parameterType="java.lang.String">
|
|
SELECT * FROM oraclePACS where pdfFileNo=#{pdfFileNo}
|
|
</select>
|
|
</mapper>
|