顺德删除修改

master
宇宙皮皮娃 4 months ago
parent eeb022da85
commit 50c750f684

@ -157,4 +157,7 @@ public interface TBasicMapper {
* @author YongBin Wen
*/
List<TBasic> selectBasicListByInpNo(@Param("inpNo") String inpNo);
int deleteExtend(@Param("patientId") String patientId);
}

@ -353,6 +353,7 @@ public class TBasicServiceImpl implements ITBasicService {
}
if ("2".equals(tBasicDto.getStatu())) {
tBasicMapper.deleteByPatientId(patientId);
tBasicMapper.deleteExtend(patientId);
log.info("入院信息删除jzh:{},patientId:{},statusCode:{}", tBasicDto.getJzh(), patientId, tBasicDto.getStatu());
return;
}

@ -330,4 +330,9 @@
where inpatient_no=#{inpatientNo}
and admiss_times=#{admissTimes}
</select>
<delete id="deleteExtend">
delete from `docus_medicalrecord`.`t_basic_extend`
where `patient_id`=#{patientId};
</delete>
</mapper>

Loading…
Cancel
Save