lyhzzz 2 年之前
父节点
当前提交
1c3f21d5fb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/resources/mapper/manage/InvoiceMapper.xml

+ 1 - 1
src/main/resources/mapper/manage/InvoiceMapper.xml

@@ -27,7 +27,7 @@
       LEFT JOIN t_order o ON i.`order_id` = o.`id`
       left join t_receiver_info re on i.user_id = re.user_id
       WHERE i.`consume_type` = 0 AND i.`rec_status` = 'A' AND o.`rec_status` = 'A' AND i.`type` != 1
-        and re.status = 'A'
+        and re.rec_status = 'A'
       <if test="param.orderSn != null and param.orderSn != ''">
         and o.`order_sn` like  concat('%', #{param.orderSn}, '%')
       </if>