lis8.0/lis-interfaceCommon/src/main/resources/mapper/LabResultwarningMapper.xml

26 lines
1.2 KiB
XML
Raw Normal View History

2025-09-09 19:51:56 +08:00
<?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.LabResultwarningMapper">
2025-09-10 18:49:44 +08:00
<select id="getLabResultwarning" resultType="com.czlis.common.core.domain.entity.lis.LabResultwarning">
2025-09-09 19:51:56 +08:00
select *
from lab_resultwarning
where jyrq = #{jyrq,jdbcType=TIMESTAMP}
and yq = #{yq,jdbcType=CHAR}
and ybh = #{ybh,jdbcType=VARCHAR}
</select>
<delete id="deleteLabPatwarning">
delete from lab_resultwarning
where jyrq = #{jyrq}
and yq = #{yq}
and ybh = #{ybh}
</delete>
<insert id="insertLabResultwarning" parameterType="com.czlis.common.core.domain.entity.lis.LabResultwarning">
insert into lab_resultwarning (jyrq, yq, ybh,
xmdh, csjg, jgbz, bz
)
values (#{jyrq,jdbcType=TIMESTAMP}, #{yq,jdbcType=CHAR}, #{ybh,jdbcType=VARCHAR},
#{xmdh,jdbcType=VARCHAR}, #{csjg,jdbcType=VARCHAR}, #{jgbz,jdbcType=CHAR}, #{bz,jdbcType=VARCHAR}
)
</insert>
</mapper>