出库拣货单打印
This commit is contained in:
+3
@@ -125,6 +125,9 @@ public class PickingOrderPO extends StockOutOrderBasePO {
|
||||
@ApiModelProperty("出库单号")
|
||||
@Excel(name = "出库单号")
|
||||
private String outOrderNumber;
|
||||
@ApiModelProperty("出库单id")
|
||||
@Excel(name = "出库单id")
|
||||
private String outOrderId;
|
||||
|
||||
@ApiModelProperty("业务单号")
|
||||
@Excel(name = "业务单号")
|
||||
|
||||
@@ -38,6 +38,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="pushBy" column="push_by" />
|
||||
<result property="pushByName" column="push_by_name" />
|
||||
<result property="goodsType" column="goods_type" />
|
||||
<result property="outOrderId" column="out_order_id" />
|
||||
</resultMap>
|
||||
|
||||
|
||||
@@ -45,7 +46,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
a.picking_order_id, a.organization_id, a.organization_name, a.top_organization_id, a.order_number, a.picking_order_number,
|
||||
a.status, a.type, a.warehouse_id, a.warehouse_code, a.warehouse_name, a.shipper_id, a.shipper_name, a.quantity, a.weight_limit, a.volume_limit, a.material_quantity,
|
||||
IFNULL((SELECT SUM(b.picking_quantity) FROM picking_material_detail b WHERE b.picking_order_number = a.picking_order_number AND b.del_flag = 1), 0) AS picking_quantity,
|
||||
a.picking_material_quantity, a.abnormal, a.task_distribution, a.remark, a.create_time, a.create_by, a.create_by_name, a.update_time,
|
||||
a.picking_material_quantity, a.abnormal, a.task_distribution, a.remark, a.create_time, a.create_by, a.create_by_name, a.update_time,b.out_order_id,
|
||||
a.update_by, a.update_by_name, a.del_flag,a.out_order_number, a.business_order_no, a.order_type_code, a.order_type_name, a.priority_level_code, a.priority_level_name
|
||||
,a.push_status,a.push_time,a.push_by,a.push_by_name,
|
||||
(SELECT m.goods_type FROM PICKING_MATERIAL_DETAIL d
|
||||
@@ -144,7 +145,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<include refid="selectPickingOrderPo"/>
|
||||
,b.need_Declare_Flag
|
||||
from picking_order a
|
||||
left join STOCK_OUT_ORDER b ON a.order_number = b.out_Order_number
|
||||
left join STOCK_OUT_ORDER b ON a.order_number = b.out_order_number
|
||||
<where>
|
||||
<include refid="selectPickingOrderPo1"/>
|
||||
</where>
|
||||
|
||||
Reference in New Issue
Block a user