@@ -305,7 +305,10 @@
r.depositor,
r.work_shifts,
r.production_date,
- r.remark
+ r.remark,
+ r.box_num,
+ r.gross_weight,
+ r.suttle
FROM
{DBNAME}.product_outbound_record r
LEFT JOIN {DBNAME}.production p ON r.product_id = p.id
@@ -372,7 +372,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND sp.sale_order_no = #{saleOrderNo}
) AS a
LEFT JOIN {DBNAME}.product_inventory pi ON a.productId = pi.product_id and a.productColor = pi.product_colour
- where pi.del_flag = '0' and pi.total_suttle > 0
+ where pi.del_flag = '0'
group by a.productId,a.lotNum,a.productColor,pi.levels
</select>