Browse Source

修改统计

Tiroble 3 năm trước cách đây
mục cha
commit
19e3999dac

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

@@ -2030,7 +2030,7 @@
     on t_t_result.result_total_id=t_w_result.result_total_id
     left join OMSTRUCK_ORDER_MATERIAL o_o_material
     on o_order.order_id=o_o_material.ORDER_ID
-    where t_w_result.RESULT_NET_WEIGHT is null
+    where t_w_result.RESULT_NET_WEIGHT is null and o_order.order_status !=8
     GROUP BY
     a_s_o_Material.SALE_ORDER_ID