gongchunyi
2026-03-26 3f8c58793b68dc9853f94d3129c9441bea6e5d17
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>