|
@@ -22,7 +22,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="isVaccination" column="is_vaccination" />
|
|
|
<result property="contraindication" column="contraindication" />
|
|
|
<result property="suspend" column="suspend" />
|
|
|
- <result property="lostInMissing" column="lost_in_missing" />
|
|
|
<result property="shouldBe" column="should_be" />
|
|
|
<result property="other" column="other" />
|
|
|
<result property="remark" column="remark" />
|
|
@@ -60,7 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<sql id="selectVaccineInfoVo">
|
|
|
select vi.id, vi.village_towns, vi.village, vi.villager_group, vi.house_type, vi.domicile, vi.province, vi.city,
|
|
|
vi.region, vi.user_name, vi.gender, vi.id_card, vi.phone_num, vi.key_industries, vi.is_vaccination, vi.vaccine_name, vi.jici,
|
|
|
- vi.vaccination_time, vi.vaccination_place, vi.contraindication, vi.suspend, vi.lost_in_missing,vi.suspend_url,vi.other_url,
|
|
|
+ vi.vaccination_time, vi.vaccination_place, vi.contraindication, vi.suspend,vi.suspend_url,vi.other_url,
|
|
|
vi.should_be, vi.other, vi.progress, vi.remark, vi.status, vi.create_by, vi.create_time, vi.update_by, vi.update_time,
|
|
|
vi.is_del,vi.code,vi.birthday,vi.work_unit,vi.crowd_classification,vi.manufacturer,vi.now_in,vi.url,
|
|
|
viu.id as id_user,viu.id_card as id_card_user,viu.vaccine_name as vaccine_name_user,viu.jici as jici_user,viu.vaccination_time as vaccination_time_user,
|
|
@@ -72,7 +71,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<select id="selectVaccineInfoList" parameterType="VaccineInfoOperation" resultMap="VaccineInfoResult">
|
|
|
select vi.id, vi.village_towns, vi.village, vi.villager_group, vi.house_type, vi.domicile, vi.province, vi.city,vi.should_slow,
|
|
|
vi.region, vi.user_name, vi.gender, vi.id_card, vi.phone_num, vi.key_industries, vi.is_vaccination, vi.vaccine_name, vi.jici,
|
|
|
- vi.vaccination_time, vi.vaccination_place, vi.contraindication, vi.suspend, vi.lost_in_missing,vi.suspend_url,vi.other_url,
|
|
|
+ vi.vaccination_time, vi.vaccination_place, vi.contraindication, vi.suspend,vi.suspend_url,vi.other_url,
|
|
|
vi.should_be, vi.other, vi.progress, vi.remark, vi.status, vi.create_by, vi.create_time, vi.update_by, vi.update_time,
|
|
|
vi.is_del,vi.code,vi.birthday,vi.work_unit,vi.crowd_classification,vi.manufacturer,vi.now_in,vi.url from vaccine_info vi
|
|
|
<where>
|
|
@@ -95,7 +94,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="params.endAge != null and params.endAge != ''"> and vi.age <= #{params.endAge}</if>
|
|
|
<if test="contraindication != null and contraindication != ''"> and vi.contraindication = #{contraindication}</if>
|
|
|
<if test="suspend != null and suspend != ''"> and vi.suspend = #{suspend}</if>
|
|
|
- <if test="lostInMissing != null and lostInMissing != ''"> and vi.lost_in_missing = #{lostInMissing}</if>
|
|
|
<if test="shouldBe != null and shouldBe != ''"> and vi.should_be = #{shouldBe}</if>
|
|
|
<if test="other != null and other != ''"> and vi.other = #{other}</if>
|
|
|
<if test="status != null and status != ''"> and vi.status = #{status}</if>
|
|
@@ -157,7 +155,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="vaccinationPlace != null">vaccination_place,</if>
|
|
|
<if test="contraindication != null">contraindication,</if>
|
|
|
<if test="suspend != null">suspend,</if>
|
|
|
- <if test="lostInMissing != null">lost_in_missing,</if>
|
|
|
<if test="shouldBe != null">should_be,</if>
|
|
|
<if test="other != null">other,</if>
|
|
|
<if test="progress != null">progress,</if>
|
|
@@ -200,7 +197,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="vaccinationPlace != null">#{vaccinationPlace},</if>
|
|
|
<if test="contraindication != null">#{contraindication},</if>
|
|
|
<if test="suspend != null">#{suspend},</if>
|
|
|
- <if test="lostInMissing != null">#{lostInMissing},</if>
|
|
|
<if test="shouldBe != null">#{shouldBe},</if>
|
|
|
<if test="other != null">#{other},</if>
|
|
|
<if test="progress != null">#{progress},</if>
|
|
@@ -247,7 +243,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="vaccinationPlace != null">vaccination_place = #{vaccinationPlace},</if>
|
|
|
<if test="contraindication != null">contraindication = #{contraindication},</if>
|
|
|
<if test="suspend != null">suspend = #{suspend},</if>
|
|
|
- <if test="lostInMissing != null">lost_in_missing = #{lostInMissing},</if>
|
|
|
<if test="shouldBe != null">should_be = #{shouldBe},</if>
|
|
|
<if test="other != null">other = #{other},</if>
|
|
|
<if test="progress != null">progress = #{progress},</if>
|