|
@@ -13,6 +13,7 @@
|
|
|
<result property="vaccinationTime" column="vaccination_time" />
|
|
|
<result property="vaccinationPlace" column="vaccination_place" />
|
|
|
<result property="progress" column="progress" />
|
|
|
+ <result property="url" column="url" />
|
|
|
<result property="status" column="status" />
|
|
|
<result property="createBy" column="create_by" />
|
|
|
<result property="createTime" column="create_time" />
|
|
@@ -23,7 +24,7 @@
|
|
|
|
|
|
|
|
|
<select id="selectVaccineInfoUserByIdCard" resultMap="VaccineInfoUser">
|
|
|
- select id,id_card,vaccine_name,jici,vaccination_time,vaccination_place,progress,status from vaccine_info_user where id_card = #{idCard} and is_del = 'N'
|
|
|
+ select id,id_card,vaccine_name,jici,vaccination_time,vaccination_place,progress,url,status from vaccine_info_user where id_card = #{idCard} and is_del = 'N'
|
|
|
</select>
|
|
|
|
|
|
<select id="selectIdCardList" parameterType="VaccineInfoUser" resultType="java.lang.String">
|
|
@@ -45,6 +46,7 @@
|
|
|
<if test="vaccinationTime != null">vaccination_time,</if>
|
|
|
<if test="vaccinationPlace != null">vaccination_place,</if>
|
|
|
<if test="progress != null">progress,</if>
|
|
|
+ <if test="url != null and url != ''">url,</if>
|
|
|
<if test="status != null">status,</if>
|
|
|
<if test="createBy != null">create_by,</if>
|
|
|
<if test="updateBy != null">update_by,</if>
|
|
@@ -59,6 +61,7 @@
|
|
|
<if test="vaccinationTime != null">#{vaccinationTime},</if>
|
|
|
<if test="vaccinationPlace != null">#{vaccinationPlace},</if>
|
|
|
<if test="progress != null">#{progress},</if>
|
|
|
+ <if test="url != null and url != ''">#{url},</if>
|
|
|
<if test="status != null">#{status},</if>
|
|
|
<if test="createBy != null">#{createBy},</if>
|
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
@@ -77,6 +80,7 @@
|
|
|
<if test="vaccinationTime != null">vaccination_time = #{vaccinationTime},</if>
|
|
|
<if test="vaccinationPlace != null">vaccination_place = #{vaccinationPlace},</if>
|
|
|
<if test="progress != null">progress = #{progress},</if>
|
|
|
+ <if test="url != null and url != ''">url = #{url},</if>
|
|
|
<if test="status != null">status = #{status},</if>
|
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
|
|
<if test="isDel != null and isDel != ''">is_del = #{isDel},</if>
|