fix(超算专区): 修复审核失败的项目聚合无法重新申请的问题

This commit is contained in:
欧涛 2026-04-29 10:07:06 +08:00
parent 820ecc2d61
commit 31ad557697
1 changed files with 16 additions and 1 deletions

View File

@ -132,7 +132,14 @@
<if test="projectTypeId != null ">and zp.project_type_id = #{projectTypeId}</if>
<if test="zoneId != null ">and zp.zone_id = #{zoneId}</if>
<if test="createBy != null and createBy != ''">and zp.create_by = #{createBy}</if>
<if test="auditStatus != null and auditStatus != ''">and zp.audit_status = #{auditStatus}</if>
<choose>
<when test="auditStatus != null and auditStatus !=''">
and zp.audit_status = #{auditStatus}
</when>
<otherwise>
and zp.audit_status = '1'
</otherwise>
</choose>
<if test="isHomepage != null ">and zp.is_homepage = #{isHomepage}</if>
<!-- 数据范围过滤 -->
@ -151,6 +158,14 @@
<if test="name != null and name != ''">and zp.name like concat('%', #{name}, '%')</if>
<if test="projectTypeId != null ">and zp.project_type_id = #{projectTypeId}</if>
<if test="zoneId != null ">and zp.zone_id = #{zoneId}</if>
<choose>
<when test="auditStatus != null and auditStatus !=''">
and zp.audit_status = #{auditStatus}
</when>
<otherwise>
and zp.audit_status = '1'
</otherwise>
</choose>
<!-- 数据范围过滤 -->
${params.dataScope}
</where>