Pārlūkot izejas kodu

修改查询计量实绩方法

txf 3 gadi atpakaļ
vecāks
revīzija
e8a9cb7fa5

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

@@ -1389,7 +1389,7 @@
                           left join TMSTRUCK_WEIGHT_RESULT TWR
                                     on TWR.RESULT_TOTAL_ID = TTR.RESULT_TOTAL_ID
                  where OO.ORDER_ID = #{orderId}
-                   and (TWR.RESULT_NET_WEIGHT is null or TWR.RESULT_NET_WEIGHT = 0)
+                   and TWR.RESULT_NET_WEIGHT is null
                  order by TWR.TARE_SEGMENT_SQE
              )
         where rownum = 1