From 11a0b98b93797e884bac39abbab086e82f924f9c Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Wed, 22 Feb 2023 11:59:06 +0800 Subject: [PATCH] εεζεΊ --- src/main/resources/mapper/modules/MallOrderInfoMapper.xml | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/main/resources/mapper/modules/MallOrderInfoMapper.xml b/src/main/resources/mapper/modules/MallOrderInfoMapper.xml index db7bf05..1ac65c9 100644 --- a/src/main/resources/mapper/modules/MallOrderInfoMapper.xml +++ b/src/main/resources/mapper/modules/MallOrderInfoMapper.xml @@ -56,11 +56,9 @@ select a.*, b.name memberName, b.bind_phone memberBindPhone, - b.phone memberPhone, - c.name leaderName + b.phone memberPhone from mall_order_info a left join mall_member b on a.member_id = b.id - left join mall_team_leader c on a.take_unique_code = c.unique_code <where> <if test="record != null"> <if test="record.payResult != null and record.payResult != ''"> @@ -231,7 +229,7 @@ </select> <select id="selectOrderInfoUpTime" resultType="cc.mrbird.febs.mall.entity.MallOrderInfo"> - select * from mall_order_info where status=#{status} and now() > date_add(order_time,interval 15 minute) + select * from mall_order_info where status=#{status} and now() > date_add(order_time,interval 1440 minute) </select> <select id="selectCntDirectOrTeam" resultType="java.lang.Integer"> @@ -419,7 +417,7 @@ b.amount from mall_order_info a inner join mall_order_item b on a.id=b.order_id - where a.del_flag=2 and a.id = #{orderId} and a.take_unique_code = #{takeUniqueCode} + where a.del_flag=2 and a.id = #{orderId} order by a.created_time desc </select> -- Gitblit v1.9.1