Ver Fonte

协议列表倒序的bug修复

dongxin há 1 ano atrás
pai
commit
8fff68a623

+ 1 - 1
tenant/organization/src/main/resources/mapper/PtlAgreementMapper.xml

@@ -99,8 +99,8 @@
             <if test="param.loseStartDate != null and param.loseEndDate != null">
                 and DATE_FORMAT(pa.end_date, '%Y-%m-%d') between #{param.loseStartDate} AND #{param.loseEndDate}
             </if>
-
         </where>
+        ORDER BY pa.create_time DESC
     </select>
     <select id="queryById" resultType="com.jzg.commons.entity.vo.AgreementVo">
         select <include refid="Base_Column_List"/>