xiaoyong931011
2022-08-12 be72ab1f2fba90f69f93b772f5026b18e8b8ea0c
src/main/resources/mapper/modules/MallOrderInfoMapper.xml
@@ -54,9 +54,11 @@
        order by a.created_time desc
    </select>
    <select id="selectOrderByMemberIdAndId" resultType="cc.mrbird.febs.mall.entity.MallOrderInfo">
        select * from mall_order_info
                          inner join mall_order_item b on a.id=b.order_id where member_id=#{memberId} and id=#{id}
    <select id="selectOrderByMemberIdAndId" resultMap="OrderInfoMap">
        select
            a.*,
            b.goods_name from mall_order_info a
                          inner join mall_order_item b on a.id=b.order_id where a.member_id=#{memberId} and a.id=#{id}
    </select>
    <select id="selectOrderListInPage" resultType="cc.mrbird.febs.mall.vo.AdminMallOrderInfoVo">