src/main/resources/mapper/account/purchase/AccountPaymentApplicationMapper.xml
@@ -44,6 +44,7 @@ AND A.apply_date BETWEEN #{req.startDate} AND #{req.endDate} </if> </where> order by A.id desc </select> <select id="getInboundBatchesBySupplier" @@ -89,7 +90,7 @@ <select id="existsByStockInRecordId" resultType="java.lang.Boolean"> SELECT COUNT(*) > 0 FROM account_payment_application WHERE WHERE status != 2 <foreach collection="stockInRecordIds" item="id" open="(" separator=" OR " close=")"> FIND_IN_SET(#{id}, stock_in_record_ids) </foreach>