From c3b772974a10b1318f2850e2fdee6d80812f0b79 Mon Sep 17 00:00:00 2001
From: 935090232@qq.com <ak473600000>
Date: Sun, 31 Jan 2021 07:21:06 +0800
Subject: [PATCH] 出库支持小数

---
 zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderFlowDao.xml |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderFlowDao.xml b/zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderFlowDao.xml
index 138bd76..eb0d269 100644
--- a/zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderFlowDao.xml
+++ b/zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderFlowDao.xml
@@ -125,8 +125,11 @@
 			<if test="record.shopId != null and record.shopId != ''">
 				and a.shop_id=#{record.shopId}
 			</if>
-
 		</where>
+		<if test="record.sort !=null">
+			order by
+			a.${record.sort} ${record.order}
+		</if>
 		<if test="record.offset >=0  and record.limit >0">
 			limit
 			#{record.offset},#{record.limit}

--
Gitblit v1.9.1