先跑项目评估流程,假如归档A标准,再跑标准评估流程,假如归档B标准,查看项目清单,对应项目下的A标准被替换了

This commit is contained in:
zhangjun
2022-09-08 18:49:10 +08:00
parent d63ec599cc
commit afdc003aa2
4 changed files with 20 additions and 5 deletions
@@ -32,6 +32,12 @@
project_id= #{projectId}
</delete>
<delete id="deleteByProjectIdAndStandId">
delete from sar_stand_project_relation where
project_id= #{projectId}
and stand_id = #{standId}
</delete>
<update id="updateByProjectId">
update sar_stand_project_library
<if test="id != null">
@@ -420,8 +426,8 @@
</select>
<select id="queryProjectGroup"
resultType="com.adc.da.slrs.sarStandProjectLibrary.entity.SarStandProjectLibrary">
select distinct sar_stand_project_library.project_group,ANY_VALUE(sar_stand_project_library.management_host_name),
ANY_VALUE(sar_stand_project_library.category_name),ANY_VALUE(sar_stand_project_library.development_host_name)
select distinct sar_stand_project_library.project_group,ANY_VALUE(sar_stand_project_library.management_host_name) as management_host_name,
ANY_VALUE(sar_stand_project_library.category_name) as category_name,ANY_VALUE(sar_stand_project_library.development_host_name) as development_host_name
from sar_stand_project_library
where 1=1
<if test="sarStandProjectLibrary.managementHostName != null and sarStandProjectLibrary.managementHostName != ''">