更改查询出库列表接口,内容:
-根据出库时间降序排序
This commit is contained in:
@@ -58,9 +58,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
and warehouse.name like concat('%', #{bo.warehouseName}, '%')
|
and warehouse.name like concat('%', #{bo.warehouseName}, '%')
|
||||||
</if>
|
</if>
|
||||||
</where>
|
</where>
|
||||||
|
order by ware.create_time desc
|
||||||
<if test="page != null and page.pageNum != null and page.pageSize != null">
|
<if test="page != null and page.pageNum != null and page.pageSize != null">
|
||||||
limit #{page.pageNum}, #{page.pageSize}
|
limit #{page.pageNum}, #{page.pageSize}
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="defineQueryTotal" resultType="Long">
|
<select id="defineQueryTotal" resultType="Long">
|
||||||
@@ -97,6 +99,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
</if>
|
</if>
|
||||||
</where>
|
</where>
|
||||||
</if>
|
</if>
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|||||||
Reference in New Issue
Block a user