2026-04-23 a1b154bfd4c5e138d964e1bfdc5a2bcac1e25488
src/main/resources/mapper/sales/ShippingInfoMapper.xml
@@ -84,6 +84,6 @@
    <select id="getShippingInfoByCustomerName" resultType="com.ruoyi.sales.pojo.ShippingInfo">
        select * from shipping_info si
        left join sales_ledger sl on si.sales_ledger_id = sl.id
        where sl.customer_name = #{customerName}
        where si.status = '已发货' and sl.customer_name = #{customerName}
    </select>
</mapper>