update 添加临时方法,更新adapayUnsplitRecord数据

This commit is contained in:
Guoqs
2025-11-14 15:07:50 +08:00
parent 2b33a7a845
commit c3db9b9201
9 changed files with 144 additions and 91 deletions

View File

@@ -698,4 +698,11 @@
</if>
</trim>
</insert>
<select id="queryUnsplitOrders" resultMap="BaseResultMap">
select * from adapay_unsplit_record
where pay_time >= #{startTime} and pay_time &lt;= #{endTime}
and due_refund_amount is null
and settle_amount is null
</select>
</mapper>

View File

@@ -3495,4 +3495,13 @@
ORDER BY month ASC
</select>
<select id="selectOrderTemp" resultMap="BaseResultMap">
select
order_code, refund_amount, settle_amount
from order_basic_info
where order_code in
<foreach item="item" collection="orderCodes" separator="," open="(" close=")">
#{item}
</foreach>
</select>
</mapper>