liding
2026-05-27 67647a9bdb5ca2c0acf5c5f635ec28d2e4d6c9db
src/main/resources/mapper/account/sales/AccountSalesCollectionMapper.xml
@@ -50,10 +50,11 @@
    <select id="existsByStockOutRecordId" resultType="java.lang.Boolean">
        SELECT COUNT(*) > 0
        FROM account_sales_collection
        WHERE
        <foreach collection="stockOutRecordIds" item="id" open="(" separator=" OR " close=")">
            FIND_IN_SET(#{id}, stock_out_record_ids)
        </foreach>
        <where>
            <foreach collection="stockOutRecordIds" item="id" open="(" separator=" OR " close=")">
                FIND_IN_SET(#{id}, stock_out_record_ids)
            </foreach>
        </where>
    </select>
    <select id="getOutboundBatchesByCustomer"
            resultType="com.ruoyi.account.bean.vo.sales.SalesOutboundVo">