|
@@ -208,7 +208,8 @@ public class QxProjectManage { |
|
|
.exists(StrUtil.isNotBlank(req.getReplaceType()), |
|
|
.exists(StrUtil.isNotBlank(req.getReplaceType()), |
|
|
"select 1 from qx_project_system_replace_infos " + |
|
|
"select 1 from qx_project_system_replace_infos " + |
|
|
"where qx_project_system_replace_infos.project_id = qx_project.id " + |
|
|
"where qx_project_system_replace_infos.project_id = qx_project.id " + |
|
|
"and replace_type = {0}", req.getReplaceType()); |
|
|
|
|
|
|
|
|
"and replace_type = {0}", req.getReplaceType()) |
|
|
|
|
|
.orderByDesc(QxProject::getUpdateOn); |
|
|
UnitQueryState unitQuery = unitQueryHelper.listCanViewUnitIds(req.getBuildOrgCode()); |
|
|
UnitQueryState unitQuery = unitQueryHelper.listCanViewUnitIds(req.getBuildOrgCode()); |
|
|
if (!unitQuery.isState()) { |
|
|
if (!unitQuery.isState()) { |
|
|
return PageVo.empty(); |
|
|
return PageVo.empty(); |
|
|