From 8a57b3a0ee3fa70e8d43eb12865f1c27d0d385d8 Mon Sep 17 00:00:00 2001
From: yujian <yujian@163.com>
Date: 星期三, 01 四月 2020 14:55:58 +0800
Subject: [PATCH] Merge branch 'div-1' into div

---
 fanli/src/main/java/com/yeshi/fanli/mapping/pdd/PDDOrderMapper.xml |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/mapping/pdd/PDDOrderMapper.xml b/fanli/src/main/java/com/yeshi/fanli/mapping/pdd/PDDOrderMapper.xml
index 13a0b70..27d9757 100644
--- a/fanli/src/main/java/com/yeshi/fanli/mapping/pdd/PDDOrderMapper.xml
+++ b/fanli/src/main/java/com/yeshi/fanli/mapping/pdd/PDDOrderMapper.xml
@@ -269,4 +269,21 @@
 		</if>
 	</select>
 
+	<select id="listQuery" resultMap="BaseResultMap">
+		SELECT * FROM yeshi_ec_pdd_order f
+		<if test="key != null and key !='' ">
+			WHERE f.`po_order_id` LIKE '${key}%'
+		</if>
+		ORDER BY f.`po_id` DESC
+		LIMIT #{start},#{count}
+	</select>
+	
+	<select id="countQuery" resultType="Long">
+		SELECT COUNT(f.`po_id`) FROM yeshi_ec_pdd_order f
+		<if test="key != null and key !='' ">
+			WHERE f.`po_order_id` LIKE '${key}%'
+		</if>
+	</select>
+
+
 </mapper>

--
Gitblit v1.8.0