feat: There is no way the, 56827 标准合规评估流程-项目分发节点,选择项目逻辑 应该是“已维护”+“未维护”,现在查询的挺乱的

This commit is contained in:
396572590@qq.com
2022-08-02 18:01:56 +08:00
parent 9c709c1ffa
commit 69f44f6202
@@ -455,6 +455,9 @@
select sar_stand_project_library.* , ts_user.UNAME as uName from sar_stand_project_library
left join ts_user on ts_user.USID = sar_stand_project_library.project_manager
where 1=1
<if test="sarStandProjectLibrary.flag != null and sarStandProjectLibrary.flag != ''">
and sar_stand_project_library.flag=#{sarStandProjectLibrary.flag}
</if>
<if test="sarStandProjectLibrary.managementHostName != null and sarStandProjectLibrary.managementHostName != ''">
and sar_stand_project_library.management_host_name=#{sarStandProjectLibrary.managementHostName}
</if>
@@ -481,6 +484,9 @@
select count(sar_stand_project_library.id) from sar_stand_project_library
left join ts_user on ts_user.USID = sar_stand_project_library.project_manager
where 1=1
<if test="sarStandProjectLibrary.flag != null and sarStandProjectLibrary.flag != ''">
and sar_stand_project_library.flag=#{sarStandProjectLibrary.flag}
</if>
<if test="sarStandProjectLibrary.managementHostName != null and sarStandProjectLibrary.managementHostName != ''">
and sar_stand_project_library.management_host_name=#{sarStandProjectLibrary.managementHostName}
</if>