xiaoyong931011
2022-08-30 ce6fc16f568cc3c396e141f1f9a7e16d3abf802d
src/main/resources/mapper/modules/MallRefundMapper.xml
@@ -5,7 +5,6 @@
    <select id="selectByItemIdAndOrderIdAndState" resultType="cc.mrbird.febs.mall.entity.MallRefundEntity">
        select a.* from mall_refund a
            where item_id=#{itemId} and order_id=#{orderId} and state=#{state}
        <where>
            <if test="itemId != null and itemId != ''">
                and a.item_id = #{itemId}
@@ -21,7 +20,14 @@
    </select>
    <select id="getOrderRefundListInPage" resultType="cc.mrbird.febs.mall.entity.MallRefundEntity">
        select a.* from mall_refund a
        select a.*,
               b.order_no orderNo,
               b.status,
               c.goods_name goodsName,
               c.cnt,
        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
        <where>
            <if test="record != null" >
                <if test="record.state!=null and record.state!=''">