|
@@ -71,4 +71,30 @@
|
|
|
</if>
|
|
|
|
|
|
</select>
|
|
|
+
|
|
|
+ <update id="updateBatchByKey">
|
|
|
+ <foreach collection="list" item="item" separator=";">
|
|
|
+ update med_pacs_result
|
|
|
+ <set>
|
|
|
+ behospital_code = #{item.behospitalCode},
|
|
|
+ rept_name = #{item.reptName},
|
|
|
+ part = #{item.part},
|
|
|
+ clinic_sight = #{item.clinicSight},
|
|
|
+ rept_diag = #{item.reptDiag},
|
|
|
+ remark = #{item.remark},
|
|
|
+ clinic_diag = #{item.clinicDiag},
|
|
|
+ apply_doctor = #{item.applyDoctor},
|
|
|
+ checker_doctor = #{item.checkerDoctor},
|
|
|
+ report_doctor = #{item.reportDoctor},
|
|
|
+ dept_name = #{item.deptName},
|
|
|
+ <if test="item.gmtModified != null">
|
|
|
+ gmt_modified = #{item.gmtModified},
|
|
|
+ </if>
|
|
|
+ <if test="item.modifier != null">
|
|
|
+ modifier = #{item.modifier},
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ where rep_no = #{item.repNo} and hospital_id = #{item.hospitalId}
|
|
|
+ </foreach>
|
|
|
+ </update>
|
|
|
</mapper>
|