修改订单搜索

This commit is contained in:
wuweihua
2026-10-19 15:19:06 +08:00
parent b945c9f37b
commit df1a2fd731
3 changed files with 34 additions and 2 deletions
@@ -65,6 +65,8 @@ public class PrcOrderBill extends BaseEntity
private Date orderTime;
/** 上游订单状态 ORDER_STATUS */
private Integer orderStatus;
/** 查询用:多个订单状态 */
private List<Integer> orderStatuses;
/** 是否收货:0否/1是 */
private Integer blPickup;
/** 收货时间 PICKUP_DATE */
@@ -307,6 +307,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="creditArrearsStatus != null and creditArrearsStatus != ''">
AND p.credit_arrears_status = #{creditArrearsStatus}
</if>
<if test="orderStatus != null">
AND p.order_status = #{orderStatus}
</if>
<if test="orderStatuses != null and orderStatuses.size() > 0">
AND p.order_status IN
<foreach collection="orderStatuses" item="os" open="(" separator="," close=")">
#{os}
</foreach>
</if>
<if test="billingFailStatus != null">
AND p.billing_fail_status = #{billingFailStatus}
</if>