+1
-15
@@ -125,19 +125,5 @@
|
||||
</otherwise>
|
||||
</choose>
|
||||
</select>
|
||||
|
||||
<!-- 查询学生是否有对应账单项目的缴费信息 -->
|
||||
<select id="countItemPayInfo" resultType="int">
|
||||
SELECT
|
||||
count(DISTINCT o.order_id)
|
||||
FROM
|
||||
edu_bill_order_item i
|
||||
LEFT JOIN edu_bill_order o ON i.order_id = o.order_id
|
||||
WHERE
|
||||
o.pay_status = '1'
|
||||
AND o.bill_id = #{billId}
|
||||
AND o.student_id = #{studentId}
|
||||
AND i.item_id = #{itemId}
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
||||
|
||||
@@ -25,10 +25,6 @@
|
||||
AND s.del_flag = 0
|
||||
AND o.pay_status = '1'
|
||||
AND o.bill_id = #{billId}
|
||||
AND s.student_id IN
|
||||
<foreach collection="studentIds" open="(" close=")" item="item" separator=",">
|
||||
#{item}
|
||||
</foreach>
|
||||
</select>
|
||||
|
||||
<!-- 前端查询账单订单列表数据 -->
|
||||
|
||||
Reference in New Issue
Block a user