Quellcode durchsuchen

[phr] 2일전 업데이트 이후 임상증상, 의료진 메모 정렬이 최신순이 아니라 오래된순으로 표시되는 현상 수정.

sjpark vor 4 Jahren
Ursprung
Commit
be1729800d

+ 1 - 1
src/main/resources/mybatis/mapper/patient/patientMemo.xml

@@ -35,7 +35,7 @@
 		FROM patient_memo
 		WHERE 
 			patient_idx = #{patientIdx}
-		ORDER BY create_date, idx DESC
+		ORDER BY create_date DESC, idx DESC
 	]]>
     </select>
 </mapper>

+ 1 - 1
src/main/resources/mybatis/mapper/patient/patientPHRHistory.xml

@@ -75,7 +75,7 @@
 			patient_idx = #{patientIdx}
 		AND
 			phr_type = #{phrType}
-		ORDER BY create_date, idx ASC
+		ORDER BY create_date ASC, idx ASC
 	]]>
     </select>
 </mapper>

+ 1 - 1
src/main/resources/mybatis/mapper/patient/patientSymptomSim.xml

@@ -69,7 +69,7 @@
 		FROM patient_symptom_sim
 		WHERE 
 			patient_idx = #{patientIdx}		
-		ORDER BY create_date, idx DESC
+		ORDER BY create_date DESC, idx DESC
 	]]>
     </select>
 </mapper>