Files
gofly-platform-services/zlt-business/order-center/src/main/resources/mapper/RefundMapper.xml
T

18 lines
622 B
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.central.order.mapper.RefundMapper">
<select id="findList" resultType="com.central.order.model.Refund">
select * from orders_refund t ORDER BY id DESC
</select>
2025-10-28 11:21:31 +08:00
<!-- 根据订单编码查询退款详情 -->
<select id="selectByOrderNo" resultType="com.central.order.model.Refund">
SELECT * FROM orders_refund
WHERE order_no = #{orderNo} AND is_del = 0
ORDER BY id DESC LIMIT 1
</select>
</mapper>