lyhzzz %!s(int64=2) %!d(string=hai) anos
pai
achega
1c3f21d5fb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>