Administrator
2025-04-29 d3844ee25fbb06b656b5521978f083695d194b07
src/main/resources/mapper/modules/MallRefundMapper.xml
@@ -28,17 +28,15 @@
               b.order_time orderTime,
               b.order_no orderNo,
               b.status,
               c.id itemId,
               c.goods_name goodsName,
               c.cnt,
               d.name refundMemberName,
               d.phone refundMemberPhone,
               e.name leaderName,
               e.phone leaderPhone
               d.phone refundMemberPhone
        from mall_refund a
        inner join mall_order_info b on a.order_id = b.id
        inner join mall_order_item c on a.item_id = c.id
        inner join mall_member d on a.member_id = d.id
        inner join mall_team_leader e on b.take_unique_code = e.unique_code
        <where>
            <if test="record != null" >
                <if test="record.state!=null and record.state!=''">
@@ -49,12 +47,6 @@
                </if>
                <if test="record.refundMemberPhone!=null and record.refundMemberPhone!=''">
                    and d.phone like concat('%',#{record.refundMemberPhone},'%')
                </if>
                <if test="record.leaderName!=null and record.leaderName!=''">
                    and e.name like concat('%',#{record.leaderName},'%')
                </if>
                <if test="record.leaderPhone!=null and record.leaderPhone!=''">
                    and e.phone like concat('%',#{record.leaderPhone},'%')
                </if>
            </if>
        </where>