|
@@ -44,6 +44,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="crowdClassification" column="crowd_classification" />
|
|
|
<result property="manufacturer" column="manufacturer" />
|
|
|
<result property="nowIn" column="now_in" />
|
|
|
+ <result property="url" column="url" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectVaccineInfoVo">
|
|
@@ -51,7 +52,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
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
|
|
|
+ is_del,code,birthday,work_unit,crowd_classification,manufacturer,now_in,url from vaccine_info
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectVaccineInfoList" parameterType="VaccineInfoOperation" resultMap="VaccineInfoResult">
|
|
@@ -90,6 +91,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<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>
|
|
|
+ <if test="url != null and url != ''"> and url = #{url}</if>
|
|
|
</where>
|
|
|
</select>
|
|
|
|
|
@@ -146,6 +148,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<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>
|
|
|
+ <if test="url != null and url != ''">url,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="villageTowns != null">#{villageTowns},</if>
|
|
@@ -180,13 +183,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
|
<if test="updateTime != null">#{updateTime},</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>
|
|
|
+ <if test="url != null and url != ''">#{url},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
@@ -231,6 +234,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<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>
|
|
|
+ <if test="url != null and url != ''">url = #{url},</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
|
</update>
|