|
@@ -47,7 +47,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectVaccineInfoVo">
|
|
<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,code,birthday,work_unit,crowd_classification,manufacturer,now_in from vaccine_info
|
|
|
|
|
|
+ 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,
|
|
|
|
+ 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>
|
|
</sql>
|
|
|
|
|
|
<select id="selectVaccineInfoList" parameterType="VaccineInfoOperation" resultMap="VaccineInfoResult">
|
|
<select id="selectVaccineInfoList" parameterType="VaccineInfoOperation" resultMap="VaccineInfoResult">
|
|
@@ -80,6 +85,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="progress != null and progress != ''"> and progress = #{progress}</if>
|
|
<if test="progress != null and progress != ''"> and progress = #{progress}</if>
|
|
<if test="status != null and status != ''"> and status = #{status}</if>
|
|
<if test="status != null and status != ''"> and status = #{status}</if>
|
|
<if test="isDel != null and isDel != ''"> and is_del = #{isDel}</if>
|
|
<if test="isDel != null and isDel != ''"> and is_del = #{isDel}</if>
|
|
|
|
+ <if test="code != null and code != ''"> and code = #{code}</if>
|
|
|
|
+ <if test="birthday != null and birthday != ''"> and birthday = #{birthday}</if>
|
|
|
|
+ <if test="workUnit != null and workUnit != ''"> and work_unit = #{workUnit}</if>
|
|
|
|
+ <if test="crowdClassification != null and crowdClassification != ''"> and crowd_classification = #{crowdClassification}</if>
|
|
|
|
+ <if test="manufacturer != null and manufacturer != ''"> and manufacturer = #{manufacturer}</if>
|
|
|
|
+ <if test="nowIn != null and nowIn != ''"> and now_in = #{nowIn}</if>
|
|
</where>
|
|
</where>
|
|
</select>
|
|
</select>
|
|
|
|
|
|
@@ -130,6 +141,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="updateBy != null">update_by,</if>
|
|
<if test="updateBy != null">update_by,</if>
|
|
<if test="updateTime != null">update_time,</if>
|
|
<if test="updateTime != null">update_time,</if>
|
|
<if test="isDel != null and isDel != ''">is_del,</if>
|
|
<if test="isDel != null and isDel != ''">is_del,</if>
|
|
|
|
+ <if test="code != null and code != ''">code,</if>
|
|
|
|
+ <if test="birthday != null and birthday != ''">birthday,</if>
|
|
|
|
+ <if test="workUnit != null and workUnit != ''">work_unit,</if>
|
|
|
|
+ <if test="crowdClassification != null and crowdClassification != ''">crowd_classification,</if>
|
|
|
|
+ <if test="manufacturer != null and manufacturer != ''">manufacturer,</if>
|
|
|
|
+ <if test="nowIn != null and nowIn != ''">now_in,</if>
|
|
</trim>
|
|
</trim>
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<if test="villageTowns != null">#{villageTowns},</if>
|
|
<if test="villageTowns != null">#{villageTowns},</if>
|
|
@@ -164,6 +181,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
<if test="isDel != null and isDel != ''">#{isDel},</if>
|
|
<if test="isDel != null and isDel != ''">#{isDel},</if>
|
|
|
|
+
|
|
|
|
+ <if test="code != null and code != ''">#{code},</if>
|
|
|
|
+ <if test="birthday != null and birthday != ''">#{birthday},</if>
|
|
|
|
+ <if test="workUnit != null and workUnit != ''">#{workUnit},</if>
|
|
|
|
+ <if test="crowdClassification != null and crowdClassification != ''">#{crowdClassification},</if>
|
|
|
|
+ <if test="manufacturer != null and manufacturer != ''">#{manufacturer},</if>
|
|
|
|
+ <if test="nowIn != null and nowIn != ''">#{nowIn},</if>
|
|
</trim>
|
|
</trim>
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
@@ -202,6 +226,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
<if test="isDel != null and isDel != ''">is_del = #{isDel},</if>
|
|
<if test="isDel != null and isDel != ''">is_del = #{isDel},</if>
|
|
|
|
+ <if test="code != null and code != ''">code = #{code},</if>
|
|
|
|
+ <if test="birthday != null and birthday != ''">birthday = #{birthday},</if>
|
|
|
|
+ <if test="workUnit != null and workUnit != ''">work_unit = #{workUnit},</if>
|
|
|
|
+ <if test="crowdClassification != null and crowdClassification != ''">crowd_classification = #{crowdClassification},</if>
|
|
|
|
+ <if test="manufacturer != null and manufacturer != ''">manufacturer = #{manufacturer},</if>
|
|
|
|
+ <if test="nowIn != null and nowIn != ''">now_in = #{nowIn},</if>
|
|
</trim>
|
|
</trim>
|
|
where id = #{id}
|
|
where id = #{id}
|
|
</update>
|
|
</update>
|