update 批量退款接口

This commit is contained in:
2023-07-10 15:49:54 +08:00
parent 5b7cfa9009
commit c271ad249d
7 changed files with 91 additions and 0 deletions

View File

@@ -1087,4 +1087,23 @@
order by t1.create_time desc
</select>
<select id="batchRefundQuery" resultType="com.jsowell.pile.vo.web.RefundOrder">
SELECT
t1.order_code as orderCode,
t1.`order_status` as orderStatus,
t1.station_id as stationId,
t2.station_name AS stationName,
t1.pay_amount AS payAmount,
t1.order_amount AS orderAmount,
t1.refund_amount AS refundAmount
FROM
order_basic_info t1
JOIN pile_station_info t2 ON t1.station_id = t2.id
WHERE
t1.order_code IN
<foreach collection="list" item="itme" open="(" separator="," close=")">
#{itme,jdbcType=VARCHAR}
</foreach>
</select>
</mapper>