This commit is contained in:
van
2026-04-11 22:47:16 +08:00
parent 94f319514e
commit 52b8f13b2d
5 changed files with 117 additions and 12 deletions

View File

@@ -262,6 +262,13 @@
limit 1
</select>
<select id="selectJDOrderByOrderIdOrThirdPartyOrderNo" parameterType="string" resultMap="JDOrderResult">
<include refid="selectJDOrderBase"/>
where order_id = #{orderKey} or third_party_order_no = #{orderKey}
order by order_time desc
limit 1
</select>
<select id="selectOrderIdsByRebateRemarkUploadRecordId" parameterType="long" resultType="long">
select id from jd_order
where rebate_remark_json is not null