diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/service/impl/PurchaseServiceImpl.java b/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/service/impl/PurchaseServiceImpl.java index e63c083..d7932a9 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/service/impl/PurchaseServiceImpl.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/service/impl/PurchaseServiceImpl.java @@ -66,7 +66,7 @@ public class PurchaseServiceImpl extends ServiceImpl .eq(req.getStatus() != null, Purchase::getXcfhxApplyStatus, req.getStatus()) .eq(req.getSourceType() != null, Purchase::getSourceType, req.getSourceType()) .notExists(ExistsSqlConst.PURCHASE_EXISTS_PROJECT - + " np.stage = {0}", ProjectStatus.STOPPED.getCode()) + + " and np.stage = {0}", ProjectStatus.STOPPED.getCode()) .orderByDesc(Purchase::getCreateOn); if (Boolean.TRUE.equals(req.getFinished())) {