he2802 4 anos atrás
pai
commit
a4f11ab956

+ 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">