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

Commit b1d05df3 authored by 胡佳晨's avatar 胡佳晨

积分明细

parent 8b3ebcbe
...@@ -344,7 +344,7 @@ ...@@ -344,7 +344,7 @@
</if> </if>
<if test="expressStatus == 80">AND (oe.express_status = 80 OR oe.express_status = 8000)</if> <if test="expressStatus == 80">AND (oe.express_status = 80 OR oe.express_status = 8000)</if>
<if test="mailno != ''">AND oe.mailno LIKE concat('%', #{mailno}, '%')</if> <if test="mailno != ''">AND oe.mailno LIKE concat('%', #{mailno}, '%')</if>
<if test="ticketsId != '' and ticketsId != null">AND kotr.ticket_id = ${ticketsId} </if> <if test="ticketsId != '' and ticketsId != null">AND kotr.ticket_id = ${ticketsId}</if>
</where> </where>
ORDER BY kot.mid DESC ORDER BY kot.mid DESC
</select> </select>
...@@ -399,7 +399,7 @@ ...@@ -399,7 +399,7 @@
<select id="getOrderScore" resultType="Integer"> <select id="getOrderScore" resultType="Integer">
select sum(price_actual) from kylin_order_tickets kot select IFNULL(sum(price_actual),0) from kylin_order_tickets kot
inner join kylin_order_ticket_relations as kotr on kotr.order_id = kot.order_tickets_id inner join kylin_order_ticket_relations as kotr on kotr.order_id = kot.order_tickets_id
inner join kylin_order_ticket_status as kots on kots.order_id = kot.order_tickets_id inner join kylin_order_ticket_status as kots on kots.order_id = kot.order_tickets_id
inner join kylin_order_ticket_entities as kote on kote.order_id = kot.order_tickets_id inner join kylin_order_ticket_entities as kote on kote.order_id = kot.order_tickets_id
......
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