|
@@ -295,7 +295,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="suspendUrl != null and suspendUrl != ''">suspend_url = #{suspendUrl},</if>
|
|
|
<if test="otherUrl != null and otherUrl != ''">other_url = #{otherUrl},</if>
|
|
|
<if test="age != null and age != ''">age = #{age},</if>
|
|
|
- <if test="deptId != null">deptId = #{deptId},</if>
|
|
|
+ <if test="deptId != null">dept_id = #{deptId},</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
|
</update>
|
|
@@ -313,7 +313,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
|
|
|
<select id="findHjInfo" parameterType="VaccineInfoOperation" resultMap="VaccineInfoResult">
|
|
|
- select id, user_name ,gender, birthday,age from vaccine_info
|
|
|
+ select id, user_name ,gender, birthday,age,code from vaccine_info
|
|
|
<where>
|
|
|
is_del = 'N'
|
|
|
<if test="idCard != null and idCard != '' "> and id_card = #{idCard}</if>
|