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

Commit 8e96f7ba authored by jiangxiulong's avatar jiangxiulong

sql

parent d7fab81e
...@@ -40,7 +40,6 @@ ...@@ -40,7 +40,6 @@
JOIN kylin_order_ticket_relations AS c ON a.order_tickets_id = c.order_id JOIN kylin_order_ticket_relations AS c ON a.order_tickets_id = c.order_id
LEFT JOIN kylin_order_express AS d ON d.order_refunds_id = a.order_refunds_id LEFT JOIN kylin_order_express AS d ON d.order_refunds_id = a.order_refunds_id
<where> <where>
d.send_type = 2
<if test="orderTicketsId!=''"> <if test="orderTicketsId!=''">
AND a.order_tickets_id = #{orderTicketsId} AND a.order_tickets_id = #{orderTicketsId}
</if> </if>
...@@ -77,7 +76,7 @@ ...@@ -77,7 +76,7 @@
</otherwise> </otherwise>
</choose> </choose>
</where> </where>
ORDER BY mid DESC ORDER BY a.mid DESC
</select> </select>
<select id="selectRefundingCount" resultType="java.lang.Integer"> <select id="selectRefundingCount" resultType="java.lang.Integer">
SELECT COUNT(*) SELECT COUNT(*)
......
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