项目清单 新增字段符合-未符合-不展示逻辑 以及部分条件下未维护清单不显示问题

This commit is contained in:
yuezhihang
2021-12-07 09:21:14 +08:00
committed by zhaokaiyao@91isoft.com
parent 0e68e431ea
commit 4478fecf73
3 changed files with 15 additions and 4 deletions
@@ -120,10 +120,10 @@
ON team.project_code = library.project_number
WHERE
<if test="flag == 1">
library.id NOT IN ( SELECT project_id FROM sar_stand_project_relation )
library.id NOT IN ( SELECT DISTINCT project_id FROM sar_stand_project_relation WHERE project_id is NOT NULL )
</if>
<if test="flag == 2">
library.id IN ( SELECT project_id FROM sar_stand_project_relation )
library.id IN ( SELECT DISTINCT project_id FROM sar_stand_project_relation WHERE project_id is NOT NULL )
</if>
<if test="flag == 4">
1=1