yudao-module-erp/src/main/java/cn/iocoder/yudao/module/erp/service/purchase/ErpPurchaseOrderServiceImpl.java
@@ -46,7 +46,7 @@ /** * ERP 采购订单 Service 实现类 * * @author 芋道源码 * @author 超级管理员 */ @Service @Validated @@ -451,6 +451,14 @@ } @Override public List<ErpPurchaseOrderDO> getPurchaseOrderListBySource(Integer sourceType, Long sourceId) { if (sourceType == null || sourceId == null) { return Collections.emptyList(); } return purchaseOrderMapper.selectListBySource(sourceType, sourceId); } @Override public void updatePurchaseOrderInStatus(Long orderId) { // 1. 获取采购订单 ErpPurchaseOrderDO order = validatePurchaseOrderExists(orderId);