From 09206aedcfdf30050123e99f2af0a192ebad1de4 Mon Sep 17 00:00:00 2001
From: zj <1772600164@qq.com>
Date: Mon, 03 Jun 2024 18:08:33 +0800
Subject: [PATCH] 1
---
src/main/resources/mapper/SitePayMapper.xml | 36 +++++-------------------------------
1 files changed, 5 insertions(+), 31 deletions(-)
diff --git a/src/main/resources/mapper/SitePayMapper.xml b/src/main/resources/mapper/SitePayMapper.xml
index d915e0d..ec85606 100644
--- a/src/main/resources/mapper/SitePayMapper.xml
+++ b/src/main/resources/mapper/SitePayMapper.xml
@@ -6,6 +6,7 @@
<result column="c_type" property="cType"/>
<result column="form_url" property="formUrl"/>
<result column="form_code" property="formCode"/>
+
<result column="channel_type" property="channelType"/>
<result column="channel_name" property="channelName"/>
<result column="channel_desc" property="channelDesc"/>
@@ -17,15 +18,13 @@
<result column="is_lock" property="isLock"/>
<result column="total_price" property="totalPrice"/>
<result column="assets_type" property="assetsType"/>
- <result column="exchange_rate" property="exchangeRate"/>
- <result column="bank_address" property="bankAddress"/>
-
+ <result column="bank_number" property="bankNumber"/>
</resultMap>
<sql id="Base_Column_List" >
id, c_type,form_url,form_code,channel_type, channel_name, channel_desc, channel_account, channel_img, channel_min_limit,
- channel_max_limit, is_show, is_lock, total_price,assets_type,exchange_rate,bank_address
+ channel_max_limit, is_show, is_lock, total_price,assets_type
</sql>
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
select
@@ -220,7 +219,7 @@
<select id="listByAdmin" parameterType="string" resultMap="BaseResultMap">
SELECT
- *
+ *
FROM site_pay
<where>
<if test="channelType != null and channelType != '' ">
@@ -230,37 +229,12 @@
order by id desc
</select>
- <select id="listByPayType" parameterType="java.lang.Integer" resultMap="BaseResultMap">
- SELECT
- *
- FROM site_pay
- <where>
- <if test="payType != null">
- c_type = #{payType}
- </if>
- </where>
- order by id desc
- </select>
-
<select id="getPayInfo" resultMap="BaseResultMap">
SELECT
- <include refid="Base_Column_List"/>
+ *
FROM site_pay WHERE is_show = 0
</select>
-
- <select id="selectByChannelType" resultMap="BaseResultMap" parameterType="string">
- SELECT
- <include refid="Base_Column_List"/>
- FROM site_pay
- <where>
- is_show = 0
- <if test="coinType != null">
- and channel_type = #{coinType}
- </if>
- </where>
- </select>
-
</mapper>
\ No newline at end of file
--
Gitblit v1.9.3