18 lines
1.1 KiB
XML
18 lines
1.1 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.czlis.interfaceCommon.mapper.LabResultlogMapper">
|
|
<insert id="insertLabResultlog">
|
|
INSERT INTO lab_resultlog ( wyh, jyrq, yq, ybh, xmdh, csjg, od,
|
|
cutoff, jgbz, bz1, bz2, yhdh, xgrq, xgyhdh )
|
|
SELECT wyh, jyrq, yq, ybh, xmdh, csjg, od,
|
|
cutoff, jgbz, bz1, bz2, yhdh, #{xgrq}, #{xgyhdh}
|
|
From lab_result WHERE jyrq = #{jyrq} and yq = #{yq} and ybh = #{ybh}
|
|
</insert>
|
|
<select id="getLabResultlog" resultType="com.czlis.common.core.domain.entity.lis.LabResultlog" >
|
|
SELECT * from lab_resultlog WHERE jyrq = #{jyrq} and yq = #{yq} and ybh = #{ybh}
|
|
</select>
|
|
<select id="getLabResultlogxmdh" resultType="com.czlis.common.core.domain.entity.lis.LabResultlog" >
|
|
SELECT * from lab_resultlog WHERE jyrq = #{jyrq} and yq = #{yq} and ybh = #{ybh} and xmdh = #{xmdh}
|
|
</select>
|
|
</mapper> |