|
@@ -233,8 +233,8 @@ public class StockPurchaseReceiptReportServiceImpl extends ServiceImpl<StockPurc
|
|
|
//查现货采购入库报表
|
|
|
List<StockPurchaseReceiptReport> stockPurchaseReceiptReportList = this.selectList(new EntityWrapper<StockPurchaseReceiptReport>()
|
|
|
.eq("comp_id", stockPurchaseReceiptReport.getCompId())
|
|
|
- .gt("create_date",stockPurchaseReceiptReport.getStartDate())
|
|
|
- .lt("create_date",stockPurchaseReceiptReport.getEndDate())
|
|
|
+ .ge("create_date",stockPurchaseReceiptReport.getStartDate())
|
|
|
+ .le("create_date",stockPurchaseReceiptReport.getEndDate())
|
|
|
.groupBy("contract_no")
|
|
|
.eq("delete_flag", "0"));
|
|
|
if (!CollectionUtils.isEmpty(stockPurchaseReceiptReportList)) {
|
|
@@ -250,8 +250,8 @@ public class StockPurchaseReceiptReportServiceImpl extends ServiceImpl<StockPurc
|
|
|
List<StockPurchaseReceiptReport> stockPurchaseReceiptReportList1 = this.selectList(new EntityWrapper<StockPurchaseReceiptReport>()
|
|
|
.eq("comp_id", stockPurchaseReceiptReport1.getCompId())
|
|
|
.eq("contract_no",contractManagementInfo.getContractNo())
|
|
|
- .gt("create_date",stockPurchaseReceiptReport.getStartDate())
|
|
|
- .lt("create_date",stockPurchaseReceiptReport.getEndDate())
|
|
|
+ .ge("create_date",stockPurchaseReceiptReport.getStartDate())
|
|
|
+ .le("create_date",stockPurchaseReceiptReport.getEndDate())
|
|
|
.eq("delete_flag", "0"));
|
|
|
if (!CollectionUtils.isEmpty(stockPurchaseReceiptReportList1)){
|
|
|
money = (stockPurchaseReceiptReportList1.stream().mapToDouble(StockPurchaseReceiptReport::getAmountNotPayable).sum()) ;
|