✨ 支持按单号批量排除账单订单
This commit is contained in:
@@ -693,6 +693,22 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
#{excludedBillId}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="excludedOrderIdentifiers != null and excludedOrderIdentifiers.size() > 0">
|
||||
and not (
|
||||
coalesce(p.order_no, '') in
|
||||
<foreach collection="excludedOrderIdentifiers" item="excludedIdentifier" open="(" separator="," close=")">
|
||||
#{excludedIdentifier}
|
||||
</foreach>
|
||||
or coalesce(p.tracking_no, '') in
|
||||
<foreach collection="excludedOrderIdentifiers" item="excludedIdentifier" open="(" separator="," close=")">
|
||||
#{excludedIdentifier}
|
||||
</foreach>
|
||||
or coalesce(p.transfer_no, '') in
|
||||
<foreach collection="excludedOrderIdentifiers" item="excludedIdentifier" open="(" separator="," close=")">
|
||||
#{excludedIdentifier}
|
||||
</foreach>
|
||||
)
|
||||
</if>
|
||||
</sql>
|
||||
|
||||
<!-- 异步生成使用 bill_id 游标批量读取,避免深分页和一次加载全量订单。 -->
|
||||
|
||||
Reference in New Issue
Block a user