2026-06-04 17:20:02 +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.czblood.bus.mapper.XkTransfuseApplyCausalisMapper">
|
2026-07-01 09:15:39 +08:00
|
|
|
<insert id="insert">
|
|
|
|
|
insert into xk_transfuse_apply_causalis (Bill_No, Hos_ID, SID,Causalis_Code,Causalis_Type,Causalis_Name,Causalis_Result,Use_Flag,Upload_Flag,Explain)
|
|
|
|
|
values (#{bill_no}, #{hos_id}, #{sid}, #{causalis_code}, #{causalis_type}, #{causalis_name}, #{causalis_result}, #{use_flag}, #{upload_flag}, #{explain})
|
|
|
|
|
</insert>
|
|
|
|
|
<delete id="deleteByBillNo">
|
|
|
|
|
delete from xk_transfuse_apply_causalis where Bill_No = #{bill_no}
|
|
|
|
|
</delete>
|
2026-06-04 17:20:02 +08:00
|
|
|
<select id="queryList" resultType="com.czblood.bus.pojo.XkTransfuseApplyCausalis">
|
|
|
|
|
select * from xk_transfuse_apply_causalis where Bill_No = #{bill_no}
|
|
|
|
|
<if test="SID != null">and sid = #{SID}</if>
|
|
|
|
|
</select>
|
2026-07-01 09:15:39 +08:00
|
|
|
<select id="queryListByBillNo" resultType="com.czblood.bus.pojo.XkTransfuseApplyCausalis">
|
|
|
|
|
select * from xk_transfuse_apply_causalis where Bill_No = #{bill_no}
|
|
|
|
|
</select>
|
2026-06-04 17:20:02 +08:00
|
|
|
</mapper>
|