|
@@ -74,7 +74,7 @@
|
|
<if test="ruleType != null">
|
|
<if test="ruleType != null">
|
|
AND a.rule_type = #{ruleType}
|
|
AND a.rule_type = #{ruleType}
|
|
</if>
|
|
</if>
|
|
- ORDER BY a.cases_id,a.order_no DESC
|
|
|
|
|
|
+ ORDER BY a.cases_id,a.order_no,a.gmt_modified,b.gmt_modified DESC
|
|
</select>
|
|
</select>
|
|
<select id="findQcCasesEntryAll" resultType="com.diagbot.dto.QcCasesEntryFindDTO">
|
|
<select id="findQcCasesEntryAll" resultType="com.diagbot.dto.QcCasesEntryFindDTO">
|
|
SELECT DISTINCT
|
|
SELECT DISTINCT
|