mirror of https://github.com/jeecgboot/jeecg-boot
Fix: Do not retrieve SAV refunds for orders who haven't been invoiced yet in the first place
parent
2fa8cf0a2e
commit
6c8d0c06b7
|
@ -8,6 +8,7 @@
|
|||
JOIN platform_order po ON sr.platform_order_id = po.id
|
||||
JOIN shop s ON po.shop_id = s.id
|
||||
WHERE invoice_number IS NULL
|
||||
AND sr.fret_fee IS NOT NULL
|
||||
AND s.owner_id = #{clientId}
|
||||
</select>
|
||||
<select id="fetchRefundsWhere" resultType="org.jeecg.modules.business.entity.SavRefundWithDetail">
|
||||
|
|
Loading…
Reference in New Issue