From 4080ed352e0eb590256604744ec757f7dd0a1c97 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Fri, 28 May 2021 15:45:13 +0800
Subject: [PATCH] modify
---
src/main/resources/mapper/yunding/YdProductDao.xml | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/yunding/YdProductDao.xml b/src/main/resources/mapper/yunding/YdProductDao.xml
index 18158de..d9bb8ab 100644
--- a/src/main/resources/mapper/yunding/YdProductDao.xml
+++ b/src/main/resources/mapper/yunding/YdProductDao.xml
@@ -4,4 +4,29 @@
<mapper namespace="com.xcong.excoin.modules.yunding.dao.YdProductDao">
+ <select id="selectXchProductList" resultType="com.xcong.excoin.modules.yunding.entity.YdProductEntity">
+ select * from yd_product where coin = 'XCH'
+ </select>
+
+ <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