yangdamao 1 năm trước cách đây
mục cha
commit
ad9472d711

+ 2 - 1
zhongzheng-system/src/main/resources/mapper/modules/grade/ClassGradeUserMapper.xml

@@ -2068,7 +2068,7 @@
             AND m.id = #{majorId}
         </if>
         <if test="goodsName != null and goodsName !='' ">
-            AND g.goods_name like concat('%', #{goodsName}, '%'))
+            AND g.goods_name like concat('%', #{goodsName}, '%')
         </if>
         <if test="subscribeStatus != null and subscribeStatus == 1">
             AND us.subscribe_status = 1 AND (TIME_TO_SEC(us.apply_site_end_time) + us.apply_site_exam_time) &gt; UNIX_TIMESTAMP()
@@ -2094,5 +2094,6 @@
         <if test="applySiteEndTime != null and applySiteEndTime != '' ">
             and us.apply_site_end_time = #{applySiteEndTime}
         </if>
+        order by us.create_time DESC
     </select>
 </mapper>