Просмотр исходного кода

Merge remote-tracking branch 'origin/dev' into dev

lengfaqiang 2 лет назад
Родитель
Сommit
6d78adda8a

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