north-glass-erp/src/main/resources/mapper/sd/OrderMapper.xml
@@ -104,7 +104,8 @@ <select id="getOrderList"> select * from (select o.*, ifnull(sum(fgi.quantity_available),0) as goodsQuantity ifnull(sum(fgi.quantity_available),0) as goodsQuantity, if(DATEDIFF(o.delivery_date, CURDATE()) < 3 and o.delivery < 2, 'timeOut','' ) as timeOut from sd.`order` as o left join mm.finished_goods_inventory as fgi