给库存报表增加排序

This commit is contained in:
季圣华
2021-10-17 22:18:14 +08:00
parent 28c9b3ed52
commit 12c6c22ea0
4 changed files with 16 additions and 4 deletions

View File

@@ -367,7 +367,12 @@
</if>
and ifnull(m.delete_flag,'0') !='1'
group by m.id
order by m.id desc
<if test="column == 'createTime'">
order by m.id desc
</if>
<if test="column != 'createTime'">
order by ${column} ${order}
</if>
<if test="offset != null and rows != null">
limit #{offset},#{rows}
</if>