更改查询出库列表接口,内容:

-根据出库时间降序排序
This commit is contained in:
liuzongkun999
2025-03-15 17:27:50 +08:00
parent e993e6aa2d
commit d617c6a8a8

View File

@@ -58,9 +58,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and warehouse.name like concat('%', #{bo.warehouseName}, '%')
</if>
</where>
order by ware.create_time desc
<if test="page != null and page.pageNum != null and page.pageSize != null">
limit #{page.pageNum}, #{page.pageSize}
</if>
</select>
<select id="defineQueryTotal" resultType="Long">
@@ -97,6 +99,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</if>
</where>
</if>
</select>
</mapper>