增加异常订单功能

This commit is contained in:
wuweihua
2026-09-23 09:25:24 +08:00
parent 6d2e05951d
commit 574ce772b2
7 changed files with 495 additions and 3 deletions
@@ -35,13 +35,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<include refid="selectPrcBillingTaskVo"/>
<where>
<if test="transferNo != null and transferNo != ''">
AND transfer_no = #{transferNo}
AND transfer_no like concat('%', #{transferNo}, '%')
</if>
<if test="trackingNo != null and trackingNo != ''">
AND tracking_no = #{trackingNo}
AND tracking_no like concat('%', #{trackingNo}, '%')
</if>
<if test="orderNo != null and orderNo != ''">
AND order_no = #{orderNo}
AND order_no like concat('%', #{orderNo}, '%')
</if>
<if test="billType != null and billType != ''">
AND bill_type = #{billType}
@@ -49,6 +49,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="successStatus != null and successStatus != ''">
AND success_status = #{successStatus}
</if>
<if test="params.beginTime != null and params.beginTime != ''">
AND create_time &gt;= #{params.beginTime}
</if>
<if test="params.endTime != null and params.endTime != ''">
AND create_time &lt;= #{params.endTime}
</if>
</where>
order by task_id desc
</select>