feat:报表,国贸订单明细生产线有效数量取值错误问题

This commit is contained in:
zzs 2025-02-15 16:57:42 +08:00
parent 106270e8de
commit f76ffc41a1

View File

@ -108,11 +108,12 @@ public class ITCOrderDetailsReportPlugin extends AbstractReportListDataPlugin {
resDataSet = resDataSet.addField("0.0", "yem_inventoryqty");
DataSet where = resDataSet.where(sb.toString());
DataSet select = where.select(String.join(",", RptUtil.getDataSetFiledAlias(where)) +
", TO_CHAR(forderdate, 'yyyy-MM-dd') yem_orderdate, yem_reqqty - yem_cancel_num yem_effective_num");
resDataSet = fillWithCMMPQty(select);
return resDataSet.distinct();
resDataSet = fillWithCMMPQty(where);
DataSet select = resDataSet.select(String.join(",", RptUtil.getDataSetFiledAlias(where)) +
", TO_CHAR(forderdate, 'yyyy-MM-dd') yem_orderdate, yem_reqqty - yem_cancel_num yem_effective_num");
return select.distinct();
}
/**