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

Commit adc4d8d5 authored by jiangxiulong's avatar jiangxiulong

refundBatch

parent 3b5aca9e
...@@ -16,7 +16,6 @@ import java.util.Map; ...@@ -16,7 +16,6 @@ import java.util.Map;
* @since 2021-05-26 * @since 2021-05-26
*/ */
public interface KylinOrderRefundsMapper extends BaseMapper<KylinOrderRefunds> { public interface KylinOrderRefundsMapper extends BaseMapper<KylinOrderRefunds> {
List<KylinOrderRefunds> getRefundList(Integer whereType, String refundBatchId, Integer[] whereStatus, int mid, int limitNum); List<KylinOrderRefunds> getRefundList(Integer whereType, String refundBatchId, Integer[] whereStatus, int mid, int limitNum);
double refundedTotalPrice(String orderTicketsId); double refundedTotalPrice(String orderTicketsId);
......
...@@ -2,17 +2,9 @@ ...@@ -2,17 +2,9 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!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"> <mapper namespace="com.liquidnet.service.kylin.mapper.KylinOrderRefundsMapper">
<select id="getRefundList" resultType="com.liquidnet.service.kylin.entity.KylinOrderRefunds"> <select id="getRefundList" parameterType="java.lang.String" resultType="com.liquidnet.service.kylin.entity.KylinOrderRefunds">
SELECT refunds_id SELECT order_refunds_id
FROM kylin_order_refunds 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>
<select id="refundedTotalPrice" resultType="java.lang.Double"> <select id="refundedTotalPrice" resultType="java.lang.Double">
SELECT SUM('price') 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