|
|
@@ -68,7 +68,7 @@
|
|
|
|
|
|
<select id="selectXxpClassifyBySubjectId" resultType="com.zd.laboratory.domain.XxpClassifyDetail" resultMap="XxpClassifyDetailedResult">
|
|
|
SELECT info_content,info_classify_id FROM xxp_classify_detail where is_collective=2 OR id in
|
|
|
- (SELECT classify_detail_id FROM xxp_classify_subject where subject_id=#{subjectId}) GROUP BY sort ASC,create_time DESC
|
|
|
+ (SELECT classify_detail_id FROM xxp_classify_subject where subject_id=#{subjectId}) GROUP BY sort,create_time order by sort ASC,create_time DESC
|
|
|
</select>
|
|
|
|
|
|
<insert id="insertXxpClassifyDetailed" parameterType="com.zd.laboratory.domain.XxpClassifyDetail">
|