18 lines
622 B
XML
18 lines
622 B
XML
<?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>
|
|
|
|
<!-- 根据订单编码查询退款详情 -->
|
|
<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>
|