he2802 4 년 전
부모
커밋
a4f11ab956
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      zhongzheng-system/src/main/resources/mapper/modules/recruit/RecruitNeedsMapper.xml

+ 2 - 1
zhongzheng-system/src/main/resources/mapper/modules/recruit/RecruitNeedsMapper.xml

@@ -122,9 +122,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="pushTimeEnd != null and pushTimeEnd != ''">
             AND #{pushTimeEnd} > rn.push_time
         </if>
+        GROUP BY rn.id
         ORDER BY
         rn.id DESC
-        GROUP BY rn.id
+
     </select>
 
     <select id="queryRecruitNeedsListString" parameterType="com.zhongzheng.modules.recruit.bo.RecruitNeedsQueryBo"  resultMap="RecruitNeedsResult">