src/main/resources/mapper/account/purchase/AccountPaymentApplicationMapper.xml
@@ -90,9 +90,13 @@ SELECT COUNT(*) > 0 FROM account_payment_application WHERE status != 2 <foreach collection="stockInRecordIds" item="id" open="(" separator=" OR " close=")"> <if test="stockInRecordIds != null and stockInRecordIds.size() > 0"> AND ( <foreach collection="stockInRecordIds" item="id" separator=" OR "> FIND_IN_SET(#{id}, stock_in_record_ids) </foreach> ) </if> </select> </mapper>