|
|
@@ -212,8 +212,8 @@ public class PurchaseManage { |
|
|
|
String inSql = BizUtils.inSqlJoin(CollUtils.convert(PURCHASING_STATUS, String::valueOf)); |
|
|
|
query.exists(ExistsSqlConst.PROJECT_EXISTS_PURCHASE + " and np.status in " + inSql); |
|
|
|
} else if (TenderMainStatus.PURCHASE_FINISHED.eq(req.getTabStatus())) { |
|
|
|
query.exists(ExistsSqlConst.PROJECT_EXISTS_STATUS_CHANGE + |
|
|
|
" and npsc.event = {0} ", ProjectStateChangeEvent.SUBMIT_PURCHASE_CONTRACT_RECORD); |
|
|
|
query.exists(ExistsSqlConst.PROJECT_EXISTS_PURCHASE_STATUS_CHANGE + |
|
|
|
" and npsc.event = {0} ", TenderStateChangeEvent.SUBMIT_PURCHASE_CONSTRUCTION_INFO); |
|
|
|
} else if (ProjectStatus.TO_BE_PURCHASED.eq(req.getTabStatus())) { |
|
|
|
query.eq(Project::getStatus, ProjectStatus.TO_BE_PURCHASED.getCode()); |
|
|
|
} else { |
|
|
|