This commit is contained in:
van
2026-05-09 01:31:01 +08:00
parent 6fb46cc203
commit e78cc67476
6 changed files with 240 additions and 36 deletions

View File

@@ -100,8 +100,8 @@
<select id="selectPendingShip" resultMap="ErpGoofishOrderResult">
<include refid="selectJoinVo"/>
where e.jd_order_id is not null
and (e.ship_status is null or e.ship_status != 1)
where (e.ship_status is null or e.ship_status != 1)
and (e.refund_status is null or e.refund_status = 0)
<if test="statuses != null and statuses.size() &gt; 0">
and e.order_status in
<foreach collection="statuses" item="st" open="(" separator="," close=")">
@@ -112,6 +112,11 @@
limit #{limit}
</select>
<select id="selectByGoofishOrderNo" resultMap="ErpGoofishOrderResult">
<include refid="selectJoinVo"/>
where e.order_no = #{orderNo}
</select>
<insert id="insert" parameterType="com.ruoyi.jarvis.domain.ErpGoofishOrder" useGeneratedKeys="true" keyProperty="id">
insert into erp_goofish_order
(app_key, seller_id, user_name, order_no, order_type, order_status, refund_status, modify_time, product_id, item_id,