记得上下班打卡 | git大法好,push需谨慎

Commit adc4d8d5 authored by jiangxiulong's avatar jiangxiulong

refundBatch

parent 3b5aca9e
......@@ -16,7 +16,6 @@ import java.util.Map;
* @since 2021-05-26
*/
public interface KylinOrderRefundsMapper extends BaseMapper<KylinOrderRefunds> {
List<KylinOrderRefunds> getRefundList(Integer whereType, String refundBatchId, Integer[] whereStatus, int mid, int limitNum);
double refundedTotalPrice(String orderTicketsId);
......
......@@ -2,17 +2,9 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.liquidnet.service.kylin.mapper.KylinOrderRefundsMapper">
<select id="getRefundList" resultType="com.liquidnet.service.kylin.entity.KylinOrderRefunds">
SELECT refunds_id
<select id="getRefundList" parameterType="java.lang.String" resultType="com.liquidnet.service.kylin.entity.KylinOrderRefunds">
SELECT order_refunds_id
FROM kylin_order_refunds
<where>
-- r.performance_id=#{targetId}
AND type=#{whereType}
AND batch_id=#{refundBatchId}
AND o.mid>#{mid}
AND status IN #{whereStatus}
</where>
LIMIT #{limitNum}
</select>
<select id="refundedTotalPrice" resultType="java.lang.Double">
SELECT SUM('price')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment