|
|
@@ -149,9 +149,8 @@ public class PurchaseManage { |
|
|
|
query.orderByAsc(Project::getApprovalDate); |
|
|
|
if (req.getBidStatus() != null) { |
|
|
|
query.exists("select 1 from nd_purchase np where np.project_id = nd_project.id " + |
|
|
|
"where np.status = {0} or np.adapt_status = {0} or np.self_test_status = {0} " + |
|
|
|
"or np.test_valid_status = {0} or np.xcfhx_apply_status = {0}" |
|
|
|
.replace("{0}", req.getBidStatus().toString())); |
|
|
|
"and (np.status = {0} or np.adapt_status = {0} or np.self_test_status = {0} " + |
|
|
|
" or np.test_valid_status = {0} or np.xcfhx_apply_status = {0})", req.getBidStatus()); |
|
|
|
} |
|
|
|
Page<Project> page = projectService.page(req.page(), query); |
|
|
|
if (page.getTotal() == 0) { |
|
|
|