This commit is contained in:
van
2026-04-10 00:09:26 +08:00
parent 31e7e6853b
commit 6f482256c5
8 changed files with 251 additions and 52 deletions

View File

@@ -79,7 +79,14 @@
<select id="selectPendingShip" resultMap="ErpGoofishOrderResult">
<include refid="selectJoinVo"/>
where e.order_status = 12 and (e.ship_status is null or e.ship_status != 1) and e.jd_order_id is not null
where e.jd_order_id is not null
and (e.ship_status is null or e.ship_status != 1)
<if test="statuses != null and statuses.size() &gt; 0">
and e.order_status in
<foreach collection="statuses" item="st" open="(" separator="," close=")">
#{st}
</foreach>
</if>
order by e.update_time asc
limit #{limit}
</select>