|
|
@@ -66,7 +66,7 @@ public class PurchaseServiceImpl extends ServiceImpl<PurchaseMapper, Purchase> |
|
|
|
.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())) { |
|
|
|