zhang_nuo
2026-09-19 f1763a56d1b7b22470db393646657db24219c4c3
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">