|
@@ -48,9 +48,8 @@
|
|
spur_or_sub_order,
|
|
spur_or_sub_order,
|
|
factory_unit_price,
|
|
factory_unit_price,
|
|
master_Metering,
|
|
master_Metering,
|
|
- group_id,
|
|
|
|
|
|
+ group_id
|
|
/*SUM(total_quantity) total_quantity,合计数量/件数*/
|
|
/*SUM(total_quantity) total_quantity,合计数量/件数*/
|
|
- customer_abbreviation
|
|
|
|
FROM sy_pre_assembled_packing_list_item
|
|
FROM sy_pre_assembled_packing_list_item
|
|
WHERE sy_pre_assembled_packing_list_id = #{value} AND del_flag = 0
|
|
WHERE sy_pre_assembled_packing_list_id = #{value} AND del_flag = 0
|
|
GROUP BY group_id/*原本按照颜色进行分组 现改为按照分组id*/
|
|
GROUP BY group_id/*原本按照颜色进行分组 现改为按照分组id*/
|
|
@@ -72,7 +71,6 @@
|
|
sy_order_data_item.colour,/*颜色 s*/
|
|
sy_order_data_item.colour,/*颜色 s*/
|
|
sy_order_data_item.master_Metering,/*主计量*/
|
|
sy_order_data_item.master_Metering,/*主计量*/
|
|
sy_shipping_details_item.item_Number styleNo, /*款号 s*/
|
|
sy_shipping_details_item.item_Number styleNo, /*款号 s*/
|
|
- sy_shipping_details_item.customer_Abbreviation customerAbbreviation, /*客户简称 s*/
|
|
|
|
sy_shipping_details_item.distribution_Point distributionPoint, /*分销点 s*/
|
|
sy_shipping_details_item.distribution_Point distributionPoint, /*分销点 s*/
|
|
sy_shipping_details_item.inventory_Name inventoryName, /*存货名称 s*/
|
|
sy_shipping_details_item.inventory_Name inventoryName, /*存货名称 s*/
|
|
sy_shipping_details_item.inventory_code inventoryCode,/*存货code*/
|
|
sy_shipping_details_item.inventory_code inventoryCode,/*存货code*/
|
|
@@ -149,49 +147,20 @@
|
|
|
|
|
|
<select id="pushData" resultType="org.jeecg.modules.spapl.vo.PackingLineVo" parameterType="java.lang.String">
|
|
<select id="pushData" resultType="org.jeecg.modules.spapl.vo.PackingLineVo" parameterType="java.lang.String">
|
|
SELECT
|
|
SELECT
|
|
- '1001' tenantId/*租户ID*/,
|
|
|
|
- sy_pre_assembled_packing_list_id packingHeaderId/*预装箱单主表id*/,
|
|
|
|
sort packingLineNum/*排序*/,
|
|
sort packingLineNum/*排序*/,
|
|
po_No pono/*poNo*/,
|
|
po_No pono/*poNo*/,
|
|
- '' poId/*poId*/,
|
|
|
|
- '' supplierNumber/*供应商编码*/,
|
|
|
|
- '' supplierId/*供应商ID*/,
|
|
|
|
- '' supplierTenantId/*供应商租户ID*/,
|
|
|
|
style_No styleNo/*styleNo*/,
|
|
style_No styleNo/*styleNo*/,
|
|
item_Code featureCode1/*ITEM NO./SKU NO./UPC NO./PACKS CODE*/,
|
|
item_Code featureCode1/*ITEM NO./SKU NO./UPC NO./PACKS CODE*/,
|
|
prepack_Sku prepackSku/*PREPACK_SKU*/,
|
|
prepack_Sku prepackSku/*PREPACK_SKU*/,
|
|
colour color/*颜色*/,
|
|
colour color/*颜色*/,
|
|
- '' itemId/*物料id*/,
|
|
|
|
- '' itemAttrId/*物料特性*/,
|
|
|
|
- inventory_Code itemCode/*物料名称*/,
|
|
|
|
|
|
+ inventory_Code itemCode/*物料code*/,
|
|
hod hod /*预发货日期*/,
|
|
hod hod /*预发货日期*/,
|
|
size size/*尺码*/,
|
|
size size/*尺码*/,
|
|
plan_Quantity planPackingQty/*计划装箱数量*/,
|
|
plan_Quantity planPackingQty/*计划装箱数量*/,
|
|
- actual_Packing_Qty actualPackingQty /*实际装箱数量*/,
|
|
|
|
distribution_Point featureCode2/*分销点/DC/LABEL*/,
|
|
distribution_Point featureCode2/*分销点/DC/LABEL*/,
|
|
with_Code planSizeSpec/*计划配码规格*/,
|
|
with_Code planSizeSpec/*计划配码规格*/,
|
|
- '' actualPackingQty/*实际配码规格*/,
|
|
|
|
- starting_Box_Number startBoxNo/*起始箱号*/,
|
|
|
|
- end_Case_Number endBoxNo/*结束箱号*/,
|
|
|
|
- pieces_Box setQty/*件数/每箱*/,
|
|
|
|
- box_Number cartons/*箱数*/,
|
|
|
|
- total sets/*总件数*/,
|
|
|
|
- outer_Box_Length boxLength/*外箱长度*/,
|
|
|
|
- outer_Box_Width boxWidth/*外箱宽度*/,
|
|
|
|
- outer_Box_Height boxHeight/*外箱高度*/,
|
|
|
|
- total_Volume totalCbm/*总体积*/,
|
|
|
|
- net_Weight boxNetWeight/*净重/箱*/,
|
|
|
|
- total_Net_Weight totalNetWeight/*总净重*/,
|
|
|
|
- gross_Weight boxGrossWeight/*毛重/箱*/,
|
|
|
|
- total_Gross_Weight totalGrossWeight/*总毛重*/,
|
|
|
|
- net_Weight_Too netNetWeight/*NN.W净净重*/,
|
|
|
|
unit_Price unitPrice/*单价*/,
|
|
unit_Price unitPrice/*单价*/,
|
|
- total_Price totalPrice/*总价*/,
|
|
|
|
- '' packsCode/*Packs code*/,
|
|
|
|
- '' dcNo/*DC NO*/,
|
|
|
|
- '' skuNo/*SKU NO*/,
|
|
|
|
- '' label/*标签*/,
|
|
|
|
- '' distribution/*分销点*/
|
|
|
|
|
|
+ total_Price totalPrice/*总价*/
|
|
FROM sy_pre_assembled_packing_list_item
|
|
FROM sy_pre_assembled_packing_list_item
|
|
where sy_Pre_Assembled_Packing_List_Id=#{value}
|
|
where sy_Pre_Assembled_Packing_List_Id=#{value}
|
|
</select>
|
|
</select>
|