From 8dd45c1c726b5628dfd8cae1992a27112ebb6af6 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Wed, 16 Mar 2022 15:23:38 +0800 Subject: [PATCH] Merge branch 'bea-back' of http://120.27.238.55:7000/r/exchange-back into bea-back --- src/main/resources/mapper/modules/OrderCoinDealMapper.xml | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/modules/OrderCoinDealMapper.xml b/src/main/resources/mapper/modules/OrderCoinDealMapper.xml index 98982d7..f0a4cd8 100644 --- a/src/main/resources/mapper/modules/OrderCoinDealMapper.xml +++ b/src/main/resources/mapper/modules/OrderCoinDealMapper.xml @@ -19,5 +19,27 @@ ORDER BY s.create_time DESC </select> + <select id="selectGbzOrderEntitysInPage" resultType="com.xcong.excoin.modules.trademanage.entity.GbzOrderEntity"> + SELECT + *, + CONCAT(first_name, second_name) realName + FROM + gbz_order s + LEFT JOIN member m ON m.id = s.member_id + LEFT JOIN member_authentication a ON a.member_id = s.member_id + <where> + <if test="record != null" > + <if test="record.account!=null and record.account!=''"> + and (m.phone like concat("%",#{record.account},"%") or m.email like concat("%",#{record.account},"%") or m.invite_id=#{record.account}) + </if> + + <if test="record.status!=null and record.status!=''"> + and s.status = #{record.status} + </if> + </if> + </where> + ORDER BY s.create_time DESC + </select> + </mapper> \ No newline at end of file -- Gitblit v1.9.1