|
@@ -378,7 +378,7 @@
|
|
<include refid="global.limit" />
|
|
<include refid="global.limit" />
|
|
</select>
|
|
</select>
|
|
<select id="sumAmountByCalenderId" resultType="java.math.BigDecimal">
|
|
<select id="sumAmountByCalenderId" resultType="java.math.BigDecimal">
|
|
- SELECT IF(SUM(route_amount_) IS NULL,0, SUM(route_amount_))FROM student_payment_route_order WHERE calender_id_ = #{calenderId}
|
|
|
|
|
|
+ SELECT IF(SUM(route_amount_) IS NULL,0, SUM(route_amount_)) FROM student_payment_route_order WHERE calender_id_ = #{calenderId} AND audit_status_='PASS'
|
|
</select>
|
|
</select>
|
|
|
|
|
|
</mapper>
|
|
</mapper>
|