|
@@ -2229,9 +2229,9 @@ public class WarehouseInOutInfoServiceImpl extends ServiceImpl<WarehouseInOutInf
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ //生成临时库的合同
|
|
|
ContractManagementInfo contractManagementInfo = contractManagementInfoService.selectOne(new EntityWrapper<ContractManagementInfo>()
|
|
|
.eq("contract_no", warehouseBaseInfo.getWarehouseName())
|
|
|
- .eq("deliver_type", "1")
|
|
|
.eq("delete_flag", "0"));
|
|
|
if (contractManagementInfo != null) {
|
|
|
//现货采购入库报表
|
|
@@ -2448,7 +2448,7 @@ public class WarehouseInOutInfoServiceImpl extends ServiceImpl<WarehouseInOutInf
|
|
|
tranSettlementReportService.insert(tranSettlementReport);
|
|
|
}
|
|
|
//他运的销售合同
|
|
|
- else if ("2".equals(contractManagementInfo1.getDeliverType())){
|
|
|
+ else if ("2".equals(contractManagementInfo1.getDeliverType())||"3".equals(contractManagementInfo1.getDeliverType())){
|
|
|
TranTaskInfo tranTaskInfo = tranTaskInfoService.selectOne(new EntityWrapper<TranTaskInfo>()
|
|
|
.eq("contract_no", contractManagementInfo1.getContractNo())
|
|
|
.eq("comp_id", contractManagementInfo1.getCompId()));
|
|
@@ -5711,10 +5711,9 @@ public class WarehouseInOutInfoServiceImpl extends ServiceImpl<WarehouseInOutInf
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- //自运销售合同
|
|
|
+ //生成临时库的合同
|
|
|
ContractManagementInfo contractManagementInfo = contractManagementInfoService.selectOne(new EntityWrapper<ContractManagementInfo>()
|
|
|
.eq("contract_no", warehouseBaseInfo.getWarehouseName())
|
|
|
- .eq("deliver_type", "1")
|
|
|
.eq("delete_flag", "0"));
|
|
|
if (contractManagementInfo != null) {
|
|
|
//现货采购入库报表
|
|
@@ -5931,7 +5930,7 @@ public class WarehouseInOutInfoServiceImpl extends ServiceImpl<WarehouseInOutInf
|
|
|
tranSettlementReportService.insert(tranSettlementReport);
|
|
|
}
|
|
|
//他运的销售合同
|
|
|
- else if ("2".equals(contractManagementInfoSale.getDeliverType())){
|
|
|
+ else if ("2".equals(contractManagementInfoSale.getDeliverType())||"3".equals(contractManagementInfoSale.getDeliverType())){
|
|
|
TranTaskInfo tranTaskInfo = tranTaskInfoService.selectOne(new EntityWrapper<TranTaskInfo>()
|
|
|
.eq("contract_no", contractManagementInfoSale.getContractNo())
|
|
|
.eq("comp_id", contractManagementInfoSale.getCompId()));
|