From bfa9a4a35662164d5828c0c9416290b776902a2e Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 14 May 2021 14:49:40 +0800
Subject: [PATCH] Merge branch 'yunding' of http://120.27.238.55:7000/r/exchange into yunding
---
src/main/resources/mapper/yunding/YdProductDao.xml | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/yunding/YdProductDao.xml b/src/main/resources/mapper/yunding/YdProductDao.xml
index 18158de..68fd1aa 100644
--- a/src/main/resources/mapper/yunding/YdProductDao.xml
+++ b/src/main/resources/mapper/yunding/YdProductDao.xml
@@ -4,4 +4,25 @@
<mapper namespace="com.xcong.excoin.modules.yunding.dao.YdProductDao">
+ <select id="getProductList" resultType="com.xcong.excoin.modules.yunding.vo.YdProductVo">
+ select
+ *
+ from yd_product
+ <if test="record != null">
+ <where>
+ <if test="record.typeCoin != null" >
+ and type_coin=#{record.typeCoin}
+ </if>
+ </where>
+ </if>
+ order by type,id asc
+ </select>
+
+ <select id="findProductInfoById" resultType="com.xcong.excoin.modules.yunding.vo.YdProductVo">
+ select
+ *
+ from yd_product
+ where id = #{id}
+ </select>
+
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1