|
@@ -48,11 +48,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<sql id="selectVaccineInfoVo">
|
|
|
select id, village_towns, village, villager_group, house_type, domicile, province, city,
|
|
|
- area, user_name, gender, id_card, phone_num, key_industries, is_vaccination, vaccine_name, jici,
|
|
|
+ region, user_name, gender, id_card, phone_num, key_industries, is_vaccination, vaccine_name, jici,
|
|
|
vaccination_time, vaccination_place, contraindication, suspend, death, lost_in_missing,
|
|
|
should_be, other, progress, remark, status, create_by, create_time, update_by, update_time,
|
|
|
is_del,code,birthday,work_unit,crowd_classification,manufacturer,now_in from vaccine_info
|
|
|
- select id, village_towns, village, villager_group, house_type, domicile, province, city, region, user_name, gender, id_card, phone_num, key_industries, is_vaccination, vaccine_name, jici, vaccination_time, vaccination_place, contraindication, suspend, death, lost_in_missing, should_be, other, progress, remark, status, create_by, create_time, update_by, update_time, is_del from vaccine_info
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectVaccineInfoList" parameterType="VaccineInfoOperation" resultMap="VaccineInfoResult">
|
|
@@ -68,7 +67,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="region != null and region != ''"> and region = #{region}</if>
|
|
|
<if test="userName != null and userName != ''"> and user_name like concat('%', #{userName}, '%')</if>
|
|
|
<if test="gender != null and gender != ''"> and gender = #{gender}</if>
|
|
|
- <if test="idCard != null and idCard != ''"> and id_card = #{idCard}</if>
|
|
|
+ <if test="idCard != null and idCard != ''"> and id_card like concat('%', #{idCard}, '%')</if>
|
|
|
<if test="phoneNum != null and phoneNum != ''"> and phone_num = #{phoneNum}</if>
|
|
|
<if test="keyIndustries != null and keyIndustries != ''"> and key_industries = #{keyIndustries}</if>
|
|
|
<if test="isVaccination != null and isVaccination != ''"> and is_vaccination = #{isVaccination}</if>
|