|
@@ -13,7 +13,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="domicile" column="domicile" />
|
|
|
<result property="province" column="province" />
|
|
|
<result property="city" column="city" />
|
|
|
- <result property="area" column="area" />
|
|
|
+ <result property="region" column="region" />
|
|
|
<result property="userName" column="user_name" />
|
|
|
<result property="gender" column="gender" />
|
|
|
<result property="idCard" column="id_card" />
|
|
@@ -38,10 +38,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="updateBy" column="update_by" />
|
|
|
<result property="updateTime" column="update_time" />
|
|
|
<result property="isDel" column="is_del" />
|
|
|
+ <result property="code" column="code" />
|
|
|
+ <result property="birthday" column="birthday" />
|
|
|
+ <result property="workUnit" column="work_unit" />
|
|
|
+ <result property="crowdClassification" column="crowd_classification" />
|
|
|
+ <result property="manufacturer" column="manufacturer" />
|
|
|
+ <result property="nowIn" column="now_in" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectVaccineInfoVo">
|
|
|
- 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
|
|
|
+ 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,code,birthday,work_unit,crowd_classification,manufacturer,now_in from vaccine_info
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectVaccineInfoList" parameterType="VaccineInfoOperation" resultMap="VaccineInfoResult">
|
|
@@ -99,7 +105,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="domicile != null">domicile,</if>
|
|
|
<if test="province != null">province,</if>
|
|
|
<if test="city != null">city,</if>
|
|
|
- <if test="area != null and area != ''">area,</if>
|
|
|
+ <if test="region != null and region != ''">region,</if>
|
|
|
<if test="userName != null">user_name,</if>
|
|
|
<if test="gender != null">gender,</if>
|
|
|
<if test="idCard != null">id_card,</if>
|
|
@@ -133,7 +139,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="domicile != null">#{domicile},</if>
|
|
|
<if test="province != null">#{province},</if>
|
|
|
<if test="city != null">#{city},</if>
|
|
|
- <if test="area != null and area != ''">#{area},</if>
|
|
|
+ <if test="region != null and region != ''">#{region},</if>
|
|
|
<if test="userName != null">#{userName},</if>
|
|
|
<if test="gender != null">#{gender},</if>
|
|
|
<if test="idCard != null">#{idCard},</if>
|
|
@@ -171,7 +177,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="domicile != null">domicile = #{domicile},</if>
|
|
|
<if test="province != null">province = #{province},</if>
|
|
|
<if test="city != null">city = #{city},</if>
|
|
|
- <if test="area != null and area != ''">area = #{area},</if>
|
|
|
+ <if test="region != null and region != ''">region = #{region},</if>
|
|
|
<if test="userName != null">user_name = #{userName},</if>
|
|
|
<if test="gender != null">gender = #{gender},</if>
|
|
|
<if test="idCard != null">id_card = #{idCard},</if>
|