Browse Source

xml修改

wangyu 6 years ago
parent
commit
4ea2bbe65c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      icss-service/src/main/resources/mapper/PatientInfoMapper.xml

+ 2 - 2
icss-service/src/main/resources/mapper/PatientInfoMapper.xml

@@ -32,8 +32,8 @@
     </resultMap>
     </resultMap>
 
 
     <select id="getPatientInfos" resultType="com.diagbot.dto.PatientInfoDTO">
     <select id="getPatientInfos" resultType="com.diagbot.dto.PatientInfoDTO">
-        SELECT * FROM `icss_patient_info` a
-        LEFT JOIN icss_hospital_info b ON a.hospital_id = b.id
+        SELECT a.* FROM `tran_patient_info` a
+        LEFT JOIN tran_hospital_info b ON a.hospital_id = b.id
         WHERE a.is_deleted = 'N'
         WHERE a.is_deleted = 'N'
         AND a.`code` = #{patientCode} AND b.`code` = #{hospitalCode}
         AND a.`code` = #{patientCode} AND b.`code` = #{hospitalCode}
     </select>
     </select>