Эх сурвалжийг харах

1、扣亏量统计调整;

zk 2 жил өмнө
parent
commit
bfe25f6714

+ 1 - 0
sckw-modules/sckw-transport/src/main/resources/mapper/KwtWaybillOrderMapper.xml

@@ -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}