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_order o ON i.`order_id` = o.`id`
       left join t_receiver_info re on i.user_id = re.user_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
       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 != ''">
       <if test="param.orderSn != null and param.orderSn != ''">
         and o.`order_sn` like  concat('%', #{param.orderSn}, '%')
         and o.`order_sn` like  concat('%', #{param.orderSn}, '%')
       </if>
       </if>