14 lines
681 B
XML
14 lines
681 B
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.czblood.bus.mapper.XkCausalisSetMapper">
|
|
|
|
<select id="queryList" resultType="com.czblood.bus.pojo.XkCausalisSet">
|
|
select * from xk_causalis_set
|
|
<where>
|
|
<if test="Dept_Type != null and Dept_Type != ''">and Dept_Type = #{Dept_Type}</if>
|
|
<if test="Blood_Breed != null and Blood_Breed != ''">and Blood_Breed = #{Blood_Breed}</if>
|
|
<if test="Use_Type != null and Use_Type != ''">and Use_Type = #{Use_Type}</if>
|
|
</where>
|
|
</select>
|
|
</mapper> |