From 7cf7a80569d3cb907e0260abc3b2dbd36ec6c4c2 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Thu, 22 Sep 2022 18:08:47 +0800 Subject: [PATCH] Merge branch 'group_buy' of http://120.27.238.55:7000/r/xc-mall into group_buy --- src/main/resources/mapper/modules/MallOrderInfoMapper.xml | 28 ++++++++-------------------- 1 files changed, 8 insertions(+), 20 deletions(-) diff --git a/src/main/resources/mapper/modules/MallOrderInfoMapper.xml b/src/main/resources/mapper/modules/MallOrderInfoMapper.xml index 226f2f1..1c02bb4 100644 --- a/src/main/resources/mapper/modules/MallOrderInfoMapper.xml +++ b/src/main/resources/mapper/modules/MallOrderInfoMapper.xml @@ -167,32 +167,20 @@ </collection> </resultMap> - <select id="selectApiOrderListInPage" resultMap="OrderInfoMap"> + <select id="selectApiOrderListInPage" resultType="cc.mrbird.febs.mall.entity.MallOrderInfo"> select a.*, - b.id item_id, - b.order_id, - b.goods_id, - b.sku_id, - b.goods_name, - b.style_name, - b.sku_name, - b.sku_image, - b.state, - b.cnt, - b.price, - b.amount, - c.name leader_name, - c.phone leader_phone, - c.address_pic, - c.address_area, + c.name leaderName, + c.phone leaderPhone, + c.address_pic addressPic, + c.address_area addressArea, c.province, c.city, c.township, - c.detail_address + c.detail_address detailAddress from mall_order_info a - inner join mall_order_item b on a.id=b.order_id - inner join mall_team_leader c on a.take_unique_code=c.unique_code + inner join mall_order_item b on a.id=b.order_id + inner join mall_team_leader c on a.take_unique_code=c.unique_code <where> a.del_flag=2 <if test="record.memberId != null"> -- Gitblit v1.9.1