2026-04-23 c247f5bf64c98595cc7e4efc9e1ae7ff1df79c11
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>