|
|
|
@ -72,6 +72,16 @@
|
|
|
|
</foreach>
|
|
|
|
</foreach>
|
|
|
|
</delete>
|
|
|
|
</delete>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<delete id="deleteEBatch">
|
|
|
|
|
|
|
|
delete from docus_medicalrecord.t_basic_extend
|
|
|
|
|
|
|
|
where patient_id in (
|
|
|
|
|
|
|
|
select patient_id from docus_medicalrecord.t_basic
|
|
|
|
|
|
|
|
where jzh in
|
|
|
|
|
|
|
|
<foreach collection="jzhs" item="jzh" open="(" close=")" separator=",">
|
|
|
|
|
|
|
|
#{jzh}
|
|
|
|
|
|
|
|
</foreach>)
|
|
|
|
|
|
|
|
</delete>
|
|
|
|
|
|
|
|
|
|
|
|
<select id="getByJzh" resultType="com.docus.server.archive.entity.TBasic">
|
|
|
|
<select id="getByJzh" resultType="com.docus.server.archive.entity.TBasic">
|
|
|
|
select `patient_id`, `admiss_times`, `inpatient_no`, `name`, `name_spell`,
|
|
|
|
select `patient_id`, `admiss_times`, `inpatient_no`, `name`, `name_spell`,
|
|
|
|
`sex`, `sex_name`,`age`, `age_month`, `age_day`, `id_card`, `telphone`,
|
|
|
|
`sex`, `sex_name`,`age`, `age_month`, `age_day`, `id_card`, `telphone`,
|
|
|
|
|