txf преди 3 години
родител
ревизия
acf834e22f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/main/resources/com/steerinfo/dil/mapper/TmstruckWeightResultMapper.xml

+ 1 - 1
src/main/resources/com/steerinfo/dil/mapper/TmstruckWeightResultMapper.xml

@@ -731,7 +731,7 @@
                           left join RMS_CAPACITY RC
                                     on RC.CAPACITY_ID = OO.CAPACITY_ID
                  where OO.ORDER_NUMBER = #{orderNumber}
-                   and TWR.RESULT_NET_WEIGHT is null or TWR.RESULT_NET_WEIGHT = 0
+                   and (TWR.RESULT_NET_WEIGHT is null or TWR.RESULT_NET_WEIGHT = 0)
                  order by "tareSegmentSqe"
              )
             where rownum = 1