Browse Source

fix:查询修改排序

master
“wangzihua” 4 months ago
parent
commit
7e895c8287
  1. 2
      yun-admin/src/main/resources/mapper/business/goods/GoodsMapper.xml

2
yun-admin/src/main/resources/mapper/business/goods/GoodsMapper.xml

@ -28,7 +28,7 @@
</if> </if>
</where> </where>
<if test="query.sortItemList == null or query.sortItemList.size == 0"> <if test="query.sortItemList == null or query.sortItemList.size == 0">
ORDER BY goods_id DESC ORDER BY create_time DESC
</if> </if>
</select> </select>
<select id="queryById" resultType="net.lab1024.sa.admin.module.business.goods.domain.entity.GoodsEntity"> <select id="queryById" resultType="net.lab1024.sa.admin.module.business.goods.domain.entity.GoodsEntity">

Loading…
Cancel
Save