change:整机发运明细表
This commit is contained in:
parent
08a2952879
commit
d98169b17b
@ -117,7 +117,7 @@ public class CompleteShipDetailReportPlugin extends AbstractReportListDataPlugin
|
||||
selectfields.add("yem_bd_products yem_products");//产品分类
|
||||
selectfields.add("yem_priceitem yem_priceitem");//价格条款-交货方式
|
||||
selectfields.add("yem_es_materialinfo.yem_sapricepriceclause yem_price");//销售单价(价格条款)-单价
|
||||
// selectfields.add("yem_es_materialinfo.yem_qty yem_qty");//数量-台数
|
||||
selectfields.add("yem_es_materialinfo.yem_qty yem_qty");//数量-台数
|
||||
selectfields.add("yem_es_materialinfo.yem_resourcenog yem_resourceno");//资源号-订货号
|
||||
selectfields.add("yem_es_materialinfo.yem_sastandardprice yem_fobpriceqd");//销售FOB标配青岛价-标准结算价格
|
||||
selectfields.add("yem_es_materialinfo.yem_singlepartgiftmat yem_singlegiftpartamt");//单台配件赠送金额-折扣、赠配件费用
|
||||
@ -159,7 +159,7 @@ public class CompleteShipDetailReportPlugin extends AbstractReportListDataPlugin
|
||||
selectfields.add("createtime order_createtime");
|
||||
|
||||
DataSet dataSet = ORM.create().queryDataSet(algoKey, "yem_es_salesorder", String.join(",", selectfields), qFilter.copy().and("yem_es_materialinfo.yem_businesssort", "=", "Z").toArray()).orderBy(new String[]{"order_createtime"});
|
||||
dataSet = dataSet.addField("1.0", "yem_qty");
|
||||
|
||||
DataSet aggVehicleNo = aggSalesOrderVehicleNo(qFilter);
|
||||
dataSet = dataSet.leftJoin(aggVehicleNo)
|
||||
.on("main_detail_id", "main_detail_id_vno_fk")
|
||||
|
Loading…
Reference in New Issue
Block a user