@@ -328,6 +328,7 @@
where wo.del_flag = 0 and lo.del_flag = 0
<if test="busStatus != null and busStatus == 4">
and wo.status in (7, 8, 9, 10, 12, 13)
+ and wo.deficit_amount > 0
</if>
<if test="driverId != null and driverId != ''">
and wo.driver_id = #{driverId, jdbcType=BIGINT}