blood/blood_bus/src/main/resources/mapper/XkPatientInfoMapper.xml

11 lines
490 B
XML
Raw Normal View History

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.XkPatientInfoMapper">
<select id="queryList" resultType="com.czblood.bus.pojo.XkPatientInfo">
select * from xk_patient_info
<where>
<if test="beinhos_id != null and beinhos_id != ''">and beinhos_id = #{beinhos_id}</if>
</where>
</select>
</mapper>