change 4 лет назад
Родитель
Сommit
ded23d2750
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      zhongzheng-system/src/main/resources/mapper/modules/goods/GoodsMapper.xml

+ 1 - 1
zhongzheng-system/src/main/resources/mapper/modules/goods/GoodsMapper.xml

@@ -213,7 +213,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             OR ( qb.type = 3 AND ga.type = 2 )
             OR ( qb.type = 3 AND ga.type = 2 )
             OR ( qb.type = 2 AND ga.type = 3 )) AND qb.subject_id = #{subjectId}
             OR ( qb.type = 2 AND ga.type = 3 )) AND qb.subject_id = #{subjectId}
         </if>
         </if>
-        ORDER BY g.update_time DESC
+        ORDER BY g.create_time DESC
     </select>
     </select>
 
 
     <select id="selectDetail" parameterType="Long" resultMap="GoodsResultVo">
     <select id="selectDetail" parameterType="Long" resultMap="GoodsResultVo">