2026-04-11 1da93e8301d81b314fb76bda62d839bdee30a421
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>