Browse Source

modify:

1. 适配改造修改;
tags/24080901
WendyYang 5 months ago
parent
commit
c21a63f29f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/service/impl/PurchaseServiceImpl.java

+ 1
- 1
hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/service/impl/PurchaseServiceImpl.java View File

@@ -66,7 +66,7 @@ public class PurchaseServiceImpl extends ServiceImpl<PurchaseMapper, Purchase>
.eq(req.getStatus() != null, Purchase::getXcfhxApplyStatus, req.getStatus()) .eq(req.getStatus() != null, Purchase::getXcfhxApplyStatus, req.getStatus())
.eq(req.getSourceType() != null, Purchase::getSourceType, req.getSourceType()) .eq(req.getSourceType() != null, Purchase::getSourceType, req.getSourceType())
.notExists(ExistsSqlConst.PURCHASE_EXISTS_PROJECT .notExists(ExistsSqlConst.PURCHASE_EXISTS_PROJECT
+ " np.stage = {0}", ProjectStatus.STOPPED.getCode())
+ " and np.stage = {0}", ProjectStatus.STOPPED.getCode())
.orderByDesc(Purchase::getCreateOn); .orderByDesc(Purchase::getCreateOn);


if (Boolean.TRUE.equals(req.getFinished())) { if (Boolean.TRUE.equals(req.getFinished())) {


Loading…
Cancel
Save