|
@@ -85,6 +85,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="domicile != null and domicile != ''"> and vi.domicile = #{domicile}</if>
|
|
<if test="domicile != null and domicile != ''"> and vi.domicile = #{domicile}</if>
|
|
<if test="province != null and province != ''"> and vi.province = #{province}</if>
|
|
<if test="province != null and province != ''"> and vi.province = #{province}</if>
|
|
<if test="city != null and city != ''"> and vi.city = #{city}</if>
|
|
<if test="city != null and city != ''"> and vi.city = #{city}</if>
|
|
|
|
+ <if test="jici != null and jici != ''"> and vi.jici <= #{jici}</if>
|
|
|
|
+ <if test="vaccineName != null and vaccineName != ''"> and vi.vaccine_name like concat('%', #{vaccineName}, '%')</if>
|
|
|
|
+ <if test="vaccinationTime != null "> and DATE_FORMAT(vi.vaccination_time,'%Y-%m-%d') = DATE_FORMAT(#{vaccinationTime},'%Y-%m-%d')</if>
|
|
<if test="region != null and region != ''"> and vi.region = #{region}</if>
|
|
<if test="region != null and region != ''"> and vi.region = #{region}</if>
|
|
<if test="userName != null and userName != ''"> and vi.user_name like concat('%', #{userName}, '%')</if>
|
|
<if test="userName != null and userName != ''"> and vi.user_name like concat('%', #{userName}, '%')</if>
|
|
<if test="gender != null and gender != ''"> and vi.gender = #{gender}</if>
|
|
<if test="gender != null and gender != ''"> and vi.gender = #{gender}</if>
|