先跑项目评估流程,假如归档A标准,再跑标准评估流程,假如归档B标准,查看项目清单,对应项目下的A标准被替换了
This commit is contained in:
+8
-2
@@ -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 != ''">
|
||||
|
||||
Reference in New Issue
Block a user