소스 검색

FIX 用户消耗次数

he2802 3 년 전
부모
커밋
528161baab
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      zhongzheng-system/src/main/resources/mapper/modules/user/UserExamGoodsMapper.xml

+ 1 - 0
zhongzheng-system/src/main/resources/mapper/modules/user/UserExamGoodsMapper.xml

@@ -82,6 +82,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="goodsId != null and goodsId != '' ">
         <if test="goodsId != null and goodsId != '' ">
             and ueg.goods_id = #{goodsId}
             and ueg.goods_id = #{goodsId}
         </if>
         </if>
+        ORDER BY ueg.create_time DESC
     </select>
     </select>
 
 
     <select id="getUserExam" parameterType="map" resultMap="UserExamGoodsSupplementVo">
     <select id="getUserExam" parameterType="map" resultMap="UserExamGoodsSupplementVo">