|
@@ -1934,7 +1934,7 @@ public class WarehouseInOutInfoServiceImpl extends ServiceImpl<WarehouseInOutInf
|
|
|
workflowService.activateInstance(stockSaleReceiptReport.getWorkflowId(), stockSaleReceiptReport.getId());
|
|
|
}
|
|
|
ContractManagementInfo contractManagementInfo1 = contractManagementInfoService.selectOne(new EntityWrapper<ContractManagementInfo>()
|
|
|
- .eq("contract_no", contractManagementInfo.getContractNo()).eq("delete_flag", "0"));
|
|
|
+ .eq("contract_no", warehouseBaseInfo.getWarehouseName()).eq("delete_flag", "0"));
|
|
|
if (contractManagementInfo1 == null) {
|
|
|
throw new YException(YExceptionEnum.CONTRACT_NO_NOT_EXSITS_ERROR);
|
|
|
}
|
|
@@ -2027,7 +2027,7 @@ public class WarehouseInOutInfoServiceImpl extends ServiceImpl<WarehouseInOutInf
|
|
|
}
|
|
|
}
|
|
|
ContractManagementInfo contractManagementInfo1 = contractManagementInfoService.selectOne(new EntityWrapper<ContractManagementInfo>()
|
|
|
- .eq("contract_no", contractManagementInfo.getContractNo()).eq("delete_flag", "0"));
|
|
|
+ .eq("contract_no", warehouseBaseInfo.getWarehouseName()).eq("delete_flag", "0"));
|
|
|
if (contractManagementInfo1 == null) {
|
|
|
throw new YException(YExceptionEnum.CONTRACT_NO_NOT_EXSITS_ERROR);
|
|
|
}
|
|
@@ -4628,7 +4628,7 @@ public class WarehouseInOutInfoServiceImpl extends ServiceImpl<WarehouseInOutInf
|
|
|
workflowService.activateInstance(stockSaleReceiptReport.getWorkflowId(), stockSaleReceiptReport.getId());
|
|
|
}
|
|
|
ContractManagementInfo contractManagementInfo1 = contractManagementInfoService.selectOne(new EntityWrapper<ContractManagementInfo>()
|
|
|
- .eq("contract_no", contractManagementInfo.getContractNo()).eq("delete_flag", "0"));
|
|
|
+ .eq("contract_no", warehouseBaseInfo.getWarehouseName()).eq("delete_flag", "0"));
|
|
|
if (contractManagementInfo1 == null) {
|
|
|
throw new YException(YExceptionEnum.CONTRACT_NO_NOT_EXSITS_ERROR);
|
|
|
}
|
|
@@ -4721,7 +4721,7 @@ public class WarehouseInOutInfoServiceImpl extends ServiceImpl<WarehouseInOutInf
|
|
|
}
|
|
|
}
|
|
|
ContractManagementInfo contractManagementInfo1 = contractManagementInfoService.selectOne(new EntityWrapper<ContractManagementInfo>()
|
|
|
- .eq("contract_no", contractManagementInfo.getContractNo()).eq("delete_flag", "0"));
|
|
|
+ .eq("contract_no", warehouseBaseInfo.getWarehouseName()).eq("delete_flag", "0"));
|
|
|
if (contractManagementInfo1 == null) {
|
|
|
throw new YException(YExceptionEnum.CONTRACT_NO_NOT_EXSITS_ERROR);
|
|
|
}
|