From 1d7f34fd295b3197de7cba4cccf147f1e77ce066 Mon Sep 17 00:00:00 2001
From: 935090232@qq.com <ak473600000>
Date: Tue, 02 Feb 2021 06:32:43 +0800
Subject: [PATCH] 1、新增个人中心产品编号展示 2、修改项目添加单次划扣金额修改

---
 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