zhijiezhao 3 년 전
부모
커밋
ea0d2583ad
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/main/resources/mappings/modules/super/CmSvipHistoryMapper.xml

+ 2 - 0
src/main/resources/mappings/modules/super/CmSvipHistoryMapper.xml

@@ -113,6 +113,7 @@
         <if test='status == "3"'>
             and beginTime > NOW()
         </if>
+        order by cs.payTime desc
     </select>
 
     <select id="findEndTime" resultType="com.caimei.modules.supervip.entity.CmSvipHistory">
@@ -158,6 +159,7 @@
             </if>
         </where>
         group by cs.userId
+        order by cs.payTime DESC
     </select>
 
     <select id="findOutEndTime" resultType="com.caimei.modules.supervip.entity.CmSvipHistory">